#VU126473 Input validation error in Craft CMS - CVE-2024-52291
Published: November 13, 2024 / Updated: April 17, 2026
Craft CMS
Pixel & Tonic, Inc.
Description
The vulnerability allows a remote user to overwrite files, access sensitive files, and potentially execute arbitrary code.
The vulnerability exists due to improper input validation in FileHelper::normalizePath() when processing file system base path values containing a double file:// scheme. A remote privileged user can configure a crafted file system path and upload files to overwrite files, access sensitive files, and potentially execute arbitrary code.
User interaction is required, and exploitation requires an authenticated administrator account with allowAdminChanges enabled.