Skip to main content
← All vulnerabilities
CVE-2026-40280GHSA-5Q7P-7JGV-WW56GO-2026-5151

Gotenberg SSRF via case-insensitive URL scheme bypass in webhook and downloadFrom deny-lists

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.31.0
1 Nuclei template
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • gotenberg gotenberg

    through 8.30.1

  • github.com/gotenberg/gotenberg/v8Go

    fixed in 8.31.0

  • github.com/gotenberg/gotenberg/v7Go

    All versions

References 4

GitHub · gotenberg/gotenberg

GitHub Advisory Database

GitHub · projectdiscovery/nuclei-templates