cve.bz

CVE-2026-40280

7.8 highEPSS 1.9%

High (7.8) in thecodingmachine gotenberg. EPSS 1.9% chance of exploitation in the next 30 days. Fixed in github.com/gotenberg/gotenberg/v8 8.31.0.

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.

Severity

CVSS 4.0

7.8 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.9% chance of exploitation in the next 30 days; higher than 80% of CVEs (scores of 2026-10-31)
CWE
CWE-918
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5q7p-7jgv-ww56Gogithub.com/gotenberg/gotenberg/v8<8.31.08.31.0
GO-2026-5151Gogithub.com/gotenberg/gotenberg/v7all versionsno fix published
GO-2026-5151Gogithub.com/gotenberg/gotenberg/v8<8.31.08.31.0

References

Check your stackJSON