Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
5.3

Craft CMS allows unauthorized users to view private asset previews

published 5 months ago
Summary

A security issue in Craft CMS allows low-privileged users to access private asset previews, even if they shouldn't have permission. This can happen when a user with limited access attempts to view a private asset's preview. To fix this, update Craft CMS to the latest version to ensure proper access controls are in place for asset previews.

What to do
  • Update craftcms craftcms/cms to version 5.9.14.
  • Update craftcms craftcms/cms to version 4.17.8.
Affected software
Ecosystem VendorProductAffected versions
Packagist craftcms craftcms/cms >= 5.0.0-RC1, < 5.9.14
>= 4.0.0-RC1, < 4.17.8
Fix: upgrade to 5.9.14
Original advisory text
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 ...
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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
5.3 Medium
Exploitation
<1% chance of attack within 30 days
Type
CWE-200Information Exposure
CWE-639Authorization Bypass Through User-Controlled Key
CWE-862Missing Authorization
Timeline
Published21 Jun 2026
Updated6 Aug 2026
First seen26 Mar 2026
Sources
Track software like this
Free during beta