CVE-2026-40281: Gotenberg is a Docker-powered stateless API for PDF files
CVE-2026-40281 is a critical-severity flaw (CVSS 10.0) affecting gotenberg. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 10.0 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.3% (top 17%) |
| CISA exploited list | No |
| Weakness | CWE-88 |
| Published | 2026-05-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: MRdark-ops/CVE-2026-40281-exploit (4 stars)
- GitHub PoC: 0xgh057r3c0n/CVE-2026-40281 (0 stars)
- GitHub PoC: rabakuku/CVE-2026-40281 (0 stars)
- Nuclei scan template: Gotenberg <= 8.30.1 - Remote Code Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40281?
gotenberg: upgrade to 8.31.0. Exact commands for each OS are on this page.
Is CVE-2026-40281 being exploited?
CVE-2026-40281 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40281 affect?
CVE-2026-40281 affects gotenberg. Severity is critical (CVSS 10.0). 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
How urgent is CVE-2026-40281?
Priority 71/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2026-40280 HIGH 7.5 UPGRADE Gotenberg is an API-based document conversion tool
- CVE-2026-39383 HIGH 7.2 UPGRADE Gotenberg is an API-based document conversion tool
- CVE-2026-42597 MEDIUM 5.9 UPGRADE Gotenberg is a Docker-powered stateless API for PDF files
- CVE-2026-42596 CRITICAL 9.4 UPGRADE Gotenberg is a Docker-powered stateless API for PDF files
- CVE-2026-42595 HIGH 8.6 UPGRADE Gotenberg is a Docker-powered stateless API for PDF files