CVE-2026-33158

Source
https://cve.org/CVERecord?id=CVE-2026-33158
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33158.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-33158
Aliases
Downstream
Published
2026-03-24T17:26:03Z
Modified
2026-10-28T02:30:54Z
Severity
  • 4.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U CVSS Calculator
Summary
Craft CMS: Low-privilege users could read private asset contents when editing an asset (IDOR)
Details

Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.8 and from version 5.0.0-RC1 to before version 5.9.14, a low-privileged authenticated user can read private asset content by calling assets/edit-image with an arbitrary assetId that they are not authorized to view. The endpoint returns image bytes (or a preview redirect) without enforcing a per-asset view authorization check, leading to potential unauthorized disclosure of private files. This issue has been patched in versions 4.17.8 and 5.9.14.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33158.json"
}
References

Affected packages

Git / github.com/craftcms/cms

Affected ranges

Type
GIT
Repo
https://github.com/craftcms/cms
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "4.0.0-RC1"
                },
                {
                    "fixed": "4.17.8"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "introduced": "5.0.0-RC1"
                },
                {
                    "fixed": "5.9.14"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "7290d91639e5e3a4f7e221dfbef95c9b77331860"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "4.17.8",
            "range": [
                {
                    "fixed": "3262cfa628ade304f0e565f9e45b52fab0f32df3"
                }
            ],
            "source": "REFERENCES_TAG"
        },
        {
            "original_tag": "5.9.14",
            "range": [
                {
                    "fixed": "13c50dd550fabe74fe5317aeca090d286f1c7556"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}
Type
GIT
Repo
https://github.com/nystudio107/craft-seomatic
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "4.0.0-NA"
                },
                {
                    "last_affected": "4.0.0-NA"
                }
            ],
            "source": "CPE_STRING"
        }
    ]
}

Affected versions

4.*
4.0.0
4.0.0-NA
4.0.0-rc1
4.0.0-rc2
4.0.0-rc3
5.*
5.0.0-NA
5.0.0-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33158.json"