CVE-2026-55848Mapfish-print XML external entity (XXE)
CVSS score
8.6
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.53%
0.53% chance of exploitation in the next 30 days, higher than 45.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running Mapfish-print, mapfish Org.mapfish.print.print-lib, mapfish Org.mapfish.print.print-servlet and compare its version with the affected versions.
Update to a fixed version
- Update Mapfish-print, Org.mapfish.print.print-lib, Org.mapfish.print.print-servlet to 3.28.30, 3.30.32, 3.31.24, 3.33.16 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Affected products
| Affected products | Versions |
|---|---|
| mapfish 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 |
| mapfish 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 |
| mapfish 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 |
Weakness
- CWE-611 XML external entity (XXE)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-55848 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-55848?
CVE-2026-55848 has a CVSS 3.1 base score of 8.6 (high).
Which versions are affected?
Mapfish 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), Mapfish 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), Mapfish 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)
Is there a patch for CVE-2026-55848?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/mapfish/mapfish-print/commit/13beae7a7f970fc3526c1f7ca5db817d8d51fbec
- github.com/mapfish/mapfish-print/commit/23a96e7baa15077bdb0e5fc5a72b18da23af9121
- github.com/mapfish/mapfish-print/commit/3525e8150fcb5f40095930ccf7aec0d8ce92bbcb
- github.com/mapfish/mapfish-print/commit/56c47d3bf70d8428916dea8ed7005518ad07dc7d
- github.com/mapfish/mapfish-print/commit/a55a24873db5f19b37abac7d59144dc86406c236
- github.com/mapfish/mapfish-print/commit/d13911ac6e0509444d64e74830f10b14e4dcfdf1
- github.com/mapfish/mapfish-print/pull/4212
- github.com/mapfish/mapfish-print/pull/4215
- github.com/mapfish/mapfish-print/pull/4216
- github.com/mapfish/mapfish-print/pull/4217
- github.com/mapfish/mapfish-print/pull/4219
- github.com/mapfish/mapfish-print/pull/4221
- github.com/mapfish/mapfish-print/releases/tag/3.28.30
- github.com/mapfish/mapfish-print/releases/tag/3.30.32
- github.com/mapfish/mapfish-print/releases/tag/3.31.24
- github.com/mapfish/mapfish-print/releases/tag/4.0.5
- github.com/mapfish/mapfish-print/security/advisories/GHSA-5v29-34h8-v68r
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.