Read the docs

Arbitrary SVG file read in Craft CMS via app/icon-svg

Priority LOW 31CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.

Summary

Craft CMS from 5.7.0 before 5.11.2 contains an arbitrary file read flaw caused by improper limitation of a pathname to a restricted directory (CWE-22). An authenticated control panel user with low privileges can read SVG files over the network by posting arbitrary paths to the app/icon-svg endpoint. Aliases and absolute paths are resolved without permission checks, so files outside the Craft installation that the PHP process can read are exposed.

Written with Claude Haiku 5.5 from the sources below · 2026-11-08

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00341 28th percentileScored 2026-11-16
Fix Fixed cms (craftcms): 5.11.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Craft CMScms5.7.0 to before 5.11.25.11.2Patch availableCNA
  • cms VendorCraft CMS Affected 5.7.0 to before 5.11.2 Fixed in 5.11.2 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*——Craft CMS
  • cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* Versions — — ·Craft CMS

Remediation

Upgrade Craft CMS to version 5.11.2 or later, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-08

  • Fix · CNA cms (craftcms) Fixed in 5.11.2

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    craftcms cms 5.11.2

    6 records Highest priority Priority MEDIUM 3 MEDIUM, 3 LOW

    Other records, highest priority first

    • TI-2026-86790 Authorization bypass in Craft CMS GraphQL prev/next fields exposes entriesPriority MEDIUM 48
    • TI-2026-86792 Privilege escalation in Craft CMS via public registrationPriority MEDIUM 43
    • TI-2026-86793 Remote code execution in Craft CMS via signed Twig templatesPriority MEDIUM 40

Timeline

  1. 2026-11-08 Threatist record created from CVE-2026-124428
  2. 2026-11-08 Alias added: GHSA-cx42-qq9h-8hhg
  3. 2026-11-09 CISA SSVC decision points changed
  4. 2026-11-09 Priority changed: MEDIUM → LOW

References

  • TI-2025-23503 Code injection in Craft CMS allows remote code execution KEVCVSS 3.1CRITICAL 10.0
  • TI-2024-37138 Remote code execution in Craft CMS when register_argc_argv is enabled KEVCVSS 4.0CRITICAL 9.3
  • TI-2025-16994 Remote code execution in Craft CMS via a compromised security key KEVCVSS 3.1HIGH 8.1
  • TI-2025-24595 Craft CMS stores user-provided content in session files KEVCVSS 4.0MEDIUM 6.9
  • TI-2023-22284 Craft CMS Remote Code Execution vulnerability CVSS 3.1CRITICAL 10.0
  • TI-2024-25171 Craft CMS up to v3.7.31 was discovered to contain a SQL injection vulnerability via the GraphQL API endpoint. CVSS 3.1CRITICAL 9.8
See all 210 →

Sources