PT-2026-25803 · Craft Cms · Craft Cms

Lowangrybrad

·

Published

2026-03-16

·

Updated

2026-03-17

·

CVE-2026-32262

CVSS v4.0

5.3

Medium

VectorAV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Craft CMS versions 4.0.0-RC1 through 4.17.4 Craft CMS versions 5.0.0-RC1 through 5.9.10
Description Craft CMS is a content management system. The AssetsController->replaceFile() method uses the targetFilename body parameter without proper sanitization in a deleteFile() call before Assets::prepareAssetName() is applied during saving. 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 a user with replaceFiles permission on one volume to delete files in other folders or volumes sharing the same filesystem root. This issue only affects local filesystems. The vulnerable method is AssetsController->replaceFile(), and the vulnerable parameter is targetFilename.
Recommendations Craft CMS versions 4.0.0-RC1 through 4.17.4 should be updated to version 4.17.5 or later. Craft CMS versions 5.0.0-RC1 through 5.9.10 should be updated to version 5.9.11 or later.

Exploit

Fix

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2026-32262
GHSA-472V-J2G4-G9H2

Affected Products

Craft Cms