Intel

AIKIDO-2026-726718

craftcms/cms is vulnerable to Path Traversal

CVE-2026-72783Published Jul 31, 2026
July 31, 2026

20

CVE Score

Low

Path Traversal

Are you affected? Scan for Free

TL;DR

The path-containment check in Craft CMS's local file system validates a path before normalizing it and prepending the volume prefix. Because normalization happens after validation, the assumptions made during validation can be invalidated when resolving asset file streams, creating a theoretical path-traversal condition. No exploitable scenario was demonstrated, but the ordering of validation and normalization is unsafe. The fix reorders the steps so the final resolved path is checked for containment.

How do I fix this?

Upgrade the craftcms/cms library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

4.0.0 - 4.18.1

Fixed in 4.18.2

5.0.0 - 5.10.5

Fixed in 5.10.6

Background info

craftcms/cms is vulnerable to Path Traversal in versions 4.0.0 - 4.18.1 and 5.0.0 - 5.10.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea