Advisory record · GHSA-f3cw-hg6r-chfv

Craft CMS vulnerable to Potential Remote Code Execution via missing path normalization & Twig SSTI

CVSS 7.2 HighEPSS 0.014 · 72nd percentile

Published by the GitHub Advisory Database at 13 Nov 2024, 14:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
craftcms/cmsPackagist>=4.0.0-RC1, <4.12.2 || >=5.0.0-RC1, <5.4.34.12.2, 5.4.3
Identifiers
GHSA-f3cw-hg6r-chfv · CVE-2024-52293 · PKSA-4wwj-2m42-9pp5
Weakness (CWE)
CWE-22 · CWE-94
Published
13 Nov 2024
Updated
4 Feb 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Craft CMS (craftcms/cms) versions 4.0.0-RC1 to before 4.12.2 and 5.0.0-RC1 to before 5.4.3 are affected. A missing path normalization flaw combined with Twig template injection lets an authenticated user with admin changes allowed (ALLOW_ADMIN_CHANGES=true) potentially achieve remote code execution on the server. Upgrade to 4.12.2 or 5.4.3. The source does not list a workaround.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.2 High 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.014, the 72nd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:26 UTC First seen by agentprime
  2. 31 Oct 2026, 14:26 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.