CVE-2026-40280

HIGH CVSS 4.0: 7.8 EPSS 1.95%
Updated Jul 25, 2026
Thecodingmachine
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions before 8.31.0
Fixed In 8.31.0
Type CWE-918 (Server-Side Request Forgery (SSRF))
Vendor Thecodingmachine
Public PoC No

Gotenberg is an API-based document conversion tool. In versions 8.30.1 and earlier, the default private-IP deny-lists for the --webhook-deny-list and --api-download-from-deny-list flags use a case-sensitive regular expression (^https?://) to match URL schemes. Because Go's net/url.Parse() normalizes the scheme to lowercase before establishing the outbound TCP connection, an attacker can bypass the deny-list by simply capitalizing part of the URL scheme (e.g., HTTP://, HTTPS://, or Http://).

This allows unauthenticated requests to reach internal network services, including private IP ranges, loopback addresses, and cloud instance metadata endpoints such as HTTP://169.254.169.254/latest/meta-data/. This bypasses the same security control that was patched in CVE-2026-27018. This issue has been fixed in version 8.31.0.

Attack Parameters

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

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

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