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.
CVE-2026-42589
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-05-07. NVD baseline CVSS 9.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 75(Attend)EG Risk 75/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 3%
- EPSS %ILE
- 87%
- KEV
- Not listed
Published
May 14, 2026
Last Modified
May 18, 2026
Advisory Details (1)
Auto-updated Sep 9, 2026Unauthenticated RCE in Gotenberg via ExifTool Metadata Key Injection · Advisory · gotenberg/gotenberg · GitHub
https://github.com/gotenberg/gotenberg/security/advisories/GHSA-rqgh-gxv4-6657Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| go | github.com/gotenberg/gotenberg/v8 | — | ghsa |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(2 across 1 ecosystem)
Go(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/gotenberg/gotenberg/v7 | — | — | — |
| github.com/gotenberg/gotenberg/v8 | 8.29.1 | — | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 37× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 320 total refreshes for this CVE.
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-12 15:01 UTCEPSS rescore
- 2026-09-11 18:23 UTCOSV refresh
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:37 UTCEPSS rescore
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-23 21:44 UTCGHSA enrichment
- 2026-08-23 17:40 UTCEG score recompute
- 2026-08-23 17:40 UTCGHSA enrichment
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 01:52 UTCEG score recompute
- 2026-08-22 01:52 UTCGHSA enrichment
- 2026-08-21 23:49 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 19:37 UTCEG score recompute
- 2026-08-20 19:37 UTCGHSA enrichment
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 14:41 UTCEG score recompute
- 2026-08-17 14:41 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 10:24 UTCEG score recompute
- 2026-08-17 10:24 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 12:03 UTCGHSA enrichment
- 2026-08-16 08:00 UTCGHSA enrichment
- 2026-08-16 03:57 UTCEG score recompute
- 2026-08-16 03:57 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 22:46 UTCGHSA enrichment
- 2026-08-14 18:43 UTCGHSA enrichment
- 2026-08-14 14:35 UTCGHSA enrichment
- 2026-08-14 10:32 UTCGHSA enrichment
- 2026-08-14 06:29 UTCGHSA enrichment
- 2026-08-14 02:25 UTCEG score recompute
- 2026-08-14 02:25 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 08:15 UTCGHSA enrichment
- 2026-08-13 03:09 UTCGHSA enrichment
- 2026-08-12 23:06 UTCGHSA enrichment
- 2026-08-12 19:03 UTCGHSA enrichment
- 2026-08-12 14:59 UTCEG score recompute
- 2026-08-12 14:59 UTCGHSA enrichment
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 23:31 UTCGHSA enrichment
- 2026-08-11 19:28 UTCGHSA enrichment
- 2026-08-11 15:25 UTCEG score recompute
- 2026-08-11 15:25 UTCGHSA enrichment
- 2026-08-11 13:43 UTCEPSS rescore
- 2026-08-11 08:58 UTCGHSA enrichment
- 2026-08-11 04:55 UTCGHSA enrichment
- 2026-08-11 00:53 UTCEG score recompute
- 2026-08-11 00:53 UTCGHSA enrichment
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 11:28 UTCGHSA enrichment
- 2026-08-10 06:44 UTCGHSA enrichment
- 2026-08-10 02:41 UTCGHSA enrichment
- 2026-08-09 22:37 UTCGHSA enrichment
- 2026-08-09 18:34 UTCGHSA enrichment
- 2026-08-09 14:31 UTCEG score recompute
- 2026-08-09 14:31 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 10:27 UTCGHSA enrichment
- 2026-08-09 05:53 UTCGHSA enrichment
- 2026-08-09 01:50 UTCEG score recompute
- 2026-08-09 01:50 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 11:08 UTCGHSA enrichment
- 2026-08-08 07:05 UTCGHSA enrichment
- 2026-08-08 03:02 UTCGHSA enrichment
- 2026-08-07 22:59 UTCGHSA enrichment
- 2026-08-07 18:56 UTCEG score recompute
- 2026-08-07 18:56 UTCGHSA enrichment
- 2026-08-07 14:52 UTCGHSA enrichment
- 2026-08-07 10:50 UTCGHSA enrichment
- 2026-08-07 06:36 UTCGHSA enrichment
- 2026-08-07 01:20 UTCGHSA enrichment
- 2026-08-06 18:30 UTCGHSA enrichment
- 2026-08-06 14:27 UTCEG score recompute
- 2026-08-06 14:27 UTCGHSA enrichment
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-06 09:56 UTCGHSA enrichment
- 2026-08-06 05:43 UTCGHSA enrichment
- 2026-08-06 01:40 UTCGHSA enrichment
- 2026-08-05 21:37 UTCEG score recompute
- 2026-08-05 21:37 UTCGHSA enrichment
- 2026-08-05 19:17 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain. Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Nucleihttp/cves/2026/CVE-2026-42589.yamlFirst seen Jan 1, 2026
Gotenberg - Command Injection
Open source ↗
Related CVEs(same product + same CWE)
Same product
6 showngo:github.com/gotenberg/gotenberg/v8
Same CWE
10 shownCWE-78
- CVE-2009-20011EG 10.0CRITICAL
- CVE-2011-10017EG 10.0CRITICAL
- CVE-2012-1166EG 10.0EPSS p91HIGH
- CVE-2012-2976EG 10.0EPSS p92HIGH
- CVE-2012-2953EG 10.0EPSS p99HIGH
- CVE-2011-4502EG 10.0EPSS p92HIGH
- CVE-2011-2148EG 10.0EPSS p92HIGH
- CVE-2011-0382EG 10.0EPSS p90HIGH
- CVE-2011-0381EG 10.0EPSS p92HIGH
- CVE-2011-0372EG 10.0HIGH
Frequently asked(5)
What is CVE-2026-42589?
When was CVE-2026-42589 disclosed?
Is CVE-2026-42589 actively exploited?
What is the CVSS score of CVE-2026-42589?
How do I remediate CVE-2026-42589?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-42589
Is Your Infrastructure Affected by CVE-2026-42589?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.