CVE-2026-42595 Gotenberg: Server-Side Request Forgery via Chromium URL Endpoint with Redirect-Based Deny-List Bypass
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Docker
Description
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.
Upgrade path
3 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gotenberg(Go) | < 8.32.0; All versions | 8.32.0 | Partially fixed |
| thecodingmachine gotenberg | < 8.32.0 | 8.32.0 | Fixed |
| gotenberg | = < 8.32.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gotenberg | = < 8.32.0 | No fix listed |
| gotenberg(Go) | < 8.32.0 | 8.32.0 |
| gotenberg(Go) | All versions | No fix listed |
| thecodingmachine gotenberg | < 8.32.0 | 8.32.0 |
References
- https://github.com/gotenberg/gotenberg/security/advisories/GHSA-chwh-f6gm-r836 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com