CVE-2026-40280 in Thecodingmachine Gotenberg
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 lo...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Thecodingmachine | Gotenberg | < 8.31.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-40280 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-270717-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2026-05-05 |
| Last modified | 2026-07-24 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-918: Server-Side Request Forgery (SSRF)
Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.
Related attack patterns (CAPEC)
CAPEC-664 Server Side Request Forgery via CWE-918
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2026-40280 affects Gotenberg versions 8.30.1 and earlier, where an attacker can bypass the default private-IP deny-lists for the --webhook-deny-list and --api-download-from-deny-list flags due to a case-sensitive regular expression mismatch.
An attacker can exploit this vulnerability by using a URL with an uppercase scheme (e.g., HTTPS://) which is not matched by the case-sensitive regular expression (^https?://) used in the deny-lists. This allows the attacker to potentially access private IPs that should be blocked.
Questions
What is CVE-2026-40280?
CVE-2026-40280 affects Gotenberg versions 8.30.1 and earlier, where an attacker can bypass the default private-IP deny-lists for the --webhook-deny-list and --api-download-from-deny-list flags due to a case-sensitive regular expression mismatch.
What is the CVSS score for CVE-2026-40280?
CVE-2026-40280 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 2.1%.
Is CVE-2026-40280 actively exploited?
No confirmed active exploitation of CVE-2026-40280 as of 2026-07-25.
How do I remediate CVE-2026-40280?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-40280?
CVE-2026-40280 affects Thecodingmachine Gotenberg.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Thecodingmachine","product":"Gotenberg","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-24.