CVE-2026-55848
mapfish-print: XXE on MapFish Print allows reading arbitrary files of certain types
Also known as GHSA-5v29-34h8-v68r
Mitigation
- Upgrade org.mapfish.print:print-lib to one of 3.28.30, 3.30.32, 3.33.16, 4.0.5 (or later in the same release line).
- Upgrade org.mapfish:print.print-servlet to 3.28.30 or later.
- Upgrade org.mapfish.print:print-servlet to one of 3.30.32, 3.31.24, 3.33.16, 4.0.5 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.mapfish.print:print-lib (>= 3.0.0, < 3.28.30)
- Projects that depend on Maven package org.mapfish:print.print-servlet (>= 3.0.0, < 3.28.30)
- Projects that depend on Maven package org.mapfish.print:print-servlet (>= 3.29.0, < 3.30.32)
- Anyone running mapfish-print >= 3.0.0, < 3.28.30; >= 3.29.0, < 3.30.32; >= 3.31.0, < 3.31.24; >= 3.32.0, < 3.33.16; >= 4.0.0, < 4.0.5
- Anyone running org.mapfish.print.print-lib >= 3.0.0, < 3.28.30; >= 3.29.0, < 3.30.32; >= 3.31.0, < 3.31.24; >= 3.32.0, < 3.33.16; >= 4.0.0, < 4.0.5
- Anyone running org.mapfish.print.print-servlet >= 3.0.0, < 3.28.30; >= 3.29.0, < 3.30.32; >= 3.31.0, < 3.31.24; >= 3.32.0, < 3.33.16; >= 4.0.0, < 4.0.5
Vulnerability facts
- Affected
- org.mapfish.print:print-lib >= 3.0.0, < 3.28.30; org.mapfish:print.print-servlet >= 3.0.0, < 3.28.30; org.mapfish.print:print-servlet >= 3.29.0, < 3.30.32
- Fixed in
- 3.28.30, 3.30.32, 3.33.16, 4.0.5, 3.31.24
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.53% chance of exploitation in 30 days (percentile 38, 2026-11-26)
- CWE
- CWE-611
- Modified
Description
mapfish-print is a component of MapFish for printing templated cartographic maps. Prior to 3.28.30, 3.30.32, 3.31.24, 3.33.16, and 4.0.5, MapFish Print accepts an attacker-controlled GML layer url in requests to the /api/print3/print endpoint and fetches XML parsed by core/src/main/java/org/mapfish/print/map/geotools/GmlLayer.java without disabling external entities and external DTDs. A remote XML document and DTD can expand a local file entity, and the resulting content can be exposed through the GML parsing and error path. This allows unauthenticated attackers to read files such as operating-system account data, Kubernetes service-account tokens, and certificates. Replacing the file entity target with an internal HTTP endpoint also permits server-side request forgery. This issue is fixed in versions 3.28.30, 3.30.32, 3.31.24, 3.33.16, and 4.0.5.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.mapfish.print:print-lib | >= 3.0.0, < 3.28.30 | 3.28.30, 3.30.32, 3.33.16, 4.0.5 | osv |
| Maven org.mapfish:print.print-servlet | >= 3.0.0, < 3.28.30 | 3.28.30 | osv |
| Maven org.mapfish.print:print-servlet | >= 3.29.0, < 3.30.32 | 3.30.32, 3.31.24, 3.33.16, 4.0.5 | osv |
| mapfish-print | >= 3.0.0, < 3.28.30; >= 3.29.0, < 3.30.32; >= 3.31.0, < 3.31.24; >= 3.32.0, < 3.33.16; >= 4.0.0, < 4.0.5 | — | cvelist |
| org.mapfish.print.print-lib | >= 3.0.0, < 3.28.30; >= 3.29.0, < 3.30.32; >= 3.31.0, < 3.31.24; >= 3.32.0, < 3.33.16; >= 4.0.0, < 4.0.5 | — | cvelist |
| org.mapfish.print.print-servlet | >= 3.0.0, < 3.28.30; >= 3.29.0, < 3.30.32; >= 3.31.0, < 3.31.24; >= 3.32.0, < 3.33.16; >= 4.0.0, < 4.0.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-55848. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-55848.md Affected: org.mapfish.print:print-lib >= 3.0.0, < 3.28.30; org.mapfish:print.print-servlet >= 3.0.0, < 3.28.30; org.mapfish.print:print-servlet >= 3.29.0, < 3.30.32 Fixed in: 3.28.30, 3.30.32, 3.33.16, 4.0.5, 3.31.24 Steps: 1. Search this machine and project for org.mapfish.print:print-lib (Maven), org.mapfish:print.print-servlet (Maven), org.mapfish.print:print-servlet (Maven), mapfish-print, org.mapfish.print.print-lib, org.mapfish.print.print-servlet: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://github.com/mapfish/mapfish-print/pull/4212
- https://github.com/mapfish/mapfish-print/pull/4215
- https://github.com/mapfish/mapfish-print/pull/4216
- https://github.com/mapfish/mapfish-print/pull/4217
- https://github.com/mapfish/mapfish-print/pull/4219
- https://github.com/mapfish/mapfish-print/pull/4221
- https://github.com/mapfish/mapfish-print/commit/13beae7a7f970fc3526c1f7ca5db817d8d51fbec
- https://github.com/mapfish/mapfish-print/commit/23a96e7baa15077bdb0e5fc5a72b18da23af9121
- https://github.com/mapfish/mapfish-print/commit/3525e8150fcb5f40095930ccf7aec0d8ce92bbcb
- https://github.com/mapfish/mapfish-print/commit/56c47d3bf70d8428916dea8ed7005518ad07dc7d
- https://github.com/mapfish/mapfish-print/commit/a55a24873db5f19b37abac7d59144dc86406c236
- https://github.com/mapfish/mapfish-print/commit/d13911ac6e0509444d64e74830f10b14e4dcfdf1
FAQ
Is CVE-2026-55848 being exploited?
There is no confirmed exploitation: CVE-2026-55848 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-55848?
High: CVSS 8.6 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-55848?
org.mapfish.print:print-lib >= 3.0.0, < 3.28.30; org.mapfish:print.print-servlet >= 3.0.0, < 3.28.30; org.mapfish.print:print-servlet >= 3.29.0, < 3.30.32.
Is there a fix for CVE-2026-55848?
Yes. Fixed in 3.28.30, 3.30.32, 3.33.16, 4.0.5, 3.31.24. Upgrade org.mapfish.print:print-lib to one of 3.28.30, 3.30.32, 3.33.16, 4.0.5 (or later in the same release line). Upgrade org.mapfish:print.print-servlet to 3.28.30 or later. Upgrade org.mapfish.print:print-servlet to one of 3.30.32, 3.31.24, 3.33.16, 4.0.5 (or later in the same release line).
How do I check if I'm affected by CVE-2026-55848?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.