CVE-2026-72783 PUBLISHED

Craft CMS 5.0.0-RC1 before 5.10.6 Path Traversal via ensurePathIsContained

Assigner: VulnCheck
Reserved: 10.08.2026 Published: 11.08.2026 Updated: 11.08.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 6.9

Product Status

Vendor craftcms
Product cms
Versions Default: unaffected
  • affected from 5.0.0-RC1 to 5.10.6 (excl.)
  • Version 5.10.6 is unaffected
Vendor craftcms
Product cms
Versions Default: unaffected
  • affected from 4.0.0-RC1 to 4.18.2 (excl.)
  • Version 4.18.2 is unaffected

References

Problem Types

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE