Vulnerability · Published Mar 24, 2026 · Assigned by GitHub_M
CVE-2026-33158Craft CMS: Low-privilege users could read private asset contents when editing an asset (IDOR)
Medium 4.9
In plain English
A medium-severity authorization bypass via user-controlled key in cms from craftcms. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | craftcms/cms | 4.17.8 | GHSA-3pvf-vxrv-hh9c |
| Packagist | craftcms/cms | 5.9.14 | GHSA-3pvf-vxrv-hh9c |
Affected products (as reported)
Weakness: CWE-639 · 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
References
- https://github.com/craftcms/cms/security/advisories/GHSA-3pvf-vxrv-hh9c x_refsource_CONFIRM
- https://github.com/craftcms/cms/commit/7290d91639e5e3a4f7e221dfbef95c9b77331860 x_refsource_MISC
- https://github.com/craftcms/cms/releases/tag/4.17.8 x_refsource_MISC
- https://github.com/craftcms/cms/releases/tag/5.9.14 x_refsource_MISC