CVE-2026-42594
Description
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.
Weakness
- CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-05-16 |
Timeline
- 2026-05-07GitHub advisory published (GHSA-r33j-c622-r6qp)7 days before publication
- 2026-05-14Published by the CNA15:32 UTC
- 2026-05-16CISA SSVC decision recorded2 days after publication
Exploit and advisory records
GitHub advisory GHSA-r33j-c622-r6qp, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/gotenberg/gotenberg/v8 | before 8.32.0 | 8.32.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| thecodingmachine gotenberg | before 8.32.0fixed in 8.32.0 | 8.32.0 |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42594'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42594'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42594'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42594'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).