CVE-2026-56385: Authorization Bypass Through User-Controlled Key in craftcms cms
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.
AI Analysis
Technical Summary
CVE-2026-56385 is an authorization bypass vulnerability in Craft CMS affecting versions >=4.0.0-RC1 and <=4.17.7, and >=5.0.0-RC1 and <=5.9.13. The issue exists in the assets/preview-file endpoint, where the system fails to enforce per-asset view authorization before returning preview content. As a result, an authenticated user with low privileges can specify an arbitrary assetId and obtain previewHtml data, including private preview image routes for assets they should not access. This could lead to unauthorized disclosure of private asset previews. The vulnerability is fixed in versions 4.17.8 and 5.9.14.
Potential Impact
An authenticated low-privileged user can bypass authorization controls to access preview content of private assets they are not permitted to view. This unauthorized access could lead to information disclosure of private asset previews, potentially exposing sensitive data contained in those assets.
Mitigation Recommendations
Upgrade Craft CMS to version 4.17.8 or later, or 5.9.14 or later, where this authorization bypass vulnerability has been fixed. No other mitigation or temporary workaround is indicated in the available data.
CVE-2026-56385: Authorization Bypass Through User-Controlled Key in craftcms cms
Description
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.
CVSS v4.0
Score 5.3medium
Affected software
pkg:github/craftcms/cmsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-56385 is an authorization bypass vulnerability in Craft CMS affecting versions >=4.0.0-RC1 and <=4.17.7, and >=5.0.0-RC1 and <=5.9.13. The issue exists in the assets/preview-file endpoint, where the system fails to enforce per-asset view authorization before returning preview content. As a result, an authenticated user with low privileges can specify an arbitrary assetId and obtain previewHtml data, including private preview image routes for assets they should not access. This could lead to unauthorized disclosure of private asset previews. The vulnerability is fixed in versions 4.17.8 and 5.9.14.
Potential Impact
An authenticated low-privileged user can bypass authorization controls to access preview content of private assets they are not permitted to view. This unauthorized access could lead to information disclosure of private asset previews, potentially exposing sensitive data contained in those assets.
Mitigation Recommendations
Upgrade Craft CMS to version 4.17.8 or later, or 5.9.14 or later, where this authorization bypass vulnerability has been fixed. No other mitigation or temporary workaround is indicated in the available data.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-21T02:05:47.495Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a37ed4baaf2dc2701b22769
Added to database: 06/21/2026, 13:55:23 UTC
Last enriched: 06/21/2026, 14:09:59 UTC
Last updated: 06/21/2026, 14:57:01 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.