CVE Explorer
CVE-2026-42589
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 unauthenti
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"gotenberg","vendor":"gotenberg","versions":[{"status":"affected","version":"< 8.31.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:aa1e02a099366feb1ab4a7dffb2dc1669db66855a9a996c4433cd88697345d76 · sha256:2cc8f0df8483a435… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:aa1e02a099366feb1ab4a7dffb2dc1669db66855a9a996c4433cd88697345d76 · sha256:2cc8f0df8483a435… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:aa1e02a099366feb1ab4a7dffb2dc1669db66855a9a996c4433cd88697345d76 · sha256:2cc8f0df8483a435… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["exploit"],"url":"https://github.com/gotenberg/gotenberg/security/advisories/GHSA-rqgh-gxv4-6657"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:aa1e02a099366feb1ab4a7dffb2dc1669db66855a9a996c4433cd88697345d76 · sha256:2cc8f0df8483a435… · /containers/adp/0/references/0
{"name":"https://github.com/gotenberg/gotenberg/security/advisories/GHSA-rqgh-gxv4-6657","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gotenberg/gotenberg/security/advisories/GHSA-rqgh-gxv4-6657"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:aa1e02a099366feb1ab4a7dffb2dc1669db66855a9a996c4433cd88697345d76 · sha256:2cc8f0df8483a435… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.