CVE-2026-1770: Craftercms Remote Code Execution Vulnerability

MODERATE
Advisory Identifier: GHSA-gj28-gw7w-3pxc
CWE-913
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-1770
GHSA Identifier GHSA-gj28-gw7w-3pxc
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-913: Improper Control of Dynamically-Managed Code Resources
Affected Product Craftercms
Package Ecosystem Maven
Published Date
Last Updated

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.

org.craftercms:craftercms fixed: 4.5.0
<dependency>
    <groupId>org.craftercms</groupId>
    <artifactId>craftercms</artifactId>
    <version>4.5.0</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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).

CVE-2026-1770 Affected Craftercms Versions

1 component(s)
Fixed Versions:
4.5.0
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?
CVE-2026-1770 is a security vulnerability in Craftercms involving Crafter CMS has Improper Control of Dynamically-Managed Code Resources under CWE-913: Improper Control of Dynamically-Managed Code Resources.
Which Craftercms versions are affected?
Affected versions include releases prior to 4.5.0 across affected packages: org.craftercms:craftercms.
What version fixes CVE-2026-1770?
Upgrading to 4.5.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is craftercms affected?
Yes, org.craftercms:craftercms is affected in releases prior to 4.5.0. Upgrade your dependency to 4.5.0 or later.
What CWE is associated with CVE-2026-1770?
CVE-2026-1770 is classified under CWE-913: Improper Control of Dynamically-Managed Code Resources (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.).
How can I check Maven dependencies for CVE-2026-1770?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.craftercms'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}