craftcms/cms
Affected
- introduced
4.0.0-RC1, fixed4.17.8(ecosystem)
Fixed versions
4.17.8
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2026-33158
Craft CMS: Low-privilege users could read private asset contents when editing an asset (IDOR)
Summary
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.
Details
Root cause:
assetId) is used to load and return sensitive content.Impact
Resources
https://github.com/craftcms/cms/commit/7290d91639e
Medium Basis: The source's own band: MODERATE
4.0.0-RC1, fixed 4.17.8 (ecosystem)4.17.8
The export has no generic command for this ecosystem.
5.0.0-RC1, fixed 5.9.14 (ecosystem)5.9.14
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0