{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-42589","published":"2026-05-14T16:16:21.867000Z","last_modified":"2026-11-11T20:10:00.273000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-78"],"cpes":[{"criteria":"cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:*","part":"a","vendor":"thecodingmachine","product":"gotenberg","version_end_excluding":"8.31.0"}],"cpes_truncated":false,"vendors":["thecodingmachine"],"products":["thecodingmachine/gotenberg"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-rqgh-gxv4-6657","ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","ranges":[],"versions":["8.29.1"],"versions_truncated":false},{"advisory":"GO-2026-5636","ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","ranges":[{"introduced":"0","fixed":"8.31.0"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-42589/","html_en":"/en/cve/CVE-2026-42589/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-42589","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-42589"},"untrusted":{"vendor_name":"Thecodingmachine","product_name":"Gotenberg","desc_en":"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.","affected":[{"untrusted_vendor":"gotenberg","untrusted_product":"gotenberg","versions":[]}],"references":[{"url":"https://github.com/gotenberg/gotenberg/security/advisories/GHSA-rqgh-gxv4-6657","tags":["Exploit","Mitigation","Vendor Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21483-1","url":"https://www.suse.com/support/update/","published":"2026-07-30T09:09:47+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}}]}