CVE-2023-40035: Craft CMS

High severity, CVSS 7.2. EPSS: 2.3% chance of exploitation in the next 30 days.

Craft is a CMS for creating custom digital experiences on the web and beyond. Bypassing the validatePath function can lead to potential remote code execution. This vulnerability can lead to malicious control of vulnerable systems and data exfiltrations. Although the vulnerability is exploitable only in the authenticated users, configuration with ALLOW_ADMIN_CHANGES=true, there is still a potential security threat (Remote Code Execution). This issue has been patched in version 4.4.15 and version 3.8.15.

Affected products

  • Craft CMS Craft CMS: from 3.0.0, before 3.8.15 (fixed in 3.8.15); from 4.0.0, before 4.4.15 (fixed in 4.4.15); version 4.0.0 only

Published 2023-08-23. Last modified 2026-06-17.