CVE-2026-72783

Medium

Description

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.

SeverityMedium
CVSS6.2
Exploit probability—
ProductCraftcms/cms
PublishedAug 11, 2026
First seenAug 11, 2026

How to fix

Update
  • craftcms/cms5.10.6, 4.18.2 or later

Affected products

ProductAffected versionsFixed in
craftcms/cmsPackagist5.0.0-RC1 ≤ v < 5.10.6, 4.0.0-RC1 ≤ v < 4.18.25.10.6, 4.18.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.