CVE-2026-32262: Craft CMS has a Path Traversal Vulnerability in AssetsController

Published Mar 16, 2026
·
Updated

Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.5 and from version 5.0.0-RC1 to before version 5.9.11, the AssetsController->replaceFile() method has a targetFilename body parameter that is used unsanitized in a deleteFile() call before Assets::prepareAssetName() is applied on save. This allows an authenticated user with replaceFiles permission to delete arbitrary files within the same filesystem root by injecting ../ path traversal sequences into the filename. This could allow an authenticated user with replaceFiles permission on one volume to delete files in other folders/volumes that share the same filesystem root. This only affects local filesystems. This issue has been patched in versions 4.17.5 and 5.9.11.

Other sources

The AssetsController->replaceFile() method has a targetFilename body parameter that is used unsanitized in a deleteFile() call before Assets::prepareAssetName() is applied on save. This allows an authenticated user with replaceFiles permission to delete arbitrary files within the same filesystem root by injecting ../ path traversal sequences into the filename.

This could allow an authenticated user with replaceFiles permission on one volume to delete files in other folders/volumes that share the same filesystem root.

This only affects local filesystems.

Users should update to Craft 4.17.5 or 5.9.11 to mitigate the issue.

GitHub

Affected Software

10 affected componentsFixes available
composer/craftcms/cms>=5.0.0-RC1<=5.9.10
5.9.11
composer/craftcms/cms>=4.0.0-RC1<=4.17.4
4.17.5
CraftCMS Craft CMS>=4.0.0.1<4.17.5
CraftCMS Craft CMS>=5.0.1<5.9.11
CraftCMS Craft CMS=4.0.0
CraftCMS Craft CMS=4.0.0-rc1
CraftCMS Craft CMS=4.0.0-rc2
CraftCMS Craft CMS=4.0.0-rc3
CraftCMS Craft CMS=5.0.0
CraftCMS Craft CMS=5.0.0-rc1

Event History

Mar 16, 2026
Advisory Published
via GitHub·06:11 PM
Data Sourced
via GitHub·06:11 PM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·06:57 PM
Data Sourced
via MITRE·06:57 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 20, 58180
Event
via FIRST·06:03 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-32262?

CVE-2026-32262 is considered a high severity vulnerability due to its potential for path traversal exploits.

2

How do I fix CVE-2026-32262?

To fix CVE-2026-32262, update Craft CMS to version 4.17.5 or 5.9.11 or later.

3

What versions of Craft CMS are affected by CVE-2026-32262?

Craft CMS versions from 4.0.0-RC1 to before 4.17.5 and from 5.0.0-RC1 to before 5.9.11 are affected by CVE-2026-32262.

4

What component is vulnerable in CVE-2026-32262?

The vulnerable component in CVE-2026-32262 is the AssetsController, specifically the replaceFile() method.

5

Is CVE-2026-32262 a known exploitation risk?

Yes, CVE-2026-32262 poses a risk as attackers can exploit the path traversal vulnerability to access unauthorized files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203