CVE-2026-56394
Medium
Description
Craft CMS from 4.0.0-RC1 contains an authenticated path traversal vulnerability in the assets/icon endpoint where the extension parameter is not validated before file existence checks. Attackers can bypass extension validation by passing traversal sequences that resolve to existing SVG files, allowing local file read access.
SeverityMedium
CVSS6.5
Exploit probability—
ProductCraftcms/cms
PublishedJun 21, 2026
First seenJun 21, 2026
Weakness typeCWE-22Path traversal
How to fix
Update
- craftcms/cms4.17.7, 5.9.13 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| craftcms/cmsPackagist | 4.0.0-RC1 ≤ v < 4.17.7, 5.0.0-RC1 ≤ v < 5.9.13 | 4.17.7, 5.9.13 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.