CVE-2026-40280
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.
Weakness
- CWE-918: Server-Side Request Forgery
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-05-06 |
Timeline
- 2026-04-30GitHub advisory published (GHSA-5q7p-7jgv-ww56)5 days before publication
- 2026-05-05Published by the CNA19:52 UTC
- 2026-05-06CISA SSVC decision recorded1 day after publication
Exploit and advisory records
Nuclei templates:
- CVE-2026-40280: Gotenberg <= 8.30.1 - Server Side Request Forgery
GitHub advisory GHSA-5q7p-7jgv-ww56, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/gotenberg/gotenberg/v8 | before 8.31.0 | 8.31.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| thecodingmachine gotenberg | before 8.31.0fixed in 8.31.0 | 8.31.0 |
References
- https://github.com/gotenberg/gotenberg/commit/3f01ca18d3cc21375a1e2da4b5a3f261c8548e47
- https://github.com/gotenberg/gotenberg/security/advisories/GHSA-5q7p-7jgv-ww56
- https://github.com/advisories/GHSA-jjwv-57xh-xr6r
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-40280'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-40280'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-40280'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-40280'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).