{"id":"CVE-2026-42594","published":"2026-05-14T15:32:32Z","modified":"2026-05-16T00:34:56Z","title":"Gotenberg: Unauthenticated denial of service via echo.Context pool reuse in webhook async goroutine","vendor":"gotenberg","product":"gotenberg","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00348,"percentile":0.29145,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://github.com/gotenberg/gotenberg/security/advisories/GHSA-r33j-c622-r6qp","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":5.83},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"gotenberg","affectedVersions":[{"vendor":"gotenberg","product":"gotenberg","versions":["< 8.32.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-16T00:33:54.440411Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gotenberg/gotenberg/v8","vulnerableRanges":["<8.32.0"],"patched":["8.32.0"],"from":["GHSA-r33j-c622-r6qp","GO-2026-5605"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/gotenberg/gotenberg/v7","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5605"],"provenance":"source"}],"summary":{"text":"Gotenberg, the Docker-powered stateless API for PDF files, has a race condition in its webhook middleware, where an asynchronous goroutine keeps a reference to a request context that Echo has already recycled, so a concurrent request can clear it and cause a crash. An anonymous, network-reachable attacker needs no authentication or user interaction to exploit this: sending a burst of webhook requests along with concurrent requests to the service can crash the Gotenberg process, with the default webhook deny list not blocking the submitter. Versions before 8.32.0 are affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:39Z"},"euvd":{"id":"EUVD-2026-30312","exploited":false,"provenance":"source"}}