Gotenberg: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gotenberg | gotenberg | 8.10.0 to before 8.33.0 | 8.33.0 | Patch available | CNA |
| — | github.com/gotenberg/gotenberg/v8 (Go) | 8.10.0 to before 8.33.0 | 8.33.0 | Patch available | GHSA-vp73-vjw8-8f32 |
- gotenberg Vendorgotenberg Affected 8.10.0 to before 8.33.0 Fixed in 8.33.0 Patch available CNA
- github.com/gotenberg/gotenberg/v8 (Go) Vendor— Affected 8.10.0 to before 8.33.0 Fixed in 8.33.0 Patch available GHSA-vp73-vjw8-8f32
Remediation
- Fix · CNA gotenberg (gotenberg) Fixed in 8.33.0
- Fix · GHSA-vp73-vjw8-8f32 github.com/gotenberg/gotenberg/v8 (Go) Fixed in 8.33.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45742
- 2026-10-03 Alias added: GHSA-vp73-vjw8-8f32
References
More gotenberg vulnerabilities
- TI-2026-30869 Gotenberg: Unauthenticated RCE via ExifTool Metadata Key Injection CVSS 3.1CRITICAL 9.8
- TI-2026-29063 Gotenberg vulnerable to argument injection via newlines in ExifTool metadata values CVSS 3.1CRITICAL 10.0
- TI-2026-30876 Gotenberg: Unauthenticated SSRF via default deny-list bypass in downloadFrom and webhook CVSS 3.1CRITICAL 9.4
- TI-2026-27588 Gotenberg has a ReDoS via extraHttpHeaders scope feature CVSS 4.0HIGH 8.7
- TI-2026-30875 Gotenberg: Server-Side Request Forgery via Chromium URL Endpoint with Redirect-Based Deny-List Bypass CVSS 3.1HIGH 8.6
- TI-2026-30871 Gotenberg: Server-Side Request Forgery (SSRF) in github.com/gotenberg/gotenberg/v8 CVSS 3.1HIGH 8.2
Sources
- CVE-2026-45742 · CVE Program
- CVE-2026-45742 · NVD
- FIRST EPSS
- GHSA-vp73-vjw8-8f32 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences