{"cve":"CVE-2026-40280","nvd":{"published":"2026-05-05T20:16:38.633","modified":"2026-07-24T21:10:00.143","status":"Analyzed","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/. \n\nThis bypasses the same security control that was patched in CVE-2026-27018.\n\nThis issue has been fixed in version 8.31.0.","cvss_v4":{"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","score":7.8},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-918"],"references":["https://github.com/advisories/GHSA-jjwv-57xh-xr6r","https://github.com/gotenberg/gotenberg/commit/3f01ca18d3cc21375a1e2da4b5a3f261c8548e47","https://github.com/gotenberg/gotenberg/security/advisories/GHSA-5q7p-7jgv-ww56","https://github.com/gotenberg/gotenberg/security/advisories/GHSA-5q7p-7jgv-ww56"],"products":["thecodingmachine:gotenberg"],"source":"nvd","synced_at":"2026-10-19T22:33:55.586217763+00:00"},"epss":{"cve":"CVE-2026-40280","score":0.0195,"percentile":0.80224,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5q7p-7jgv-ww56","url":"https://osv.dev/vulnerability/GHSA-5q7p-7jgv-ww56","summary":"Gotenberg has case-insensitive URL scheme that bypasses webhook and downloadFrom deny-list SSRF protection","modified":"2026-07-08T08:29:24.490940900Z","packages":[{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","ranges":["<8.31.0"],"fixed":["8.31.0"]}]},{"id":"GO-2026-5151","url":"https://osv.dev/vulnerability/GO-2026-5151","summary":"Gotenberg has case-insensitive URL scheme that bypasses webhook and downloadFrom deny-list SSRF protection in github.com/gotenberg/gotenberg","modified":"2026-06-25T18:45:26.692586664Z","packages":[{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v7","purl":"pkg:golang/github.com/gotenberg/gotenberg/v7","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","ranges":["<8.31.0"],"fixed":["8.31.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}