CVE-2026-40893

HIGH CVSS 3.1: 8.2 EPSS 0.35%
Updated Jun 17, 2026
Thecodingmachine
Parameter Value
CVSS 8.2 (HIGH)
Affected Versions before 8.31.0
Fixed In 8.31.0
Type CWE-73 (External Control of File Name or Path), CWE-184
Vendor Thecodingmachine
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
Low
Partial disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Thecodingmachine Gotenberg
cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:*
— 8.31.0