CVE-2026-72783: Craft CMS · Incorrect path validation could potentially lead to path traversal
Affects craftcms/cmsSource GCVE Database
Mentioned vulnerabilities
CVSS 2.1 Low : upgrade to 5.10.6 when convenient.
Data as of 13 Sep 2026, 15:02 UTC
- Patch
- Available – fixed in 5.10.6, 4.18.2
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:NWhat to do
Upgrade craftcms/cms to 5.10.6; craftcms/cms to 4.18.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistcraftcms/cms | Affected
| Fixed in
|
| Packagistcraftcms/cms | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available for affected versions of Craft CMS. Applying the official fix is recommended to harden the system against potential future exploitation. No immediate action is required beyond applying the patch.
Description
Craft CMS contains a theoretical path traversal vulnerability in the Local file system class's ensurePathIsContained function due to the order of path validation and normalization. Although no exploitable scenario has been identified, the issue could allow desanitization of file paths. A fix is available and recommended for hardening purposes.
References
- github.com/craftcms/cms/security/advisories/GHSA-7hxc-f267-h5q7 (opens in a new tab)
- github.com/craftcms/cms/commit/a8425b6c707335e42c35ee2aaf03af50ea4a494d (opens in a new tab)
- github.com/craftcms/cms/commit/bd6b9c175b4892e042e8a03760c39b0e94c4c7d6 (opens in a new tab)
- github.com/craftcms/cms (opens in a new tab)
- github.com/craftcms/cms/releases/tag/4.18.2 (opens in a new tab)
- github.com/craftcms/cms/releases/tag/5.10.6 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-72783 (opens in a new tab)
- vulncheck.com/advisories/craft-cms-rc1-before-path-traversal-via-ensurepathiscontained (opens in a new tab)