CVE-2026-72783
Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-RC1 …
Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-RC1 before 4.18.2 contain a theoretical path traversal weakness in the ensurePathIsContained function of the Local file system class. The order of operations validates the path before normalization, so normalization could invalidate prior validation assumptions (a desanitization-style issue) and potentially resolve to files outside the intended volume directory. The vendor notes the issue is not directly exploitable and no exploitable scenario has been discovered; the fix is recommended for hardening.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/craftcms/cms/security/advisories/GHSA-7hxc-f267-h5q7
- www.vulncheck.com/advisories/craft-cms-rc1-before-path-traversal-via-ensurepathiscontained
- github.com/craftcms/cms/commit/a8425b6c707335e42c35ee2aaf03af50ea4a494d
- github.com/craftcms/cms/commit/bd6b9c175b4892e042e8a03760c39b0e94c4c7d6
- github.com/craftcms/cms/releases/tag/4.18.2
- github.com/craftcms/cms/releases/tag/5.10.6
- nvd.nist.gov/vuln/detail/CVE-2026-72783
- github.com/advisories/GHSA-7hxc-f267-h5q7
- nvd.nist.gov/vuln/detail/CVE-2026-72783
- cve.org/CVERecord?id=CVE-2026-72783
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.