CVE-2026-42595·Docker vulnerability
Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.32.0, Gotenberg's Chromium URL-to-PDF endpoint (/forms/chromium/convert/url) has no default protection against HTTP/HTTPS-based SSRF. The default deny-list regex only blocks file:// URIs. An unauthenticated attacker can point Chromium at any internal IP — including loopback, RFC 1918 ranges, and cloud metadata endpoints — and receive the response rendered as a PDF. Additionally, even when operators configure a custom deny-list, the protection is bypassed via HTTP redirects. Gotenberg's Chromium instance follows 302 redirects from an attacker-controlled external URL to internal targets without re-validating the redirect destination against the deny-list. This vulnerability is fixed in 8.32.0.
- Severity
- high
- Software
- Docker
- Fixed in
- 8.32.0
- Published
- 2026-05-14
Affected versions
Until: 8.32.0
Fixed in: 8.32.0
How to fix this CVE
Update Docker to version 8.32.0 or later to remediate CVE-2026-42595, which addresses Server-Side Request Forgery (SSRF) vulnerabilities in Gotenberg's Chromium URL-to-PDF conversion endpoint. The vulnerability allowed unauthenticated attackers to access internal services and cloud metadata endpoints by bypassing the default URI deny-list and exploiting HTTP redirect chains. Immediately apply this patch in environments where Gotenberg containers are exposed to untrusted network input.
sudo dnf update -y docker-ce && sudo systemctl restart dockerDefensia detects this vulnerability
What an exploitation attempt looks like
Sample log line indicative of exploitation attempts:
POST|GET /forms/chromium/convert/url.*(?:localhost|127\.0\.0\.1|10\.|172\.(1[6-9]|2[0-9]|3[01])\.|192\.168\.|169\.254\.|metadata\.google|169\.254\.169\.254).*Location:.*redirectWAF mitigation (if patching is not yet possible)
Add this rule to your WAF to block exploitation attempts while you schedule the patch.
Implement a WAF rule to deny requests to /forms/chromium/convert/url containing URL parameters that reference private IP ranges (127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16) or cloud metadata endpoints (metadata.google, 169.254.169.254). Additionally, block responses containing HTTP Location headers that redirect to these ranges to prevent redirect-based bypass.How to check if you are affected
- Step 1: Check installed Docker version with `docker --version` and compare against 8.32.0
- Step 2: List running Gotenberg containers with `docker ps | grep gotenberg` to identify exposed instances
- Step 3: Search Docker daemon logs for suspicious /forms/chromium/convert/url requests: `journalctl -u docker -S '24 hours ago' | grep -i 'chromium\|convert/url'`
- Step 4: After upgrading, verify the new version with `docker --version` and restart the Docker daemon with `sudo systemctl restart docker`
FAQ
What is CVE-2026-42595?
CVE-2026-42595 is a Server-Side Request Forgery (SSRF) vulnerability in Docker's Gotenberg service that allows unauthenticated attackers to abuse the Chromium PDF conversion API to reach internal services, cloud metadata endpoints, and private IP ranges by bypassing URI filtering and exploiting HTTP redirects.
Is CVE-2026-42595 being actively exploited?
According to CISA records, CVE-2026-42595 is not currently listed as actively exploited in the wild. However, no public exploit code is available, and the vulnerability remains high-severity due to its ease of exploitation and potential for lateral movement in containerized environments.
What versions of Docker are affected by CVE-2026-42595?
All versions of Docker containing Gotenberg prior to version 8.32.0 are affected. The vulnerability requires explicit use of the Chromium URL-to-PDF endpoint, so exposure depends on whether your Gotenberg instance is reachable from untrusted networks.
How do I check if my server is vulnerable to CVE-2026-42595?
Run `docker --version` to confirm your Docker version is below 8.32.0. Then verify Gotenberg is running with `docker ps --filter 'name=gotenberg'`. If the service is exposed and Docker is outdated, your environment is vulnerable.
Does Defensia detect CVE-2026-42595?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Docker is installed on a monitored server, CVE-2026-42595 will appear in your dashboard with remediation steps.
Related Docker CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-42595. Free for 1 server.
Get started free