Craft CMS: Authenticated "assets/preview-thumb" discloses signed fallback transform preview link to CP users without asset-view permission
Impact
A user with Control Panel access but without permission to view a target private asset can call assets/preview-thumb and receive preview HTML that contains a signed fallback transform link for that private asset.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 4.0.0-RC1 before 4.17.8Ecosystem versions | 4.17.8 |
| From 5.0.0-RC1 before 5.9.14Ecosystem versions | 5.9.14 |
Version evidence: OSV · GHSA-x76w-8c62-48mg
View original version evidence (400 explicit versions)
Original source description
Summary
A user with Control Panel access but without permission to view a target private asset can call assets/preview-thumb and receive preview HTML that contains a signed fallback transform link for that private asset.
Details
Root-cause analysis:
- The endpoint accepts an attacker-controlled
assetId. - Asset is resolved, and thumbnail HTML is returned.
- No explicit asset-view permission check is performed before preview generation.
Impact
Type:
- Missing authorization
- Unauthorized preview-link disclosure
Affected deployments:
- Craft sites with control panel users who have partial permissions and private assets.
Security consequence:
- A control panel user without asset-view permission can still obtain signed preview transform link data for private assets.
- This may increase private asset exposure risk depending on deployment and endpoint chaining.
Resources
https://github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27
References
- Security advisory github.com/craftcms/cms/security/advisories/GHSA-x76w-8c62-48mg
- Security advisory nvd.nist.gov/vuln/detail/CVE-2026-56384
- Patch github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27
- Source reference github.com/craftcms/cms
- Security advisory www.vulncheck.com/advisories/craft-cms-missing-authorization-in-assets-preview-thumb-endpoint