Read the docs
TI-2024-34967 Aliases CVE-2024-52292GHSA-cw6g-qmjq-6w2w

Craft Allows Attackers to Read Arbitrary System Files

Priority HIGH 67CWE-22Published · Updated

Key facts

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

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

Summary

Craft is a content management system (CMS). The dataUrl function can be exploited if an attacker has write permissions on system notification templates. This function accepts an absolute file path, reads the file's content, and converts it into a Base64-encoded string. By embedding this function within a system notification template, the attacker can exfiltrate the Base64-encoded file content through a triggered system email notification. Once the email is received, the Base64 payload can be decoded, allowing the attacker to read arbitrary files on the server. This is fixed in 5.4.9 and 4.12.8.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00746 55th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed cms (craftcms): 5.4.9, 4.12.8craftcms/cms (Packagist): 5.4.9, 4.12.8

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
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.0.0-alpha.1 to before 5.4.9; 3.5.13 to before 4.12.85.4.9, 4.12.8Patch availableCNA
—craftcms/cms (Packagist)5.0.0-alpha.1 to before 5.4.95.4.9Patch availableGHSA-cw6g-qmjq-6w2w
—craftcms/cms (Packagist)3.5.13 to before 4.12.84.12.8Patch availableGHSA-cw6g-qmjq-6w2w
  • cms VendorCraft CMS Affected 5.0.0-alpha.1 to before 5.4.9; 3.5.13 to before 4.12.8 Fixed in 5.4.9, 4.12.8 Patch available CNA
  • craftcms/cms (Packagist) Vendor— Affected 5.0.0-alpha.1 to before 5.4.9 Fixed in 5.4.9 Patch available GHSA-cw6g-qmjq-6w2w
  • craftcms/cms (Packagist) Vendor— Affected 3.5.13 to before 4.12.8 Fixed in 4.12.8 Patch available GHSA-cw6g-qmjq-6w2w

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*3.5.13 to before 4.12.8; 5.0.0 to before 5.4.9VulnerableCraft CMS
  • cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* Versions 3.5.13 to before 4.12.8; 5.0.0 to before 5.4.9 Vulnerable ·Craft CMS

Remediation

  • Fix · CNA cms (craftcms) Fixed in 5.4.9, 4.12.8
  • Fix · GHSA-cw6g-qmjq-6w2w craftcms/cms (Packagist) Fixed in 5.4.9 Advisory →
  • Fix · GHSA-cw6g-qmjq-6w2w craftcms/cms (Packagist) Fixed in 4.12.8 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-52292
  2. 2026-10-03 Alias added: GHSA-cw6g-qmjq-6w2w

References

  • TI-2025-23503 Craft CMS Allows Remote Code Execution KEVCVSS 3.1CRITICAL 10.0
  • TI-2024-37138 RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms KEVCVSS 4.0CRITICAL 9.3
  • TI-2025-16994 Potential RCE with a compromised security key in craft/cms 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 96 →

Sources