{"id":"CVE-2026-56385","published":"2026-06-21T13:27:01Z","modified":"2026-11-08T14:06:10Z","title":"Craft CMS - Authorization Bypass in assets/preview-file Endpoint","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"Craft CMS versions >= 5.0.0-RC1, <= 5.9.13 and >= 4.0.0-RC1, <= 4.17.7 contain an authorization bypass in the assets/preview-file endpoint. The action does not enforce per-asset view authorization before returning preview content, allowing an authenticated low-privileged user to supply a controlled assetId for an asset they are not permitted to view and still receive preview response data (previewHtml), including a private preview image route containing the target private assetId. Fixed in 5.9.14 and 4.17.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00359,"percentile":0.30473,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-44px-qjjc-xrhq","tags":["vendor-advisory"]},{"url":"https://github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/craft-cms-authorization-bypass-in-assets-preview-file-endpoint","tags":["third-party-advisory"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":6.09},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 5.0.0-RC1, < 5.9.14",">= 4.0.0-RC1, < 4.17.8"]}],"fixedVersions":[{"vendor":"craftcms","product":"cms","versions":["5.9.14","4.17.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-22T12:18:03.133816Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"craftcms/cms","vulnerableRanges":[">=5.0.0-RC1, <5.9.14",">=4.0.0-RC1, <4.17.8"],"patched":["5.9.14","4.17.8"],"from":["GHSA-44px-qjjc-xrhq"],"provenance":"source"}],"summary":{"text":"Craft CMS versions 4.x (from 4.0.0-RC1 through 4.17.7) and 5.x (from 5.0.0-RC1 through 5.9.13) contain an authorization bypass in the assets/preview-file endpoint, where per-asset view checks are not enforced before preview content is returned. An attacker with a low-privileged authenticated account and network access can supply the assetId of an asset they are not permitted to view and receive its preview data, including a private preview image route containing the target assetId, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:52Z"},"euvd":{"id":"EUVD-2026-38179","exploited":false,"provenance":"source"}}