CVE-2026-33160
JSON

2.7low

Craft CMS: Anonymous "generate transform" calls for assets can expose private assets via transform URL

Severity
2.7low CVSS:4.0 by GitHub_M
Exploit likelihood
0.39% (higher than 35% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-5pgf-h923-m958

Description

Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.8 and from version 5.0.0-RC1 to before version 5.9.14, 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. This issue has been patched in versions 4.17.8 and 5.9.14.

Affected

Product or packageVersionsReported by
craftcms cms>= 4.0.0-RC1, < 4.17.8, >= 5.0.0-RC1, < 5.9.14CVE List
craftcms/cms (Packagist)from 5.0.0-RC1 before 5.9.14, from 4.0.0-RC1 before 4.17.8GitHub Advisory Database
craftcms craft_cmsfrom >4.0.0 before 4.17.8, from >5.0.0 before 5.9.14, 4.0.0, 5.0.0NVD

All scores

GitHub_M2.7low CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
GitHublow CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-639CWE-862

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.8 and from version 5.0.0-RC1 to before version 5.9.14, 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. This issue has been patched in versions 4.17.8 and 5.9.14.

GitHub Advisory Database
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

NVD (es)

Craft CMS es un sistema de gestión de contenido (CMS). Desde la versión 4.0.0-RC1 hasta antes de la versión 4.17.8 y desde la versión 5.0.0-RC1 hasta antes de la versión 5.9.14, un usuario no autenticado puede llamar a assets/generate-transform con un assetId privado, recibir una URL de transformación válida y obtener bytes de imagen transformada. El endpoint es anónimo y no aplica autorización por activo antes de devolver la URL de transformación. Este problema ha sido parcheado en las versiones 4.17.8 y 5.9.14.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-33160 changed 2026-03-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-5pgf-h923-m958 changed 2026-03-25CC-BY-4.0
NVDCVE-2026-33160 changed 2026-06-17Public domain