Skip to content

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

Low
angrybrad published GHSA-x76w-8c62-48mg Jun 2, 2026

Package

composer craftcms/cms (Composer)

Affected versions

>= 4.0.0-RC1, <= 4.17.7
>= 5.0.0-RC1, <= 5.9.13

Patched versions

4.17.8
5.9.14

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:

  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.

References

d30df31

Severity

Low

CVE ID

No known CVE

Weaknesses

Exposure of Sensitive Information to an Unauthorized Actor

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. Learn more on MITRE.

Missing Authorization

The product does not perform an authorization check when an actor attempts to access a resource or perform an action. Learn more on MITRE.

Credits