Advisory

GHSA-x76w-8c62-48mg

Also known as: CVE-2026-56384

Summary

Craft CMS: Authenticated "assets/preview-thumb" discloses signed fallback transform preview link to CP users without asset-view permission

Details

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:

  1. The endpoint accepts an attacker-controlled assetId.
  2. Asset is resolved, and thumbnail HTML is returned.
  3. No explicit asset-view permission check is performed before preview generation.

Impact

Type:

  1. Missing authorization
  2. Unauthorized preview-link disclosure

Affected deployments:

  1. Craft sites with control panel users who have partial permissions and private assets.

Security consequence:

  1. A control panel user without asset-view permission can still obtain signed preview transform link data for private assets.
  2. This may increase private asset exposure risk depending on deployment and endpoint chaining.

Resources

https://github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-07-06 20:28 UTC
Modified
2026-08-06 21:15 UTC

Affected packages and fixes

craftcms/cms

Packagist · All systems

Affected

  • introduced 4.0.0-RC1, fixed 4.17.8 (ecosystem)

Fixed versions

4.17.8

Fix

The export has no generic command for this ecosystem.

craftcms/cms

Packagist · All systems

Affected

  • introduced 5.0.0-RC1, fixed 5.9.14 (ecosystem)

Fixed versions

5.9.14

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences