CVE-2026-40281CRITICAL 9.1EPSS p44.5%

CVE-2026-40281CVE-2026-40281

Description

Gotenberg 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.

Scoring

CVSS 3.19.1 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS0.61% probability of exploitation · percentile 44.5% · 2026-06-19T12:03:05Z
Published2026-05-06
Last modified2026-05-11

Underlying weaknesses· 1

CWE-88

References

  1. https://github.com/gotenberg/gotenberg/commit/405f1069c026bb08f319fb5a44e5c67c33208318
  2. https://github.com/gotenberg/gotenberg/security/advisories/GHSA-q7r4-hc83-hf2q
  3. https://github.com/gotenberg/gotenberg/security/advisories/GHSA-q7r4-hc83-hf2q

1

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Argument Delimiters in a Command ('Argument Injection')cwe-880%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-40893
CVE
CVE-2026-42589
CVE
CVE-2026-42590
CVE
CVE-2026-42591
CVE
CVE-2026-42596
CVE
CVE-2026-42595
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.