Vulnerability · Published Aug 19, 2026 · Assigned by GitHub_M
CVE-2026-45742Gotenberg: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
High 7.5
In plain English
A high-severity race condition in gotenberg from gotenberg. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/gotenberg/gotenberg/v7 | no fix listed | GO-2026-5669 |
| Go | github.com/gotenberg/gotenberg/v8 | 8.33.0 | GHSA-vp73-vjw8-8f32 |
| Go | github.com/gotenberg/gotenberg/v8 | 8.33.0 | GO-2026-5669 |
Affected products (as reported)
Weakness: CWE-362 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H