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

- Severity: Medium 4.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 35% of CVEs (2026-11-29)
- Published: 2026-03-24T16:53:24.000Z
- Modified: 2026-06-17T10:37:02.893Z
- Also known as: GHSA-3pvf-vxrv-hh9c
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- craftcms cms: >= 4.0.0-RC1, < 4.17.8; >= 5.0.0-RC1, < 5.9.14
- craftcms/cms (Packagist): from 4.0.0-RC1 before 4.17.8; from 5.0.0-RC1 before 5.9.14
- craftcms craft_cms: from >4.0.0 before 4.17.8; from >5.0.0 before 5.9.14; 4.0.0; 5.0.0

## Every score

- GitHub_M: CVSS:4.0 4.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-3pvf-vxrv-hh9c> (vendor-advisory, web)
- <https://github.com/craftcms/cms/commit/7290d91639e5e3a4f7e221dfbef95c9b77331860> (patch, web)
- <https://github.com/craftcms/cms/releases/tag/4.17.8> (release-notes, web)
- <https://github.com/craftcms/cms/releases/tag/5.9.14> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33158> (advisory)
- <https://github.com/craftcms/cms> (package)

## Sources

- CVE List: [CVE-2026-33158](https://www.cve.org/CVERecord?id=CVE-2026-33158), CVE Terms of Use, modified 2026-03-24
- GitHub Advisory Database: [GHSA-3pvf-vxrv-hh9c](https://github.com/advisories/GHSA-3pvf-vxrv-hh9c), CC-BY-4.0, modified 2026-03-25
- NVD: [CVE-2026-33158](https://nvd.nist.gov/vuln/detail/CVE-2026-33158), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33158 · Whole record: https://cve.day/CVE-2026-33158.json · Rebuilt by cve.day 2026-11-25T22:59:16.586Z
