Skip to main content
Public proof of conceptFix available

CVE-2024-52293

A public proof of concept exists; no exploitation attested.

  • Published2024-11-13
  • Fixed in5.4.3 · 4.12.2
  • WeaknessCWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Craft is a content management system (CMS). Prior to 4.12.2 and 5.4.3, Craft is missing normalizePath in the function FileHelper::absolutePath could lead to Remote Code Execution on the server via twig SSTI. This is a sequel to CVE-2023-40035. This vulnerability is fixed in 4.12.2 and 5.4.3.

Timeline

dates in UTC
  1. 2024-11-1316:15CVE publishedNVD

Versions per branch

NVD · CISA-ADP · OSV
Craftcms craft cms
BranchAffectedFixed in
5.x> 5.0.0, < 5.4.35.4.3
5.4< 5.4.35.4.3
5.x≥ 5.0.0-RC1, < 5.4.35.4.3
4.x> 4.0.0, < 4.12.24.12.2
4.12< 4.12.24.12.2
4.x≥ 4.0.0-RC1, < 4.12.24.12.2
4.0= 4.0.0no fix published
5.0= 5.0.0no fix published
4.0≤ 4.0.0-RC1no fix published
5.0≤ 5.0.0-RC1no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • craftcms cms
    Affected
    • = >= 4.0.0-RC1, < 4.12.2no fix stated
    • = >= 5.0.0-RC1, < 5.4.3no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-11-13

Fix

  1. Update Craftcms craft cms to 5.4.3 · 4.12.2

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-11-13
  • CNACVSS 3.17.2known since 2026-10-23
  • NVDCVSS 3.17.2read 2026-10-23
  • CNAweakness (CWE)CWE-22known since 2026-10-23
  • FIRST EPSSEPSS score1.8 %2026-11-25
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2024-11-13

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published
2024-11-13
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-f3cw-hg6r-chfv

Frequently asked questions

What is CVE-2024-52293?

Craft is a content management system (CMS). Prior to 4.12.2 and 5.4.3, Craft is missing normalizePath in the function FileHelper::absolutePath could lead to Remote Code Execution on the server via twig SSTI. This is a sequel to CVE-2023-40035. This vulnerability is fixed in 4.12.2 and 5.4.3.

Is CVE-2024-52293 actively exploited?

A proof-of-concept exploit exists for CVE-2024-52293, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-52293?

CVE-2024-52293 has a CVSS v3 base score of 7.2 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Running craftcms/cms? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record