Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-32262: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in craftcms cms

0
Medium
VulnerabilityCVE-2026-32262cvecve-2026-32262cwe-22
Published: Mon Mar 16 2026 (03/16/2026, 18:57:46 UTC)
Source: CVE Database V5
Vendor/Project: craftcms
Product: cms

Description

CVE-2026-32262 is a path traversal vulnerability in Craft CMS affecting versions 4. 0. 0-RC1 to before 4. 17. 5 and 5. 0. 0-RC1 to before 5. 9. 11. It allows an authenticated user with replaceFiles permission to delete arbitrary files on the same filesystem root by injecting '..

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/24/2026, 01:02:11 UTC

Technical Analysis

CVE-2026-32262 is a path traversal vulnerability classified under CWE-22 found in Craft CMS, a popular content management system. The flaw exists in the AssetsController->replaceFile() method, where the targetFilename parameter is used unsanitized in a deleteFile() operation before the system applies filename sanitization during the save process. This improper handling allows an authenticated user with the replaceFiles permission to inject '../' sequences into the filename, enabling deletion of arbitrary files within the same filesystem root. The vulnerability affects Craft CMS versions from 4.0.0-RC1 up to but not including 4.17.5, and from 5.0.0-RC1 up to but not including 5.9.11. Since the vulnerability only impacts local filesystems, remote or cloud storage configurations are not affected. Exploitation does not require additional user interaction beyond authentication and appropriate permissions, making it a significant risk for insiders or compromised accounts. The vulnerability could lead to deletion of critical files outside the intended asset directories, potentially causing data loss, service disruption, or further exploitation opportunities. The issue has been addressed in Craft CMS versions 4.17.5 and 5.9.11 by properly sanitizing the filename before deletion operations.

Potential Impact

The primary impact of CVE-2026-32262 is unauthorized deletion of arbitrary files within the same filesystem root by an authenticated user with replaceFiles permission. This can lead to partial or complete loss of critical data, disruption of website or CMS functionality, and potential downtime. Since the vulnerability allows deletion beyond the intended asset directories, attackers could remove configuration files, logs, or other sensitive files, which may further compromise system integrity or complicate recovery efforts. Organizations relying on Craft CMS for content management and digital presence could face operational interruptions, reputational damage, and increased recovery costs. The risk is heightened in environments where multiple volumes or directories share the same filesystem root, expanding the scope of potential damage. Although exploitation requires authentication and specific permissions, compromised or malicious insiders could leverage this vulnerability to cause significant harm. No known exploits are currently reported in the wild, but the medium CVSS score indicates a moderate risk that should be addressed promptly.

Mitigation Recommendations

To mitigate CVE-2026-32262, organizations should upgrade Craft CMS installations to versions 4.17.5 or 5.9.11 or later, where the vulnerability is patched. Until upgrades are applied, restrict replaceFiles permissions strictly to trusted users and regularly audit permission assignments to minimize risk. Implement monitoring and alerting on file deletion activities within the CMS filesystem to detect suspicious behavior early. Employ filesystem-level protections such as access control lists (ACLs) to limit the ability of the CMS process to delete files outside designated asset directories. Consider isolating CMS assets on dedicated volumes or partitions to contain potential damage from path traversal exploits. Regularly back up critical files and configurations to enable rapid recovery in case of unauthorized deletions. Additionally, review and harden authentication mechanisms to prevent account compromise, as exploitation requires authenticated access with specific permissions. Finally, conduct security awareness training for CMS administrators and users with elevated permissions to reduce insider threat risks.

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

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-11T15:05:48.397Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69b859da771bdb17492b2da3

Added to database: 3/16/2026, 7:28:26 PM

Last enriched: 3/24/2026, 1:02:11 AM

Last updated: 4/30/2026, 12:46:36 AM

Views: 88

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