Time-of-check Time-of-use (TOCTOU) Race Condition in gotenberg - CVE-2026-42592
Published: May 5, 2026
gotenberg
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive information from internal services.
The vulnerability exists due to a time-of-check time-of-use race condition in Chromium URL conversion routes when processing attacker-supplied URLs with DNS resolution performed multiple times. A remote attacker can supply a hostname under attacker-controlled DNS that rebinds from a public IP to a private IP to disclose sensitive information from internal services.
The issue can expose responses from loopback-bound services, cloud metadata endpoints, and other private-network addresses through returned PDF output.