Craft CMS: Low-privilege users could read private asset contents when editing an asset (IDOR)
Package
Affected versions
>= 4.0.0-RC1, <= 4.17.7
>= 5.0.0-RC1, <= 5.9.13
Patched versions
4.17.8
5.9.14
Description
Published to the GitHub Advisory Database
Mar 24, 2026
Reviewed
Mar 24, 2026
Published by the National Vulnerability Database
Mar 24, 2026
Last updated
Mar 25, 2026
Summary
A low-privileged authenticated user can read private asset content by calling
assets/edit-imagewith an arbitraryassetIdthat 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
craftcms/cms@7290d91639e
References