Skip to main content
← All vulnerabilities
CVE-2026-45742GO-2026-5669GHSA-VP73-VJW8-8F32

Gotenberg: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.33.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • gotenberg gotenberg

    From 8.10.0 · fixed in 8.33.0

  • github.com/gotenberg/gotenberg/v7Go

    All versions

  • github.com/gotenberg/gotenberg/v8Go

    From 8.10.0 · fixed in 8.33.0

References 3

GitHub · gotenberg/gotenberg