CVE-2024-52293 json
Craft has a Potential Remote Code Execution via missing path normalization & Twig SSTI
published 2024-11-13 23 mo ago modified 2026-06-17 4 mo ago also EUVD-2024-3241 , GHSA-f3cw-hg6r-chfv
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist craftcms/cms 4.12.2, 5.4.3
- craftcms craft_cms 4.12.2, 5.4.3
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 23 mo ago
Exploit prediction
1.36% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | craftcms/cms | >=4.0.0-RC1, <4.12.2 >=5.0.0-RC1, <5.4.3 |
4.12.2 5.4.3 |
Affected products
- craftcms cms
- craftcms craft_cms
Classification
References
-
github.com
/craftcms/cms/commit/123e48a696de1e2f63ab519d4730eb3b87beaa58
web, patch
-
github.com
/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-52293
advisory
-
github.com
/craftcms/cms
package
Sources
- CVE List CVE-2024-52293
- GitHub Advisory GHSA-f3cw-hg6r-chfv
- NVD CVE-2024-52293
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.