Auth bypass in Craftcms Cms

CVE-2026-33158

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.

Vulnerability class: IDOR (Insecure Direct Object Reference)

EPSS: 0.004 (27.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-33158?
CVE-2026-33158 is a medium-severity vulnerability in Craftcms Cms, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 6.5/10. Published 2026-03-24.
How severe is CVE-2026-33158?
Medium severity. CVSS v3 base score is 6.5 out of 10.