Command injection in gotenberg - CVE-2026-40281

 

Command injection in gotenberg - CVE-2026-40281

Published: May 5, 2026


Vulnerability identifier: #VU129631
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-40281
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary commands and cause a denial of service.

The vulnerability exists due to improper neutralization of special elements in ExifTool argument handling in gotenberg when processing metadata values containing newline characters from user-supplied input. A remote attacker can supply a specially crafted metadata value to execute arbitrary commands and cause a denial of service.

The issue is a bypass of the key sanitization logic for stdin arguments via metadata value newlines.


Affected software

gotenberg

How to mitigate CVE-2026-40281

Install security update from vendor's website.

gotenberg - update to 8.31.0

External References

Related Security Bulletins