Skip to main content

Craft CMS: Incorrect path validation could potentially lead to path traversal (CVE-2026-72783)

0
Low
Published: 08/06/2026 (08/06/2026, 21:36:11 UTC)
Source: GCVE Database
Product: craftcms/cms

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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N

Affected software

Packagistghsa
craftcms/cms
Affected versions
>=5.0.0-RC1 <5.10.6
Packagistghsa
craftcms/cms
Affected versions
>=4.0.0-RC1 <4.18.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/13/2026, 15:02:33 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses