Advisory record · GHSA-7hxc-f267-h5q7

Craft CMS: Incorrect path validation could potentially lead to path traversal

CVSS 6.9 MediumEPSS 0.0020 · 9th percentile

Published by the GitHub Advisory Database at 6 Aug 2026, 21:36 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
craftcms/cmsPackagist>=5.0.0-RC1, <5.10.6 || >=4.0.0-RC1, <4.18.25.10.6, 4.18.2
Identifiers
GHSA-7hxc-f267-h5q7 · CVE-2026-72783 · PKSA-82nd-44zr-vpmz
Weakness (CWE)
CWE-22
Published
6 Aug 2026
Updated
1 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-RC1 up to but not including 4.18.2, and 5.0.0-RC1 up to but not including 5.10.6, have an incorrect path validation order in the Local file system's ensurePathIsContained function. The source says this is theoretically exposed to path traversal but that no exploitable scenario has been found, and it describes the issue as a hardening matter. Upgrade to 4.18.2 or 5.10.6, which are the fixed versions listed.

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
6.9 Medium 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0020, the 9th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 25 Jul 2026, 03:53 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:06 UTC First seen by agentprime
  3. 31 Oct 2026, 14:06 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.