What’s Vulnerable › Vulnerabilities

CVE-2023-40035: Craft CMS vulnerable to Remote Code Execution via validatePath bypass

Description

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

How to fix

Upgrade to a fixed version: craftcms cms 3.8.15, 4.4.15. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-40035 or the next vulnerability affects your stack