CVE
CVE-2026-42589
- First Reported
- Jun 16, 2026
- Latest Reported
- Jun 16, 2026
CVE Enrichment
- CVSS
- 9.8 CRITICAL
- EPSS
- 3.01%
- EPSS Percentile
- 87.40%
- CISA KEV
- Not listed
Description
Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.31.0, Gotenberg's /forms/pdfengines/metadata/write HTTP endpoint accepts a JSON metadata object and passes its keys directly to ExifTool via the go-exiftool library. No validation is performed on key characters. A \n embedded in a JSON key splits the ExifTool stdin stream into a new argument line, allowing an attacker to inject arbitrary ExifTool flags — including -if, which evaluates Perl expressions. This achieves unauthenticated OS command execution in a single HTTP request. The response is HTTP 200 with a valid PDF, making the attack transparent to basic monitoring. This vulnerability is fixed in 8.31.0.
Technical Details
- CVSS Version
- 3.1
- CNA / NVD Source
- [email protected]
- Published
- 14-May-2026 23:16
- Last Modified
- 17-Jun-2026 17:48
- EPSS Date
- 2026-10-30
- CWE
- CWE-78
CVSS Vector
CVSS:3.1 AV:N /
AC:L /
PR:N /
UI:N /
S:U /
C:H /
I:H /
A:H
Affected Products / Versions
- thecodingmachine / gotenberg
Version / affected range: * · before (exclusive) 8.31.0
cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:*
References
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.
Reported Context (1)
- Gotenberg (CVE-2026-42589 ExifTool argument injection) Sysdig Tracks CTF-Framed LLM Jailbreaks Behind Exploit Attempts on AI Tools
CVE (11)
MITRE ATT&CK (4)
Products (8)
Countries (1)
Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.
