CVE-2026-40280
Published:May 05, 2026
Updated:May 16, 2026
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.
Affected Packages
https://github.com/gotenberg/gotenberg.git (GITHUB):
Affected version(s) >=v8.0.0 <v8.31.0Fix Suggestion:
Update to version v8.31.0github.com/gotenberg/gotenberg/v8 (GO):
Affected version(s) >=v8.0.0 <v8.31.0Fix Suggestion:
Update to version v8.31.0github.com/gotenberg/gotenberg/v8 (GO):
Affected version(s) >=v8.0.0 <v8.31.0Fix Suggestion:
Update to version v8.31.0Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Server-Side Request Forgery (SSRF)
EPSS
Base Score:
0.04