Vulnerability · Published May 14, 2026 · Assigned by GitHub_M
CVE-2026-42592Gotenberg: DNS rebinding bypasses SSRF validation on Chromium URL conversion routes
Medium 5.3
In plain English
A medium-severity server-side request forgery in gotenberg from gotenberg. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities).
Official description
Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.32.0, FilterOutboundURL resolves the hostname, checks the resolved IPs against the private-address deny-list, and returns only the error. It discards the resolved addresses. Chromium later performs its own DNS resolution when it navigates to the URL. An attacker who controls DNS for a hostname with a short TTL returns a public IP on the first query (Gotenberg allows) and a private IP on the second query (Chromium connects to the attacker-chosen internal address). The CDP Fetch.requestPaused handler re-checks the URL but runs its own DNS resolution, leaving a timing window before Chromium's actual TCP connect. The rendered internal service response returns to the caller as a PDF. This vulnerability is fixed in 8.32.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/gotenberg/gotenberg/v7 | no fix listed | GO-2026-4990 |
| Go | github.com/gotenberg/gotenberg/v8 | no fix listed | GHSA-2pmr-289p-44r3 |
| Go | github.com/gotenberg/gotenberg/v8 | no fix listed | GO-2026-4990 |
Affected products (as reported)
Weakness: CWE-367, CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/gotenberg/gotenberg/security/advisories/GHSA-2pmr-289p-44r3 x_refsource_CONFIRM