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.

Severity (CVSS 4.0)4.9Medium
Exploit odds (30 days)0.4%top 70.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Packagistcraftcms/cms4.17.8GHSA-3pvf-vxrv-hh9c
Packagistcraftcms/cms5.9.14GHSA-3pvf-vxrv-hh9c

Affected products (as reported)

VendorProductVersions
craftcms cms >= 4.0.0-RC1, < 4.17.8>= 5.0.0-RC1, < 5.9.14

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