Path traversal in Craft CMS - CVE-2026-32262
Published: June 16, 2026
Craft CMS
Detailed vulnerability description
The vulnerability allows a remote user to delete arbitrary files within the same filesystem root.
The vulnerability exists due to path traversal in AssetsController->replaceFile() when processing the targetFilename body parameter. A remote user can inject ../ sequences into the filename to delete arbitrary files within the same filesystem root.
This only affects local filesystems and can impact other folders or volumes that share the same filesystem root.