CVE-2026-40893
High
Description
Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.31.0, Gotenberg only checks if the tag is exactly FileName, so System:FileName slips right through and ExifTool happily renames the file. This allows remote attackers to move, rename, and change permissions for arbitrary files. This vulnerability is fixed in 8.31.0.
SeverityHigh
CVSS8.2
Exploit probability—
ProductThecodingmachine Gotenberg
PublishedMay 14, 2026
First seenMay 14, 2026
Weakness typeCWE-73CWE-73CWE-184CWE-184
How to fix
Update
- thecodingmachine gotenberg8.31.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| thecodingmachine gotenberg | v < 8.31.0 | 8.31.0 |
| github.com/gotenberg/gotenberg/v8Go | v ≤ 8.30.1, No range specified | — |
| github.com/gotenberg/gotenberg/v7Go | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.