{"cve":"CVE-2026-42594","nvd":{"published":"2026-05-14T16:16:22.613","modified":"2026-06-17T10:48:07.460","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-362"],"references":["https://github.com/gotenberg/gotenberg/security/advisories/GHSA-r33j-c622-r6qp","https://github.com/gotenberg/gotenberg/security/advisories/GHSA-r33j-c622-r6qp"],"products":["thecodingmachine:gotenberg"],"source":"nvd","synced_at":"2026-10-19T22:35:16.954578616+00:00"},"epss":{"cve":"CVE-2026-42594","score":0.00348,"percentile":0.28411,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-r33j-c622-r6qp","url":"https://osv.dev/vulnerability/GHSA-r33j-c622-r6qp","summary":"Gotenberg has an unauthenticated denial of service via echo.Context pool reuse in webhook async goroutine","modified":"2026-06-25T23:11:03.187906368Z","packages":[{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","ranges":["<8.32.0"],"fixed":["8.32.0"]}]},{"id":"GO-2026-5605","url":"https://osv.dev/vulnerability/GO-2026-5605","summary":"Gotenberg has an unauthenticated denial of service via echo.Context pool reuse in webhook async goroutine in github.com/gotenberg/gotenberg","modified":"2026-06-25T23:01:33.069042181Z","packages":[{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v7","purl":"pkg:golang/github.com/gotenberg/gotenberg/v7","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","ranges":["<8.32.0"],"fixed":["8.32.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}