GHSA-q7r4-hc83-hf2q · Severity: critical · Ecosystem: go — Gotenberg has ExifTool stdin argument injection via metadata value newlines (bypass of key sanitization fix)
Gotenberg is a Docker-powered stateless API for PDF files. In versions 8.30.1 and earlier, the metadata write endpoint validates metadata keys for control characters but leaves metadata values unsanitized. A newline character in a metadata value splits the ExifTool stdin line into two separate arguments, allowing injection of arbitrary ExifTool pseudo-tags such as -FileName, -Directory, -SymLink, and -HardLink. This is a bypass of the incomplete key-sanitization fix introduced in v8.30.1. An unauthenticated attacker can rename or move any PDF being processed to an arbitrary path in the container filesystem, overwrite arbitrary files, or create symlinks and hard links at arbitrary paths.
Conclusion & alert: CVE-2026-40281 is rated Exploit Available (57.4/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.02%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-22 | 0.09% | 0.02% | -0.06% |
| 2 | 2026-05-07 | — | 0.09% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 10.0 | 3.1 | CRITICAL |
|
3.9 | 5.8 | [email protected] |
| 9.1 | 3.1 | CRITICAL |
|
3.9 | 5.2 | [email protected] |
GHSA-q7r4-hc83-hf2q · Severity: critical · Ecosystem: go — Gotenberg has ExifTool stdin argument injection via metadata value newlines (bypass of key sanitization fix)
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| thecodingmachine | gotenberg | < 8.31.0 | cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/gotenberg/gotenberg/commit/405f1069c026bb08f319fb5a44e5c67c33208318 | Patch |
| https://github.com/gotenberg/gotenberg/security/advisories/GHSA-q7r4-hc83-hf2q | Exploit Patch Vendor Advisory |