CVE-2024-52293Craftcms Craft Cms
High 7.2
Follow: this CVE · Craftcms · Craftcms Craft Cms We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.2
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- Yes
- Published
- Nov 13, 2024
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Craft Cms.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | craftcms/cms |
≥ 4.0.0-RC1 < 4.12.2 |
4.12.2 |
composer require "craftcms/cms:^4.12.2" |
| Packagist | craftcms/cms |
≥ 5.0.0-RC1 < 5.4.3 |
5.4.3 |
composer require "craftcms/cms:^5.4.3" |
Per OSV / GitHub Advisories (GHSA-f3cw-hg6r-chfv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| craftcms | craft_cms | > 4.0.0 < 4.12.2 |
| craftcms | craft_cms | > 5.0.0 < 5.4.3 |
| craftcms | craft_cms | 4.0.0 |
| craftcms | craft_cms | 4.0.0 |
| craftcms | craft_cms | 4.0.0 |
| craftcms | craft_cms | 5.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory