CVE-2022-40635: CrafterCMS OS Command Injection vulnerability

org.craftercms:craftercms Updated 02 Oct 2025

Summary

14/09/2022
Yes i
High
7.2

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback