CVE-2026-42589: Vulnerability in Thecodingmachine Gotenberg
Critical. 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...
Go, CWE-78
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-rqgh-gxv4-6657
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-78
- Published
- 7 May 2026
- Last change
- 11 Nov 2026
- Ecosystem
- Go
Affected products
Affected versions and the first fixed release
- Thecodingmachine Gotenberg Before 8.31.0. Fixed in 8.31.0
Affected packages
Vulnerable version ranges and fixed releases
- github.com/gotenberg/gotenberg/v8 Go, Affected version 8.29.1. No fixed version recorded
Advisories
Vendor and security advisories
Related
- Gotenberg vulnerabilities Recent advisories, watch this product