Skip to content
Vulnerability Intelligence

CVE-2026-40280

HighPublic exploit

Gotenberg has case-insensitive URL scheme that bypasses webhook and downloadFrom deny-list SSRF protection

Published Apr 30, 2026 · Updated Aug 12, 2026 · Also known as GHSA-5q7p-7jgv-ww56, GO-2026-5151

Key Facts

Patch immediately
  • CVE-2026-40280 is a high-severity vulnerability (CVSS 7.8 v4) affecting Gotenberg (Thecodingmachine), github.com/gotenberg/gotenberg/v7 (go), github.com/gotenberg/gotenberg/v8 (go).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 2.1% probability of exploitation in the next 30 days.
  • Fixed versions are available, including github.com/gotenberg/gotenberg/v8 8.31.0, Gotenberg 8.31.0.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

CVSS v4

7.8

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

EPSS (30-day exploit likelihood)

2.1%

Higher than 81.5% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2026-40280 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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 Products

4 affected entries in total
ProductAffected versionsFixed in
GotenbergThecodingmachine>= <= 8.30.18.31.0
github.com/gotenberg/gotenberg/v7goSee advisoryn/a
github.com/gotenberg/gotenberg/v8goSee advisory8.31.0

Patched Releases

github.com/gotenberg/gotenberg/v8

8.31.0

Gotenberg

8.31.0

Timeline

  1. Publicly disclosed

    Apr 30, 2026

  2. Last updated

    Aug 12, 2026

Weakness Type

  • CWE-918 Server-Side Request Forgery (SSRF)

References

3 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2026-40280 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo