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 4 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 | Vendor | Product | Affected 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.
References
- https://github.com/craftcms/cms/security/advisories/GHSA-44px-qjjc-xrhq URL
- https://github.com/craftcms/cms/commit/b1cddf72c98a66801beb04ea4b07e72182b7b7db URL
- https://github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27 URL
- https://github.com/craftcms/cms Product
- https://www.vulncheck.com/advisories/craft-cms-authorization-bypass-in-assets-pr...
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
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
GHSA-44px-qjjc-xrhq · OSV
Track software like this
Free during beta