CVE-2026-55848 — mapfish-print is a component of MapFish for printing templated cartographic maps.¶
Key facts
CVE-2026-55848 is a High (8.6) vulnerability: mapfish-print is a component of MapFish for printing templated cartographic maps.. This entry ships a detection-only PoC and a Docker test lab.
| CVE | CVE-2026-55848 |
| Severity | High (8.6) |
| Detection / prevention | — |
| PoC | poc.py |
| Source | 2026/CVE-2026-55848/ |
Details¶
English | 한국어
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.
Vulnerability Details¶
| Property | Value |
|---|---|
| CVE ID | CVE-2026-55848 |
| Type | SSRF |
| CVSS Score | 8.6 |
Proof of Concept¶
Download¶
# Download PoC script
curl -O https://raw.githubusercontent.com/fankh/vulnerability-poc/main/2026/CVE-2026-55848/poc.py
Usage¶
# Run PoC against target
python3 poc.py --target <TARGET_URL>
# With authentication
python3 poc.py --target <TARGET_URL> --username <USER> --password <PASS>
⚠️ Warning: This PoC is for authorized security testing only. It uses detection-only techniques and does not exploit or damage target systems.
Test Lab¶
This repository includes a Docker-based test environment with both vulnerable and patched applications.
Quick Start¶
# Clone and navigate to CVE directory
cd CVE-2026-55848
# Start both applications
docker-compose up -d
# Run tests
./run-tests.sh # Linux/Mac
./run-tests.ps1 # Windows PowerShell
Application Endpoints¶
| Application | URL | Status |
|---|---|---|
| Vulnerable App | http://localhost:8080 | Shows vulnerability |
| Patched App | http://localhost:8081 | Demonstrates fix |
Directory Structure¶
├── README.md # English documentation
├── README_KO.md # Korean documentation
├── poc.py # PoC detection script
├── docker-compose.yml # Container orchestration
├── run-tests.sh # Linux/Mac test runner
├── run-tests.ps1 # Windows test runner
├── vulnerable-app/ # Vulnerable version
│ ├── app.py
│ ├── Dockerfile
│ └── requirements.txt
└── patched-app/ # Fixed version
├── app.py
├── Dockerfile
└── requirements.txt
References¶
- 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
- 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/releases/tag/3.28.30
- https://github.com/mapfish/mapfish-print/releases/tag/3.30.32
- https://github.com/mapfish/mapfish-print/releases/tag/3.31.24
- https://github.com/mapfish/mapfish-print/releases/tag/4.0.5
- https://github.com/mapfish/mapfish-print/security/advisories/GHSA-5v29-34h8-v68r
Generated by PoC Generator on 2026-08-29T18:05:25.377749315
Frequently asked questions¶
What is CVE-2026-55848?¶
CVE-2026-55848 is a High (8.6) vulnerability: mapfish-print is a component of MapFish for printing templated cartographic maps.. This entry ships a detection-only PoC and a Docker test lab.
How do I detect CVE-2026-55848?¶
Run the detection-only PoC included with this entry against your Docker test lab to confirm whether a target is affected; pair it with your own IDS logging.
How do I block or mitigate CVE-2026-55848?¶
Upgrade to a fixed version per the vendor advisory; the NVD record lists the affected versions. Use the included PoC to verify your remediation.
For authorized security testing and research only. See the full source and NVD record.