CVE-2026-42594: Gotenberg: Unauthenticated denial of service via echo.Context pool reuse in webhook async goroutine
Vulnerability summary
CVE-2026-42594 is a high (CVSS 7.5) vulnerability in gotenberg. EPSS estimates a 0.35% chance of exploitation in the next 30 days, higher than 28.4% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 14-05-2026PublishedVulnerability first disclosed.
- 16-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.35%
Chance of exploitation in the next 30 days
Percentile
28%
Versus all other CVEs
30-day change
Decrease -0.03 pp
From 0.38% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundGotenberg
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/gotenberg/gotenberg2 products
- v7All versions (No fix recorded)
- v8< 8.32.0
Gotenberg1 product
- gotenberg< 8.32.0
Thecodingmachine1 product
- gotenberg< 8.32.0
3 vendors · 4 products
References
3 links- github.com/gotenberg/gotenberg/security/advisories/GHSA-r33j-c622-r6qpX Refsource CONFIRMWEBAdvisoryExploitMitigationVendor Advisory