Gotenberg: Unauthenticated denial of service via echo.Context pool reuse in webhook async goroutine
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.32.0, the webhook middleware spawns a goroutine that holds a reference to the request's echo.Context after the synchronous handler returns ErrAsyncProcess and Echo recycles the context back to its sync.Pool. When a concurrent request claims the recycled context, c.Reset() clears the store. If the webhook goroutine reaches hardTimeoutMiddleware at that moment, an unchecked type assertion on a nil store entry panics outside any recover() scope, crashing the Gotenberg process. Any anonymous caller reaches the webhook path (default webhook-deny-list filters only the webhook destination, not the submitter). A single-source stress of ~24 webhook requests plus ~60 GET /version requests crashes the process in about two seconds. This vulnerability is fixed in 8.32.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gotenberg | gotenberg | before 8.32.0 | 8.32.0 | Patch available | CNA |
| — | github.com/gotenberg/gotenberg/v8 (Go) | before 8.32.0 | 8.32.0 | Patch available | GHSA-r33j-c622-r6qp |
- gotenberg Vendorgotenberg Affected before 8.32.0 Fixed in 8.32.0 Patch available CNA
- github.com/gotenberg/gotenberg/v8 (Go) Vendor— Affected before 8.32.0 Fixed in 8.32.0 Patch available GHSA-r33j-c622-r6qp
Remediation
- Fix · CNA gotenberg (gotenberg) Fixed in 8.32.0
- Fix · GHSA-r33j-c622-r6qp github.com/gotenberg/gotenberg/v8 (Go) Fixed in 8.32.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42594
- 2026-10-03 Alias added: GHSA-r33j-c622-r6qp
References
More Gotenberg vulnerabilities
- TI-2026-30869 Gotenberg: Unauthenticated RCE via ExifTool Metadata Key Injection CVSS 3.1CRITICAL 9.8
- TI-2026-29063 Gotenberg vulnerable to argument injection via newlines in ExifTool metadata values CVSS 3.1CRITICAL 10.0
- TI-2026-30876 Gotenberg: Unauthenticated SSRF via default deny-list bypass in downloadFrom and webhook CVSS 3.1CRITICAL 9.4
- TI-2026-27588 Gotenberg has a ReDoS via extraHttpHeaders scope feature CVSS 4.0HIGH 8.7
- TI-2026-30875 Gotenberg: Server-Side Request Forgery via Chromium URL Endpoint with Redirect-Based Deny-List Bypass CVSS 3.1HIGH 8.6
- TI-2026-30871 Gotenberg: Server-Side Request Forgery (SSRF) in github.com/gotenberg/gotenberg/v8 CVSS 3.1HIGH 8.2
Sources
- CVE-2026-42594 · CVE Program
- CVE-2026-42594 · NVD
- FIRST EPSS
- GHSA-r33j-c622-r6qp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences