Live threats

All CVEs / Thecodingmachine

CVE-2026-39383Thecodingmachine Gotenberg

Medium 6.9 No auth needed

Priority
56
CVSS 4.0
6.9
EPSS
—
Auth required
No
Published
May 5, 2026
Updated
Jul 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-918
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Gotenberg is an API-based document conversion tool. In version 8.29.1, an unauthenticated attacker with network access can force the server to make outbound HTTP POST requests to arbitrary internal or external destinations by supplying a crafted URL in the Gotenberg-Webhook-Url request header. The FilterDeadline function in filter.go is intended to gate outbound URLs, but when both the allow-list and deny-list are empty (the default configuration), it returns nil unconditionally and permits any URL. This is a blind SSRF: Gotenberg POSTs the converted document to the webhook URL and only checks whether the response status code is an error, but never returns the target's response body to the attacker. An attacker can use this to probe internal network infrastructure by observing whether the error callback is invoked, force POST requests against internal services that perform side effects, and confirm reachability of cloud metadata endpoints. The retryable HTTP client issues up to 4 automatic retries per request, amplifying each probe. This issue has been fixed in version 8.31.0. As a workaround, configure the GOTENBERG_API_WEBHOOK_ALLOW_LIST environment variable to restrict webhook URLs to known receivers, or set GOTENBERG_API_WEBHOOK_DENY_LIST to block RFC-1918 and link-local address ranges.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gotenberg.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/gotenberg/gotenberg/v7 all no fixed version —
Go github.com/gotenberg/gotenberg/v8 ≥ 8.29.1 < 8.31.0 8.31.0 go get github.com/gotenberg/gotenberg/v8@v8.31.0
Go github.com/gotenberg/gotenberg/v8 ≥ 8.29.1 < 8.31.0 8.31.0 go get github.com/gotenberg/gotenberg/v8@v8.31.0

Per OSV / GitHub Advisories (GO-2026-5155, GHSA-5vh4-rgv7-p9g4). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
thecodingmachinegotenberg≥ 8.29.1 < 8.31.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.