{
  "id": "CVE-2026-40280",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-40280",
  "published_at": "2026-05-05T19:52:40.327Z",
  "title": "Gotenberg SSRF via case-insensitive URL scheme bypass in webhook and downloadFrom deny-lists",
  "vendor": "gotenberg",
  "product": "gotenberg",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-08-06T06:21:01Z",
    "first_seen_at": null,
    "days_after_publication": 92.4,
    "source": "nuclei",
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-40280.yaml"
  },
  "poc_repo_count": 0,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-918",
  "cpes": [
    "cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "gotenberg",
        "product": "gotenberg",
        "ranges": [
          "\u003c= 8.30.1"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "github.com/gotenberg/gotenberg/v8",
        "ranges": [
          "\u003c 8.31.0"
        ],
        "fixed_in": [
          "8.31.0"
        ],
        "ecosystem": "Go",
        "advisory": "GHSA-5q7p-7jgv-ww56"
      }
    ],
    "upgrade": [
      "Upgrade github.com/gotenberg/gotenberg/v8 to 8.31.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/gotenberg/gotenberg/security/advisories/GHSA-5q7p-7jgv-ww56"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/gotenberg/gotenberg/commit/3f01ca18d3cc21375a1e2da4b5a3f261c8548e47"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/advisories/GHSA-jjwv-57xh-xr6r"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-40280.yaml",
      "source": "nuclei",
      "title": "nuclei template: Gotenberg \u003c= 8.30.1 - Server Side Request Forgery",
      "published_at": "2026-08-06T06:21:01Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
