Craft CMS: Incorrect path validation could potentially lead to path traversal (CVE-2026-72783)
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.
AI Analysis
Technical Summary
The vulnerability exists in the ensurePathIsContained function of the Local file system class in Craft CMS. The function constructs file paths by first validating, then normalizing, and finally prefixing the path with the local directory. This sequence can lead to a desanitization-style path traversal vulnerability because normalization may invalidate the earlier validation assumptions. However, no direct exploit has been discovered. The issue affects versions >=5.0.0-RC1 and <5.10.6, and >=4.0.0-RC1 and <4.18.2.
Potential Impact
No direct exploitation has been observed or confirmed. The vulnerability is theoretical and currently not exploitable, but it could potentially allow unauthorized file access if an exploit scenario is found. The impact is therefore low at this time.
Mitigation Recommendations
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.
Craft CMS: Incorrect path validation could potentially lead to path traversal (CVE-2026-72783)
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.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the ensurePathIsContained function of the Local file system class in Craft CMS. The function constructs file paths by first validating, then normalizing, and finally prefixing the path with the local directory. This sequence can lead to a desanitization-style path traversal vulnerability because normalization may invalidate the earlier validation assumptions. However, no direct exploit has been discovered. The issue affects versions >=5.0.0-RC1 and <5.10.6, and >=4.0.0-RC1 and <4.18.2.
Potential Impact
No direct exploitation has been observed or confirmed. The vulnerability is theoretical and currently not exploitable, but it could potentially allow unauthorized file access if an exploit scenario is found. The impact is therefore low at this time.
Mitigation Recommendations
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.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7hxc-f267-h5q7
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- LOW
- Cvss Version
- 4.0
Threat ID: 6a7573bbbf8831d539d94185
Added to database: 08/07/2026, 05:57:15 UTC
Last enriched: 09/13/2026, 15:02:33 UTC
Last updated: 09/21/2026, 23:06:56 UTC
Views: 60
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.