CVE-2026-42589
🟠MediumGotenberg (stateless PDF conversion API, default port 3000). Detection note: the endpoint answers HTTP 200 with a valid PDF, so anything monitoring status codes sees nothing · < 8.31.0. The sources diverge: the GitHub advisory names 8.29.1 as the then-default for the :8 tag and one write-up gives the exploited range as 8.17.0 to 8.30.1 ; use < 8.31.0 for triage
87.68th percentile
Exploitation
/tmp/polkitd/ plus a root systemd-polkitd.service with /usr/bin/polkitd.d/, operator host 107.175.69.137 on ports 18888, 19999 and 13337, with two shared MoneroOcean pools that should be hunted rather than blocklisted. No named actor ; the malware is commodity. Source caveat: this rests on a single independent researcher working from the operator's own recovered scripts, logs and target lists cross-checked against captured traffic, not on a vendor or CERT, and whether exploitation continued past 31/08/2026 is not known. Re-tested on 06/11/2026: the campaign of 31/08/2026 is 67 days old, outside the 60-day window, so this row is demoted 🔴 → 🟠. Nothing read in this re-check dates exploitation after 07/09/2026. The flaw is still exploited-in-the-wild history with a patch available ; what changed is the age of the evidence, not the facts. A search for later Gotenberg exploitation returned only vulnerability-database aggregators and no incident reporting, and the record is unchanged since 14/05/2026, still no KEV entry and still SSVC poc. The single-source caveat below therefore stands unresolved. There was never a gap between disclosure and weaponisation: the vendor advisory itself publishes working PoC material, and a public chained-exploit repository also existsTimeline
- 14/05/2026CVE record published (CVE List)
- 30/10/2026ThreatsDay roundup — additional exploited CVEs
Risk
/forms/pdfengines/metadata/write endpoint passes JSON metadata keys to ExifTool without character validation, so a newline in a key splits the argument stream and lets an attacker inject ExifTool flags, notably -if, which evaluates Perl. One unauthenticated HTTP request gives OS command execution as the Gotenberg user)Fix
System:-prefixed tags. The upgrade has teeth beyond the CVE: the release notes never mention this CVE or the advisory ID ; dropping System: tags is a breaking change ; the same release ships breaking SSRF hardening plus a default webhook deny-list covering loopback, RFC1918, link-local and IPv6 ULA, so a deployment that uses internal addresses breaks on upgrade unless the override flags are set first ; and thecodingmachine/gotenberg images are no longer published, so pull gotenberg/gotenberg. A companion advisory covers the same injection class in the underlying go-exiftool library, so fixing Gotenberg does not fix other consumersOfficial description
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-78