Craft CMS <=5.9.13 Auth Bypass via assets/preview-file (fixed 5.9.14)
CVE-2026-56385 Published on June 21, 2026
Craft CMS - Authorization Bypass in assets/preview-file Endpoint
Craft CMS versions >= 5.0.0-RC1, <= 5.9.13 and >= 4.0.0-RC1, <= 4.17.7 contain an authorization bypass in the assets/preview-file endpoint. The action does not enforce per-asset view authorization before returning preview content, allowing an authenticated low-privileged user to supply a controlled assetId for an asset they are not permitted to view and still receive preview response data (previewHtml), including a private preview image route containing the target private assetId. Fixed in 5.9.14 and 4.17.8.
Vulnerability Analysis
CVE-2026-56385 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity and availability.
Weakness Type
What is an Insecure Direct Object Reference / IDOR Vulnerability?
The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
CVE-2026-56385 has been classified to as an Insecure Direct Object Reference / IDOR vulnerability or weakness.
Products Associated with CVE-2026-56385
Want to know whenever a new CVE is published for Juzaweb Cms? stack.watch will email you.
Affected Versions
craftcms cms:- Version 5.0.0-RC1 and below 5.9.14 is affected.
- Version 5.9.14 is unaffected.
- Version 4.0.0-RC1 and below 4.17.8 is affected.
- Version 4.17.8 is unaffected.