Advisory

GHSA-5pgf-h923-m958

Also known as: CVE-2026-33160

Summary

Craft CMS may expose private assets through anonymous "generate transform" calls via transform URL

Details

Summary

An unauthenticated user can call assets/generate-transform with a private assetId, receive a valid transform URL, and fetch transformed image bytes.

The endpoint is anonymous and does not enforce per-asset authorization before returning the transform URL.

Details

Root cause:

  • Anonymous endpoint accepts user-controlled asset reference.
  • It creates and returns a transform URL for that asset without checking access rights.
  • If the transform output is reachable, guest users can read content derived from private assets.

Who is impacted:

  • Installations where private source assets can be transformed and transform URLs are reachable.

Security consequence:

  • Anonymous users can obtain content derived from private assets without authentication.

Resources

https://github.com/craftcms/cms/commit/7290d91639e

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-03-24 16:59 UTC
Modified
2026-03-25 21:18 UTC

Affected packages and fixes

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.

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.

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