Advisory record · GHSA-vqxf-r9ph-cc9c

Craft CMS vulnerable to Remote Code Execution via unrestricted file extension

CVSS 7.2 HighEPSS 0.018 · 79th percentile

Published by the GitHub Advisory Database at 22 May 2023, 20:36 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
craftcms/cmsPackagist>=4.0.0, <4.4.64.4.6
Identifiers
GHSA-vqxf-r9ph-cc9c · CVE-2023-32679 · PKSA-trjg-y1pb-yh98
Weakness (CWE)
CWE-74
Published
22 May 2023
Updated
10 Sept 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 up to but not including 4.4.6) can render files with extensions outside the configured template extensions as Twig templates, because a template name check is skipped. An attacker needs an admin account on a system with ALLOW_ADMIN_CHANGES enabled, after which they can upload a file and reference it as a template, potentially leading to remote code execution. Upgrade to craftcms/cms 4.4.6 or later.

Written 31 Oct 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.018, the 79th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:04 UTC First seen by agentprime
  2. 31 Oct 2026, 14:04 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.