Skip to main content
← Vulnerabilities

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

Affects Craft CMS from 5.7.0 before 5.11.2, where any control panel user can read SVG files the PHP process can access. Fixed in 5.11.2.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

7.1HighCNA
Exploited
No known exploitation
Fix
Fixed in 5.11.2
Who is exposed
Specific setups only

Do first: Check whether your setup matches what the bug needs. Craft CMS versions from 5.7.0 up to, but not including, 5.11.2

Published
Last modified
15/100 · provisional
Specific setups only
None on Exploit-DB, Metasploit or GitHub

Summary

Craft CMS, a PHP content management system, has an arbitrary file read flaw in its app/icon-svg endpoint. A remote attacker with low-privilege control panel login can read SVG-format files readable by the PHP process, including files outside the Craft installation.

Read the original 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.

cve.now Index

15Pcve.now Index 15 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure8/25Specific setups only, reachable over the network
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity7.1/10CVSS 7.1
  • No patch0/5No signal

What would change the score

  • Would score about 65 if added to CISA KEV
  • Would score about 60 if CISA's SSVC rates exploitation active
  • Would score about 22 if CISA's SSVC rates it automatable

What to do

  • Check whether your setup matches what the bug needs.

    Craft CMS versions from 5.7.0 up to, but not including, 5.11.2
  • Upgrade to a fixed version: 5.11.2.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • craftcms cms

    From 5.7.0 · fixed in 5.11.2

Evidence 2

  1. Advisory
  2. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-124428

Is CVE-2026-124428 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

What does this mean?

Any Craft control panel user can read SVG content files anywhere on the server that the PHP process can read, including files outside the Craft installation, by supplying aliases or absolute paths.Source: github.com

Which versions are affected by CVE-2026-124428?

cms: from 5.7.0 before 5.11.2.Source: cve.now feed data

Am I affected, and how do I check?

Craft CMS versions from 5.7.0 up to, but not including, 5.11.2 are affected. To check the installed version, look at the craftcms/cms entry in the project's composer.lock file.Source: github.com

How do I fix CVE-2026-124428?

Upgrade Craft CMS to 5.11.2, the patched version.Source: github.com