CVE-2026-124428

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

Published Nov 8, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Craft CMS versions 5.7.0 through 5.11.1 allow an authenticated control panel user to read arbitrary SVG files by submitting any path to the /app/icon-svg endpoint. The application resolves the supplied path without performing permission checks, enabling the reading of any SVG file that the PHP process can access, including files outside the Craft installation. This flaw allows attackers to exfiltrate sensitive configuration data, credentials, or other confidential files, potentially compromising the confidentiality of the entire system.

Affected Systems

The vendor Craft CMS is affected. The vulnerability applies to Craft CMS releases from 5.7.0 up to, but not including, 5.11.2. Users of any of these versions running on any PHP environment are at risk.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity flaw. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no widespread public exploitation yet. Attackers must authenticate to the control panel and then send a crafted request to the app/icon-svg endpoint. Because the flaw involves reading arbitrary files, the impact is primarily the confidentiality of data accessible by the PHP process. The lack of a KEV listing does not diminish the severity of the potential data disclosure. Users should be vigilant for signs of unauthorized file access and consider monitoring logs for anomalous requests to this endpoint.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Craft CMS to version 5.11.2 or later, which removes the vulnerable endpoint
  • If an upgrade is not immediately possible, restrict access to the /app/icon-svg endpoint to trusted internal IPs via web server configuration or firewall rules
  • Reduce the file system permissions of the SVG directories so that the PHP process can only read required files and cannot access sensitive configuration folders

Generated by OpenCVE AI on November 8, 2026 at 14:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Craft CMS 5.7.0 before 5.11.2 Arbitrary SVG File Read via app/icon-svg
First Time appeared Craftcms
Craftcms craft Cms
Weaknesses CWE-22
CPEs cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
Vendors & Products Craftcms
Craftcms craft Cms
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 9, 2026, 2:27 PM
Reserved
Nov 8, 2026, 2:12 AM
Status
Awaiting Analysis
Published
Nov 8, 2026, 2:18 PM
Modified
Nov 10, 2026, 9:46 PM