# CVE-2026-42594: Gotenberg: Unauthenticated denial of service via echo.Context pool reuse in webhook async goroutine

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-07T01:00:24.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-r33j-c622-r6qp, GO-2026-5605
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gotenberg gotenberg: < 8.32.0
- github.com/gotenberg/gotenberg/v8 (Go): before 8.32.0
- github.com/gotenberg/gotenberg/v7 (Go): all versions
- thecodingmachine gotenberg: before 8.32.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/gotenberg/gotenberg/security/advisories/GHSA-r33j-c622-r6qp> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42594> (advisory)
- <https://github.com/gotenberg/gotenberg> (package)

## Sources

- CVE List: [CVE-2026-42594](https://www.cve.org/CVERecord?id=CVE-2026-42594), CVE Terms of Use, modified 2026-05-16
- GitHub Advisory Database: [GHSA-r33j-c622-r6qp](https://github.com/advisories/GHSA-r33j-c622-r6qp), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5605](https://pkg.go.dev/vuln/GO-2026-5605), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-42594](https://nvd.nist.gov/vuln/detail/CVE-2026-42594), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-42594 · Whole record: https://cve.day/CVE-2026-42594.json · Rebuilt by cve.day 2026-11-25T22:59:21.720Z
