{"id":"CVE-2026-33158","summary":"Craft CMS: Low-privilege users could read private asset contents when editing an asset (IDOR)","details":"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.","aliases":["GHSA-3pvf-vxrv-hh9c"],"modified":"2026-04-10T05:42:37.964644Z","published":"2026-03-24T17:26:03.688Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33158.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-639"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33158.json"},{"type":"FIX","url":"https://github.com/craftcms/cms/commit/7290d91639e5e3a4f7e221dfbef95c9b77331860"},{"type":"WEB","url":"https://github.com/craftcms/cms/releases/tag/4.17.8"},{"type":"WEB","url":"https://github.com/craftcms/cms/releases/tag/5.9.14"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-3pvf-vxrv-hh9c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33158"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"daac7c1da2f701f2e9ddee1da1457ce61660b581"},{"fixed":"3262cfa628ade304f0e565f9e45b52fab0f32df3"}],"database_specific":{"versions":[{"introduced":"4.0.0-RC1"},{"fixed":"4.17.8"}]}},{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"04755d93f86d07cc183db47db8a0eee106892e30"},{"fixed":"13c50dd550fabe74fe5317aeca090d286f1c7556"}],"database_specific":{"versions":[{"introduced":"5.0.0-RC1"},{"fixed":"5.9.14"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33158.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}