Craft CMS 5.7.0 before 5.11.2 Arbitrary SVG File Read via app/icon-svg

State
Published
Severity
7.1 High
Published
Nov 8, 2026
Updated
Nov 9, 2026
Reserved
Nov 8, 2026

Read the record on cve.org

Description

Craft CMS from 5.7.0 before 5.11.2 contains an arbitrary file read vulnerability that allows authenticated control panel users to read SVG files by posting arbitrary paths to the app/icon-svg endpoint. Attackers can supply aliases or absolute paths, which are resolved without permission checks, to read any SVG-content file readable by the PHP process, including files outside the Craft installation.

ProductVersions
cms craftcms5.7.0 to before 5.11.2 Affected5.11.2 Not Affected

Weaknesses

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

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.