CVE-2026-42589: Gotenberg is a Docker-powered stateless API for PDF files
CVE-2026-42589 is a critical-severity flaw (CVSS 9.8) affecting gotenberg. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 ev
Why this priority
- Critical severity
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 3.0% (top 13%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2026-05-14 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: fineman999/POC_CVE-2026-42589 (3 stars)
- GitHub PoC: HackfutSecRoot/-GOTENBERG-RCE-CHAIN (2 stars)
- GitHub PoC: codeb0ssx/CVE-2026-42589xCVE-2026-40281-PoC (0 stars)
- Write-up: github.com/gotenberg/gotenberg/security/advisories/GHSA-rqgh-gxv4-6657
- Nuclei scan template: Gotenberg - Command Injection
Advisories and coverage
Research and news
- VulnCheck Blog: Cache Me If You Can: Unpacking a Go Implant and Its Toolkit 2026-10-26
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-42589?
gotenberg: upgrade to 8.31.0. Exact commands for each OS are on this page.
Is CVE-2026-42589 being exploited?
CVE-2026-42589 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-42589 affect?
CVE-2026-42589 affects gotenberg. Severity is critical (CVSS 9.8). 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 v
How urgent is CVE-2026-42589?
Priority 74/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2026-40280 HIGH 7.5 UPGRADE Gotenberg is an API-based document conversion tool
- CVE-2026-39383 HIGH 7.2 UPGRADE Gotenberg is an API-based document conversion tool
- CVE-2026-42597 MEDIUM 5.9 UPGRADE Gotenberg is a Docker-powered stateless API for PDF files
- CVE-2026-42596 CRITICAL 9.4 UPGRADE Gotenberg is a Docker-powered stateless API for PDF files
- CVE-2026-42595 HIGH 8.6 UPGRADE Gotenberg is a Docker-powered stateless API for PDF files