CVE-2026-42594
Gotenberg: Unauthenticated denial of service via echo.Context pool reuse in webhook async goroutine
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.
INFO
Published Date :
May 14, 2026, 4:16 p.m.
Last Modified :
Nov. 11, 2026, 8:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-42594
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update Gotenberg to version 8.32.0 or later.
- Ensure webhook middleware and context handling are reviewed.
- Apply patches if available for older versions.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-42594.
| URL | Resource |
|---|---|
| https://github.com/gotenberg/gotenberg/security/advisories/GHSA-r33j-c622-r6qp | Exploit Mitigation Vendor Advisory |
| https://github.com/gotenberg/gotenberg/security/advisories/GHSA-r33j-c622-r6qp | Exploit Mitigation Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-42594 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-42594
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-42594 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-42594 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Gotenberg, Description: Gotenberg es una API sin estado impulsada por Docker para archivos PDF. Antes de la 8.32.0, el middleware de webhook genera una goroutine que mantiene una referencia al echo.Context de la solicitud después de que el gestor síncrono devuelve ErrAsyncProcess y Echo recicla el contexto de vuelta a su sync.Pool. Cuando una solicitud concurrente reclama el contexto reciclado, c.Reset() borra el almacén. Si la goroutine del webhook alcanza hardTimeoutMiddleware en ese momento, una aserción de tipo sin verificar en una entrada de almacén nula provoca un pánico fuera de cualquier ámbito de recover(), colapsando el proceso de Gotenberg. Cualquier llamador anónimo alcanza la ruta del webhook (la lista de denegación de webhook predeterminada filtra solo el destino del webhook, no el remitente). Un estrés de una sola fuente de aproximadamente 24 solicitudes de webhook más aproximadamente 60 solicitudes GET /version colapsa el proceso en aproximadamente dos segundos. Esta vulnerabilidad se corrige en la versión 8.32.0. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'gotenberg', 'product': 'gotenberg', 'versions': [{'status': 'affected', 'version': '< 8.32.0'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-42594', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-05-16T00:33:54.440411Z'} -
Initial Analysis by [email protected]
May. 18, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:* versions up to (excluding) 8.32.0 Added Reference Type CISA-ADP: https://github.com/gotenberg/gotenberg/security/advisories/GHSA-r33j-c622-r6qp Types: Exploit, Mitigation, Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/gotenberg/gotenberg/security/advisories/GHSA-r33j-c622-r6qp Types: Exploit, Mitigation, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
May. 16, 2026
Action Type Old Value New Value Added Reference https://github.com/gotenberg/gotenberg/security/advisories/GHSA-r33j-c622-r6qp -
New CVE Received by [email protected]
May. 14, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-362 Added Reference https://github.com/gotenberg/gotenberg/security/advisories/GHSA-r33j-c622-r6qp