CVE-2026-1770: Craftercms Remote Code Execution Vulnerability
MODERATECVE-2026-1770 is a MODERATE remote code execution vulnerability (CWE-913: Improper Control of Dynamically-Managed Code Resources) affecting Craftercms libraries in the Maven ecosystem. The issue involves crafter cms has improper control of dynamically-managed code resources. Remediation is available by upgrading affected packages to version 4.5.0.
CVE-2026-1770 at a Glance
How to Fix CVE-2026-1770
To remediate this vulnerability, upgrade all affected Craftercms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.craftercms</groupId>
<artifactId>craftercms</artifactId>
<version>4.5.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.craftercms
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-1770, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.craftercms
Analyze the terminal output to locate any version of Craftercms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.5.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.craftercms command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-913: Improper Control of Dynamically-Managed Code Resources, where the product does not properly restrict reading from or writing to dynamically-managed code resources such as variables, objects, classes, attributes, functions, or executable instructions or statements. In Craftercms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-1770 Affected Craftercms Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.craftercms:craftercms
|
Maven |
≥ 4.0.0
< 4.5.0
|
4.5.0
|
References
Frequently Asked Questions
What is CVE-2026-1770?
Which Craftercms versions are affected?
What version fixes CVE-2026-1770?
Is craftercms affected?
What CWE is associated with CVE-2026-1770?
How can I check Maven dependencies for CVE-2026-1770?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gj28-gw7w-3pxc",
"modified" : "2026-02-02T22:36:58Z",
"published" : "2026-02-02T18:31:33Z",
"aliases" : [ "CVE-2026-1770" ],
"summary" : "Crafter CMS has Improper Control of Dynamically-Managed Code Resources",
"details" : "Improper Control of Dynamically-Managed Code Resources vulnerability in Crafter Studio of Crafter CMS allows authenticated developers to execute OS commands via Groovy Sandbox Bypass. By inserting malicious Groovy elements, an attacker may bypass sandbox restrictions and obtain RCE (Remote Code Execution).",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:H/VA:H/SC:H/SI:H/SA:H/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.craftercms:craftercms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-1770"
}, {
"type" : "WEB",
"url" : "https://docs.craftercms.org/current/security/advisory.html#cv-2026020201"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/craftercms/craftercms"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-913" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-02T22:36:58Z",
"nvd_published_at" : "2026-02-02T17:16:17Z"
}
}