CVE-2022-40635: CrafterCMS OS Command Injection vulnerability
Summary
CVE-2022-40635: CrafterCMS OS Command Injection vulnerability. Affects org.craftercms:craftercms versions >= 3.1.0, < 3.1.23. Fixed in 3.1.23. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Crafter CMS is an open-source content management system that allows developers to create and manage digital experiences. It provides a platform for building websites, mobile applications, and other content-driven applications. The vulnerability in Crafter Studio, a component of Crafter CMS, allows authenticated developers to execute arbitrary operating system commands by bypassing the Groovy Sandbox.
Vulnerability Detail
The vulnerability, identified as CVE-2022-40635, is an OS Command Injection vulnerability in Crafter Studio of Crafter CMS. It occurs due to improper control of dynamically-managed code resources. Authenticated developers can exploit this vulnerability to execute arbitrary OS commands. The vulnerability has a CVSS score of 7.2, indicating a high severity level. If successfully exploited, it can lead to unauthorized access, data leakage, or even complete system compromise.
How To Fix
Latest published version: 4.3.2 as of 22 Oct 2026
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
3.1.23
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to the latest version of Crafter CMS.
Conclusion
The OS Command Injection vulnerability in Crafter Studio of Crafter CMS allows authenticated developers to execute arbitrary OS commands. It is crucial to upgrade to the latest version of Crafter CMS (3.1.23 or later) to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.craftercms:craftercms →
FAQ
The vulnerability allows authenticated developers to execute arbitrary OS commands, potentially leading to unauthorized access, data leakage, or system compromise.
Users of Crafter CMS versions 3.1.0 to 3.1.22 are affected by this vulnerability.
Yes, the vulnerability can only be exploited by authenticated developers.
Yes, the vulnerability has been fixed in Crafter CMS version 3.1.23.
There are no known instances of this vulnerability being exploited in the wild.
Related vulnerabilities
Recent vulnerabilities recorded for org.craftercms:craftercms.