{"id":"CVE-2026-42594","sourceIdentifier":"security-advisories@github.com","published":"2026-05-14T16:16:22.613","lastModified":"2026-11-11T20:10:00.273","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"gotenberg","product":"gotenberg","versions":[{"version":"< 8.32.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-05-16T00:33:54.440411Z","id":"CVE-2026-42594","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-362"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:*","versionEndExcluding":"8.32.0","matchCriteriaId":"F6763958-60E0-49F9-9B7B-35A1B94622D8"}]}]}],"references":[{"url":"https://github.com/gotenberg/gotenberg/security/advisories/GHSA-r33j-c622-r6qp","source":"security-advisories@github.com","tags":["Exploit","Mitigation","Vendor Advisory"]},{"url":"https://github.com/gotenberg/gotenberg/security/advisories/GHSA-r33j-c622-r6qp","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Mitigation","Vendor Advisory"]}]}