{"id":"CVE-2026-56385","state":"PUBLISHED","title":"Craft CMS - Authorization Bypass in assets/preview-file Endpoint","description":"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.","publishedAt":"2026-06-21T13:27:01.066Z","updatedAt":"2026-06-22T12:18:10.953Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["craftcms cms"],"affected":[{"vendor":"craftcms","product":"cms","packageURL":"pkg:composer/craftcms/cms","defaultStatus":"unaffected","versions":[{"version":"5.0.0-RC1","status":"affected","lessThan":"5.9.14","versionType":"semver"},{"version":"5.9.14","status":"unaffected","versionType":"semver"},{"version":"4.0.0-RC1","status":"affected","lessThan":"4.17.8","versionType":"semver"},{"version":"4.17.8","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/craftcms/cms/security/advisories/GHSA-44px-qjjc-xrhq","https://github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27","https://www.vulncheck.com/advisories/craft-cms-authorization-bypass-in-assets-preview-file-endpoint"],"weaknesses":["CWE-639"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/56xxx/CVE-2026-56385.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-56385","state":"PUBLISHED","datePublished":"2026-06-21T13:27:01.066Z","dateUpdated":"2026-06-22T12:18:10.953Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-21T02:05:47.495Z"},"containers":{"cna":{"title":"Craft CMS - Authorization Bypass in assets/preview-file Endpoint","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"craftcms","product":"cms","packageURL":"pkg:composer/craftcms/cms","defaultStatus":"unaffected","versions":[{"version":"5.0.0-RC1","status":"affected","lessThan":"5.9.14","versionType":"semver"},{"version":"5.9.14","status":"unaffected","versionType":"semver"},{"version":"4.0.0-RC1","status":"affected","lessThan":"4.17.8","versionType":"semver"},{"version":"4.17.8","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-44px-qjjc-xrhq","name":"GHSA Advisory GHSA-44px-qjjc-xrhq","tags":["vendor-advisory"]},{"url":"https://github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27","name":"https://github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/craft-cms-authorization-bypass-in-assets-preview-file-endpoint","name":"VulnCheck Advisory: Craft CMS - Authorization Bypass in assets/preview-file Endpoint","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.3,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS"},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","lang":"en","description":"Authorization Bypass Through User-Controlled Key","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-06-21T13:27:01.066Z"},"datePublic":"2026-03-24T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:juzaweb:cms:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0-RC1","versionEndExcluding":"5.9.14"},{"vulnerable":true,"criteria":"cpe:2.3:a:juzaweb:cms:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0.0-RC1","versionEndExcluding":"4.17.8"}]}]}],"credits":[{"lang":"en","value":"GCXWLP","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-22T12:18:03.133816Z","id":"CVE-2026-56385","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-22T12:18:10.953Z"}}]}}}