GHSA-rqgh-gxv4-6657 · Severity: critical · Ecosystem: go — Gotenberg has Unauthenticated RCE via ExifTool Metadata Key Injection
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.
Conclusion & alert: CVE-2026-42589 is rated High Exploit Risk (91.6/100): CVSS Critical severity, with high exploitation likelihood (EPSS 8.77%, 93th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +8.71% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-02 | 0.06% | 8.77% | +8.71% |
| 2 | 2026-05-20 | 0.04% | 0.06% | +0.01% |
| 3 | 2026-05-19 | — | 0.04% | — |
Full EPSS history (4 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-rqgh-gxv4-6657 · Severity: critical · Ecosystem: go — Gotenberg has Unauthenticated RCE via ExifTool Metadata Key Injection
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| thecodingmachine | gotenberg | < 8.31.0 | cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/gotenberg/gotenberg/security/advisories/GHSA-rqgh-gxv4-6657 | Exploit Mitigation Vendor Advisory |