Live threats

All CVEs / Craftcms

CVE-2024-52293Craftcms Craft Cms

High 7.2

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Craft Cms.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
craftcmscraft_cms> 4.0.0 < 4.12.2
craftcmscraft_cms> 5.0.0 < 5.4.3
craftcmscraft_cms4.0.0
craftcmscraft_cms4.0.0
craftcmscraft_cms4.0.0
craftcmscraft_cms5.0.0

Official sources

References

Links published by the sources. Open them with care.