Skip to content
CVE PROGRAM SOURCE RECORD7.2 High

CVE-2024-52293

Craft has a Potential Remote Code Execution via missing path normalization & Twig SSTI

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

craftcms cms

  • >= 4.0.0-RC1, < 4.12.2affected
  • >= 5.0.0-RC1, < 5.4.3affected

References