CVE-2026-124428: Craft CMS path traversal in app/icon-svg endpoint

CVE-2026-124428 · Severity: medium · CVSS 6.5 · Published 2026-11-08

Craft CMS, a web content management system, allows authenticated control panel users to read arbitrary SVG files from the server by exploiting the app/icon-svg endpoint. An attacker with control panel access can retrieve sensitive SVG files stored anywhere on the filesystem that the web server can access, including files outside the Craft installation directory.

Technologies: Craft CMS. Vendors: Craft.

Quick answers

Is CVE-2026-124428 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-124428 being exploited in the wild.
How severe is CVE-2026-124428?
Medium severity, with a CVSS score of 6.5, published 8 November 2026.
Which products and versions are affected?
Craft CMS 5.7.0 through 5.11.1.
Is there a fix for CVE-2026-124428?
Yes: fixed in 5.11.2. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-124428 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-124428?
Check whether you run Craft CMS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 5.11.2

Technical details

The app/icon-svg endpoint fails to validate and restrict file paths, allowing authenticated users to supply aliases or absolute paths that resolve without permission checks. The vulnerability is constrained by FileHelper::isSvg(), which only permits reading files with genuine SVG content bytes, but this allows disclosure of any SVG file on the filesystem readable by the PHP process. The attack requires authentication to the control panel and network access to the endpoint.

Affected products

  • Craft CMS 5.7.0 through 5.11.1

Timeline

  • 2026-10-23: disclosed
  • 2026-11-08: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.