Back to CVE records
Critical 10.0Published May 6, 2026

CVE-2026-40281Gotenberg vulnerable to argument injection via newlines in ExifTool metadata values

Updated under an hour ago ()

Does this affect you?

It affects gotenberg and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
10.0 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H
Weakness (CWE)
CWE-88
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
May 7, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
gotenberg gotenberg
gotenberg:gotenberg (from the name)
through 8.30.1
CNA record
thecodingmachine gotenberg
thecodingmachine:gotenberg
before 8.31.0
NVD

References

  • x-refsource-confirm, exploit, patch, vendor-advisory
  • x-refsource-misc, patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.