CVE-2026-42592

MEDIUM CVSS 3.1: 5.3 EPSS 0.19%
Updated Jun 17, 2026
Thecodingmachine
Parameter Value
CVSS 5.3 (MEDIUM)
Affected Versions before 8.32.0
Fixed In 8.32.0
Type CWE-918 (Server-Side Request Forgery (SSRF)), CWE-367 (Time-of-check Time-of-use (TOCTOU))
Vendor Thecodingmachine
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Thecodingmachine Gotenberg
cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:*
— 8.32.0