medium CVSS 5.3 EPSS <0.1%

CVE-2026-42593·Docker vulnerability

Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.32.0, pdfengines/merge, pdfengines/split, libreoffice/convert, chromium/convert/url, chromium/convert/html, and chromium/convert/markdown accept stampSource=pdf + stampExpression=/path and watermarkSource=pdf + watermarkExpression=/path from anonymous callers. The dedicated stamp/watermark routes require an uploaded file when the source type is image or pdf; these six routes only overwrite the expression when a file is uploaded, leaving the user-controlled path intact when no file is attached. pdfcpu opens the path and composites its pages onto the output PDF, which returns to the caller. An attacker reads any PDF the Gotenberg process can access on the container filesystem. This vulnerability is fixed in 8.32.0.

Severity
medium
Software
Docker
Fixed in
8.32.0
Published

How likely is exploitation

FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 23% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.

Affected versions

Until: 8.32.0

Fixed in: 8.32.0

How to fix this CVE

Upgrade Docker to version 8.32.0 or later to patch a local file disclosure vulnerability in Gotenberg's PDF processing endpoints. The vulnerability allows unauthenticated attackers to read arbitrary PDF files accessible to the Docker daemon by manipulating stamp and watermark parameters. This fix removes the ability to pass user-controlled file paths to pdfcpu without proper validation.

sudo dnf update docker-ce --security

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

POST|GET request containing parameters matching regex: (stampSource|watermarkSource)=pdf.*(stampExpression|watermarkExpression)=/[a-zA-Z0-9_/.-]+\.pdf

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Implement WAF rules to block HTTP requests to Gotenberg endpoints (pdfengines/merge, pdfengines/split, libreoffice/convert, chromium/convert/*) that contain stampSource, watermarkSource, stampExpression, or watermarkExpression parameters with file path patterns. Whitelist only legitimate PDF upload operations with multipart/form-data encoding.

How to check if you are affected

  1. Step 1: Check installed Docker version with 'docker --version' and compare against 8.32.0
  2. Step 2: Verify Gotenberg service is running inside a Docker container with 'docker ps | grep gotenberg'
  3. Step 3: Search container logs for unusual stampSource, stampExpression, watermarkSource, or watermarkExpression parameters: 'docker logs <container_id> | grep -i "stamp\|watermark"'
  4. Step 4: After upgrading, confirm the new version with 'docker --version' and restart all containers running Gotenberg

FAQ

What is CVE-2026-42593?

This is a local file disclosure vulnerability in Docker's Gotenberg PDF processing service that allows attackers to read any PDF file accessible to the container by crafting malicious requests with unvalidated file path parameters in stamp and watermark endpoints.

Is CVE-2026-42593 being actively exploited?

No, this vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are available.

What versions of Docker are affected by CVE-2026-42593?

All versions of Docker containing Gotenberg prior to version 8.32.0 are affected. The vulnerability impacts the pdfengines/merge, pdfengines/split, libreoffice/convert, chromium/convert/url, chromium/convert/html, and chromium/convert/markdown endpoints.

How do I check if my server is vulnerable to CVE-2026-42593?

Run 'docker --version' and verify the version is 8.32.0 or later. Additionally, list running containers with 'docker ps' and check for any instances running Gotenberg or PDF processing services that accept external stamp/watermark parameters.

Does Defensia detect CVE-2026-42593?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Docker is installed on a monitored server, CVE-2026-42593 will appear in your dashboard with remediation steps.

Related Docker CVEs

CVE-2026-26216CVSS 10Crawl4AI versions prior to 0.8.0 contain a remote code execution vulnerability in the Docker API deployment. The /crawl endpoint accepts a hooks parameter containing Python code that is executed using exec(). The __import__ builtin was included in the allowed builtins, allowing unauthenticated remote attackers to import arbitrary modules and execute system commands. Successful exploitation allows full server compromise, including arbitrary command execution, file read and write access, sensitive data exfiltration, and lateral movement within internal networks.
CVE-2026-33587CVSS 10Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and subsequently OS commands) on the docker container via Server-Side Template Injection (SSTI) for user-created transformations.
CVE-2026-40281CVSS 10Gotenberg is a Docker-powered stateless API for PDF files. In versions 8.30.1 and earlier, the metadata write endpoint validates metadata keys for control characters but leaves metadata values unsanitized. A newline character in a metadata value splits the ExifTool stdin line into two separate arguments, allowing injection of arbitrary ExifTool pseudo-tags such as -FileName, -Directory, -SymLink, and -HardLink. This is a bypass of the incomplete key-sanitization fix introduced in v8.30.1. An unauthenticated attacker can rename or move any PDF being processed to an arbitrary path in the container filesystem, overwrite arbitrary files, or create symlinks and hard links at arbitrary paths.
CVE-2026-44329CVSS 10free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, free5GC's SMF mounts the UPI management route group without OAuth2/bearer-token authorization middleware. A network attacker who can reach SMF on the SBI can hit UPI endpoints with no Authorization header at all, and the requests reach the SMF business handlers. In the running Docker lab this was directly demonstrated for read (GET /upi/v1/upNodesLinks), write (POST /upi/v1/upNodesLinks with attacker-controlled UP-node and link payload), and delete (DELETE /upi/v1/upNodesLinks/{nodeID}) operations. This vulnerability is fixed in 4.2.2.
CVE-2026-57572CVSS 10Crawl4AI is an open-source LLM-friendly web crawler and scraper. Prior to 0.9.0, the Docker API server accepted request-supplied browser_config.extra_args, which flowed into Chromium's launch arguments. An attacker could inject Chromium switches that replace a child-process launch command together with --no-zygote, causing Chromium to fork or exec an attacker-controlled command as the container's runtime user. The Docker API is unauthenticated by default, so a single request yields arbitrary command execution. This issue is fixed in version 0.9.0.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-42593. Free for 1 server.

Get started free