Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-42592 EUVD-2026-30315GHSA-2pmr-289p-44r3GO-2026-4990

Gotenberg: DNS rebinding bypasses SSRF validation on Chromium URL conversion routes

Published May 14, 2026 · Updated May 14, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
gotenberg gotenberg < 8.32.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/gotenberg/gotenberg/v7 all versions — GO-2026-4990
Go github.com/gotenberg/gotenberg/v8 <= 8.31.0 — GHSA-2pmr-289p-44r3
Go github.com/gotenberg/gotenberg/v8 all versions — GO-2026-4990

Advisories 1

References