CVE-2026-56385
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.
INFO
Published Date :
June 21, 2026, 2:16 p.m.
Last Modified :
Oct. 25, 2026, 11:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 3.1 | MEDIUM | MITRE-CVE | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | MEDIUM | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update Craft CMS to version 5.9.14 or later.
- Update Craft CMS to version 4.17.8 or later.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-56385.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-56385 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-56385
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-56385 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-56385 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 25, 2026
Action Type Old Value New Value Added Translation Title: cms de craftcms, Description: Craft CMS versiones >= 5.0.0-RC1, menor o igual que 5.9.13 y >= 4.0.0-RC1, menor o igual que 4.17.7 contienen un bypass de autorización en el endpoint assets/preview-file. La acción no aplica la autorización de vista por activo antes de devolver el contenido de vista previa, permitiendo que un usuario autenticado con bajos privilegios suministre un assetId controlado para un activo que no tiene permiso para ver y aún así reciba datos de respuesta de vista previa (previewHtml), incluyendo una ruta de imagen de vista previa privada que contiene el assetId privado objetivo. Corregido en 5.9.14 y 4.17.8. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 22, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-56385', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-06-22T12:18:03.133816Z'} -
New CVE Received by [email protected]
Jun. 21, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'craftcms', 'product': 'cms', 'versions': [{'status': 'affected', 'version': '5.0.0-RC1', 'lessThan': '5.9.14', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.9.14', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.0.0-RC1', 'lessThan': '4.17.8', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '4.17.8', 'versionType': 'semver'}], 'packageURL': 'pkg:composer/craftcms/cms', 'defaultStatus': 'unaffected'}] Added 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. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Added CWE CWE-639 Added Reference https://github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27 Added Reference https://github.com/craftcms/cms/security/advisories/GHSA-44px-qjjc-xrhq Added Reference https://www.vulncheck.com/advisories/craft-cms-authorization-bypass-in-assets-preview-file-endpoint