Skip to content

CVE-2026-39383 Gotenberg unauthenticated blind SSRF via unfiltered webhook URL

MediumCVSS 6.9 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

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.

Upgrade path

3 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
gotenberg(Go) >= 8.29.1, < 8.31.0; All versions 8.31.0 Partially fixed
thecodingmachine gotenberg >= 8.29.1, < 8.31.0 8.31.0 Fixed
gotenberg = < 8.31.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
gotenberg(Go) >= 8.29.1, < 8.31.0 8.31.0
gotenberg(Go) All versions No fix listed
gotenberg = < 8.31.0 No fix listed
thecodingmachine gotenberg >= 8.29.1, < 8.31.0 8.31.0

References