CVE-2026-44672: Mapfish Print Remote Code Execution Vulnerability

CRITICAL
Advisory Identifier: GHSA-q7m6-wpvf-mvwx
CWE-94
Published
Advisory Summary

CVE-2026-44672 is a CRITICAL remote code execution vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Mapfish Print libraries in the Maven ecosystem. The issue involves remote code injection (rce) in dynamic table. Remediation is available by upgrading affected packages to version 3.28.28, 3.30.30, 3.31.21, 3.33.14, 4.0.3.

CVE-2026-44672 at a Glance

CVE Identifier CVE-2026-44672
GHSA Identifier GHSA-q7m6-wpvf-mvwx
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Mapfish Print
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2026-44672

To remediate this vulnerability, upgrade all affected Mapfish Print 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.mapfish.print:print-lib fixed: 3.28.28
<dependency>
    <groupId>org.mapfish.print</groupId>
    <artifactId>print-lib</artifactId>
    <version>3.28.28</version>
</dependency>
org.mapfish.print:print-lib fixed: 3.30.30
<dependency>
    <groupId>org.mapfish.print</groupId>
    <artifactId>print-lib</artifactId>
    <version>3.30.30</version>
</dependency>
org.mapfish.print:print-lib fixed: 3.31.21
<dependency>
    <groupId>org.mapfish.print</groupId>
    <artifactId>print-lib</artifactId>
    <version>3.31.21</version>
</dependency>
org.mapfish.print:print-lib fixed: 3.33.14
<dependency>
    <groupId>org.mapfish.print</groupId>
    <artifactId>print-lib</artifactId>
    <version>3.33.14</version>
</dependency>
org.mapfish.print:print-lib fixed: 4.0.3
<dependency>
    <groupId>org.mapfish.print</groupId>
    <artifactId>print-lib</artifactId>
    <version>4.0.3</version>
</dependency>
org.mapfish.print:print-servlet fixed: 3.28.28
<dependency>
    <groupId>org.mapfish.print</groupId>
    <artifactId>print-servlet</artifactId>
    <version>3.28.28</version>
</dependency>
org.mapfish.print:print-servlet fixed: 3.30.30
<dependency>
    <groupId>org.mapfish.print</groupId>
    <artifactId>print-servlet</artifactId>
    <version>3.30.30</version>
</dependency>
org.mapfish.print:print-servlet fixed: 3.31.21
<dependency>
    <groupId>org.mapfish.print</groupId>
    <artifactId>print-servlet</artifactId>
    <version>3.31.21</version>
</dependency>
org.mapfish.print:print-servlet fixed: 3.33.14
<dependency>
    <groupId>org.mapfish.print</groupId>
    <artifactId>print-servlet</artifactId>
    <version>3.33.14</version>
</dependency>
org.mapfish.print:print-servlet fixed: 4.0.3
<dependency>
    <groupId>org.mapfish.print</groupId>
    <artifactId>print-servlet</artifactId>
    <version>4.0.3</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.mapfish.print

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-44672, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.mapfish.print

Analyze the terminal output to locate any version of Mapfish Print in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.28.28), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.mapfish.print 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-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Mapfish Print, 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

### Impact The attacker can execute arbitrary code without being authenticated ### Mitigation Upgrade to a patched version (please check affected/patched version matrix) ### Credits Bug Bounty of Canton du Jura

CVE-2026-44672 Affected Mapfish Print Versions

