CVE-2026-33158

Craft CMS: Low-privilege users could read private asset contents when editing an asset (IDOR)

State
Published
Severity
4.9 Medium
Published
Mar 24, 2026
Updated
Mar 24, 2026
Reserved
Mar 17, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.04.9 MediumCVSS: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:UGitHub_M

Weaknesses

  • CWE-639 Authorization Bypass Through User-Controlled Key

Affected Products

ProductVersions
cmscraftcms
  • >= 4.0.0-RC1, < 4.17.8Affected
  • >= 5.0.0-RC1, < 5.9.14Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.