{"id":"CVE-2026-45742","published":"2026-08-19T14:34:15Z","modified":"2026-08-19T15:29:39Z","title":"Gotenberg: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","vendor":"gotenberg","product":"gotenberg","tier":"tail","description":{"text":"Gotenberg is a Docker-powered stateless API for PDF files. From 8.10.0 until 8.33.0, the newContext function in pkg/modules/api/context.go starts one errgroup.Go goroutine for each multipart downloadFrom entry and allows those goroutines to concurrently write to the shared ctx.files, ctx.diskToOriginal, and ctx.filesByField maps and slices. Go maps and slices are not safe for concurrent mutation, so a crafted multipart request containing many downloadFrom entries can trigger a data race and terminate the process with a fatal concurrent map writes runtime error. The default configuration enables downloadFrom and disables authentication, allowing an unauthenticated remote attacker to crash an exposed conversion service and cause a denial of service. This issue is fixed in version 8.33.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.00705,"percentile":0.48933,"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-vp73-vjw8-8f32","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gotenberg/gotenberg/commit/6671b5e5d30289087ca80130fc76f130cfa4dd7b","tags":["x_refsource_MISC"]},{"url":"https://github.com/gotenberg/gotenberg/releases/tag/v8.33.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":9.79},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"gotenberg","affectedVersions":[{"vendor":"gotenberg","product":"gotenberg","versions":[">= 8.10.0, < 8.33.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-19T15:29:09.140356Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gotenberg/gotenberg/v8","vulnerableRanges":[">=8.10.0, <8.33.0"],"patched":["8.33.0"],"from":["GHSA-vp73-vjw8-8f32","GO-2026-5669"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/gotenberg/gotenberg/v7","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5669"],"provenance":"source"}],"summary":{"text":"Gotenberg, the Docker-powered stateless API for PDF files, has a race condition in the newContext function (pkg/modules/api/context.go) where concurrent goroutines processing multipart downloadFrom entries write unsynchronized to shared maps and slices. An unauthenticated remote attacker can exploit this by sending a crafted multipart request with many downloadFrom entries, which is possible in the default configuration (downloadFrom enabled, authentication disabled), to crash the process with a fatal concurrent map writes error and cause denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:25Z"},"euvd":{"id":"EUVD-2026-62425","exploited":false,"provenance":"source"}}