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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-30T17:24:33.000Z
- Modified: 2026-07-24T21:10:00.143Z
- Also known as: GHSA-5vh4-rgv7-p9g4, GO-2026-5155
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gotenberg gotenberg: < 8.31.0
- github.com/gotenberg/gotenberg/v8 (Go): from 8.29.1 before 8.31.0
- github.com/gotenberg/gotenberg/v7 (Go): all versions
- thecodingmachine gotenberg: from 8.29.1 before 8.31.0

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:3.1 8.6 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://github.com/gotenberg/gotenberg/security/advisories/GHSA-5vh4-rgv7-p9g4> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39383> (advisory)
- <https://github.com/gotenberg/gotenberg> (package)
- <https://github.com/gotenberg/gotenberg/releases/tag/v8.31.0> (web)

## Sources

- CVE List: [CVE-2026-39383](https://www.cve.org/CVERecord?id=CVE-2026-39383), CVE Terms of Use, modified 2026-05-06
- GitHub Advisory Database: [GHSA-5vh4-rgv7-p9g4](https://github.com/advisories/GHSA-5vh4-rgv7-p9g4), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5155](https://pkg.go.dev/vuln/GO-2026-5155), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-39383](https://nvd.nist.gov/vuln/detail/CVE-2026-39383), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-39383 · Whole record: https://cve.day/CVE-2026-39383.json · Rebuilt by cve.day 2026-11-25T22:59:20.645Z
