CVE-2026-45742 Gotenberg: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Docker
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.
Upgrade path
2 packages: 0 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gotenberg(Go) | >= 8.10.0, < 8.33.0; >= 8.10.0, <= 8.32.0; All versions | 8.33.0 | Partially fixed |
| gotenberg | = >= 8.10.0, < 8.33.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gotenberg | = >= 8.10.0, < 8.33.0 | No fix listed |
| gotenberg(Go) | >= 8.10.0, < 8.33.0 | 8.33.0 |
| gotenberg(Go) | All versions | No fix listed |
| gotenberg(Go) | >= 8.10.0, <= 8.32.0 | No fix listed |
References
- https://github.com/gotenberg/gotenberg/security/advisories/GHSA-vp73-vjw8-8f32 exploit vendor-advisory
- https://github.com/gotenberg/gotenberg/commit/6671b5e5d30289087ca80130fc76f130cfa4dd7b
- https://github.com/gotenberg/gotenberg/releases/tag/v8.33.0
- github.com product
- github.com
- ENISA EUVD EUVD-2026-62425 third-party-advisory