Gotenberg - SSRF (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.
psychologyCrowdSec Analysis
CVE-2026-40280 is a server-side request forgery (SSRF) vulnerability in Gotenberg 8.30.1 and earlier that allows unauthenticated attackers to bypass private-IP deny-lists by using mixed- or uppercase URL schemes. Successful exploitation can expose internal services, loopback systems, private network resources, and cloud instance metadata endpoints, potentially enabling reconnaissance and access to sensitive internal information. The issue is fixed in Gotenberg 8.31.0.
CrowdSec has been tracking this vulnerability and its exploits since 25th of August 2026.
Insights from the CrowdSec network reveal that the attackers trying to exploit CVE-2026-40280 are composed of a fairly even mix of opportunistic and targeted actors. Some attackers employ preliminary reconnaissance, while others use indiscriminate scanning. Additionally, according to week-over-week analysis by CrowdSec, exploitation of CVE-2026-40280 is surging. Attack volumes are spiking well above historical norms, indicating widespread and escalating interest from threat actors. CVE-2026-40280 is currently experiencing high visibility and active exploitation across the internet.
Attackers target Gotenberg’s /forms/chromium/convert/html endpoint and abuse the multipart downloadFrom parameter to induce server-side requests to attacker-controlled or internal URLs. Mixed-case schemes such as HTTP:// or HTTPS:// can bypass case-sensitive deny-lists, enabling unauthenticated access to private services, loopback addresses, and cloud metadata endpoints.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2026-05-05 |
| Rule Released | 2026-08-25 |
| CrowdSec First Seen | 2026-08-28 |
Remediation & Protection
External 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/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-40280.yaml