Live threats

All CVEs / Thecodingmachine

CVE-2026-40280Thecodingmachine Gotenberg

High 7.8 No auth needed

Priority
62
CVSS 4.0
7.8
EPSS
—
Auth required
No
Published
May 5, 2026
Updated
Jul 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-918
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gotenberg.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/gotenberg/gotenberg/v7 all no fixed version —
Go github.com/gotenberg/gotenberg/v8 < 8.31.0 8.31.0 go get github.com/gotenberg/gotenberg/v8@v8.31.0
Go github.com/gotenberg/gotenberg/v8 < 8.31.0 8.31.0 go get github.com/gotenberg/gotenberg/v8@v8.31.0

Per OSV / GitHub Advisories (GO-2026-5151, GHSA-5q7p-7jgv-ww56). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
thecodingmachinegotenberg< 8.31.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.