Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-56385: Authorization Bypass Through User-Controlled Key in craftcms cms

0
Medium
VulnerabilityCVE-2026-56385cvecve-2026-56385
Published: 06/21/2026 (06/21/2026, 13:27:01 UTC)
Source: CVE Database V5
Vendor/Project: craftcms
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
craftcms/cms
pkg:github/craftcms/cms
Affected versions
=5.0.0-RC1<=5.9.13=4.0.0-RC1<=4.17.7

Run 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

AILast updated: 06/21/2026, 14:09:59 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses