CVE-2026-56394

Craft CMS - Authenticated Path Traversal in assets/icon Extension Parameter

State
Published
Severity
7.1 High
Published
Jun 21, 2026
Updated
Jun 23, 2026
Reserved
Jun 21, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NVulnCheck

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
cmscraftcms
  • 4.0.0-RC1 to before 4.17.7Affected
  • 4.17.7Not affected
  • 5.0.0-RC1 to before 5.9.13Affected
  • 5.9.13Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.