Vulnerability · Published May 5, 2026 · Assigned by GitHub_M

CVE-2026-40280Gotenberg SSRF via case-insensitive URL scheme bypass in webhook and downloadFrom deny-lists

High 7.8

In plain English

A high-severity server-side request forgery in gotenberg from gotenberg. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)7.8High
Exploit odds (30 days)1.9%top 19.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Nuclei

Official description

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 & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/gotenberg/gotenberg/v7no fix listedGO-2026-5151
Gogithub.com/gotenberg/gotenberg/v88.31.0GHSA-5q7p-7jgv-ww56
Gogithub.com/gotenberg/gotenberg/v88.31.0GO-2026-5151

Affected products (as reported)

VendorProductVersions
gotenberg gotenberg <= 8.30.1

Weakness: CWE-918 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N

References