10 component(s)
Fixed Versions:
3.28.283.30.303.31.213.33.144.0.3
Product / Package Ecosystem Affected Versions Fixed Version
org.mapfish.print:print-lib
Maven
≥ 3.23.0
< 3.28.28
3.28.28
org.mapfish.print:print-lib
Maven
≥ 3.29.0
< 3.30.30
3.30.30
org.mapfish.print:print-lib
Maven
≥ 3.31.0
< 3.31.21
3.31.21
org.mapfish.print:print-lib
Maven
≥ 3.32.0
< 3.33.14
3.33.14
org.mapfish.print:print-lib
Maven
≥ 3.34.0
< 4.0.3
4.0.3
org.mapfish.print:print-servlet
Maven
≥ 3.23.0
< 3.28.28
3.28.28
org.mapfish.print:print-servlet
Maven
≥ 3.29.0
< 3.30.30
3.30.30
org.mapfish.print:print-servlet
Maven
≥ 3.31.0
< 3.31.21
3.31.21
org.mapfish.print:print-servlet
Maven
≥ 3.32.0
< 3.33.14
3.33.14
org.mapfish.print:print-servlet
Maven
≥ 3.34.0
< 4.0.3
4.0.3

References

Frequently Asked Questions

What is CVE-2026-44672?
CVE-2026-44672 is a security vulnerability in Mapfish Print involving Remote Code Injection (RCE) in Dynamic table under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Mapfish Print versions are affected?
Affected versions include releases prior to 3.28.28, 3.30.30, 3.31.21, 3.33.14, 4.0.3 across affected packages: org.mapfish.print:print-lib, org.mapfish.print:print-servlet.
What version fixes CVE-2026-44672?
Upgrading to 3.28.28, 3.30.30, 3.31.21, 3.33.14, 4.0.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is print-lib affected?
Yes, org.mapfish.print:print-lib is affected in releases prior to 3.28.28, 3.30.30, 3.31.21, 3.33.14, 4.0.3. Upgrade your dependency to 3.28.28, 3.30.30, 3.31.21, 3.33.14, 4.0.3 or later.
Is print-servlet affected?
Yes, org.mapfish.print:print-servlet is affected in releases prior to 3.28.28, 3.30.30, 3.31.21, 3.33.14, 4.0.3. Upgrade your dependency to 3.28.28, 3.30.30, 3.31.21, 3.33.14, 4.0.3 or later.
What CWE is associated with CVE-2026-44672?
CVE-2026-44672 is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.).
How can I check Maven dependencies for CVE-2026-44672?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.mapfish.print'. 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-q7m6-wpvf-mvwx",
  "modified" : "2026-06-09T02:00:09Z",
  "published" : "2026-05-13T01:35:37Z",
  "aliases" : [ "CVE-2026-44672" ],
  "summary" : "Mapfish Print: Remote Code Injection (RCE) in Dynamic table",
  "details" : "### Impact\n\nThe attacker can execute arbitrary code without being authenticated\n\n### Mitigation\n\nUpgrade to a patched version (please check affected/patched version matrix)\n\n### Credits\n\nBug Bounty of Canton du Jura",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.mapfish.print:print-lib"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.23.0"
      }, {
        "fixed" : "3.28.28"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.mapfish.print:print-lib"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.29.0"
      }, {
        "fixed" : "3.30.30"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.mapfish.print:print-lib"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.31.0"
      }, {
        "fixed" : "3.31.21"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.mapfish.print:print-lib"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.32.0"
      }, {
        "fixed" : "3.33.14"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.mapfish.print:print-lib"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.34.0"
      }, {
        "fixed" : "4.0.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.mapfish.print:print-servlet"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.23.0"
      }, {
        "fixed" : "3.28.28"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.mapfish.print:print-servlet"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.29.0"
      }, {
        "fixed" : "3.30.30"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.mapfish.print:print-servlet"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.31.0"
      }, {
        "fixed" : "3.31.21"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.mapfish.print:print-servlet"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.32.0"
      }, {
        "fixed" : "3.33.14"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.mapfish.print:print-servlet"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.34.0"
      }, {
        "fixed" : "4.0.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/mapfish/mapfish-print/security/advisories/GHSA-q7m6-wpvf-mvwx"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-44672"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mapfish/mapfish-print"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-94" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-13T01:35:37Z",
    "nvd_published_at" : "2026-05-28T16:16:24Z"
  }
}