Skip to main content

Gotenberg CVE-2026-27018

| EUVDEUVD-2026-17198 HIGH
Path Traversal (CWE-22)
2026-03-30 https://github.com/gotenberg/gotenberg GHSA-jjwv-57xh-xr6r
7.8
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Identify exposed Gotenberg API
  2. Delivery
    Send POST with FILE:// URL
  3. Exploit
    Bypass case-sensitive deny-list
  4. Execution
    Chromium normalizes scheme to lowercase
  5. Persist
    Read arbitrary container file
  6. Impact
    Exfiltrate sensitive data via PDF response

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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 API endpoint (default port 3000, paths /forms/chromium/convert/url or /forms/chromium/convert/html) to be network-accessible to the attacker - either exposed to the internet, accessible from a compromised internal system, or reachable via SSRF in another application. The service must be running a vulnerable version (< 8.29.0) with the default deny-list configuration (^file:(?!//\/tmp/).*) or any case-sensitive custom deny-list that does not include the (?i) flag. No authentication is required per CVSS vector CVSS:4.0/PR:N. No user interaction is required per UI:N. Exploitation is NOT limited by: requiring administrative access to the Gotenberg container (attacker operates remotely), needing specific Chromium flags enabled (default configuration is vulnerable), or requiring HTTPS/TLS (HTTP endpoints are equally vulnerable). The vulnerability is particularly impactful in containerized environments where sensitive data exists in /proc, /run/secrets, or mounted volumes outside the /tmp exclusion path.

Impact

Real-world risk requires careful assessment of conflicting signals. CVSS 7.8 HIGH with vector CVSS:4.0/AV:N/AC:L/PR:N/UI:N indicates severe baseline scoring - network-accessible, low complexity, no authentication, no user interaction required. SSVC framework confirms automatable:yes and exploitation:poc, supporting weaponization potential. However, EPSS score of 0.02% (4th percentile) suggests minimal observed exploitation activity despite public POC availability since GitHub advisory publication. This discrepancy indicates the vulnerability affects a specialized tool (PDF conversion service) with limited internet exposure - most Gotenberg instances run internally or behind authentication layers not captured in the CVSS vector. The vulnerability is a regression/bypass of CVE-2024-21527, suggesting organizations that patched the original issue may have false confidence. Primary risk exists where Gotenberg containers share environments with sensitive data (Kubernetes secrets, AWS metadata endpoints, application configs). Not a widespread internet threat, but critical for affected deployments given unauthenticated arbitrary file read capability. Patch adoption should be prioritized over compensating controls given the straightforward fix.

Exploit ScenarioDerived

An unauthenticated attacker sends a POST request to the publicly accessible Gotenberg API endpoint /forms/chromium/convert/url with the parameter url=FILE:///etc/passwd. The deny-list filter checks the URL against the case-sensitive regex ^file:(?!//\/tmp/).* and allows it through because FILE: (uppercase) does not match file: (lowercase). Chromium then normalizes the scheme to lowercase and renders the contents of /etc/passwd into a PDF, which is returned to the attacker. The attacker repeats this process to exfiltrate environment variables (FILE:///proc/self/environ), cloud metadata (FILE:///run/secrets/kubernetes.io/serviceaccount/token in Kubernetes), or application configuration files, gaining credentials for lateral movement. POC code is publicly available in the GitHub advisory, lowering the skill barrier for exploitation.

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

AnalysisAIv2 – Apr 29, 2026

Arbitrary file read in Gotenberg versions prior to 8.29.0 allows unauthenticated remote attackers to bypass URL deny-list protections and access sensitive container files via case-variant URI schemes. The default deny-list regex ^file:(?!//\/tmp/).* only matches lowercase 'file:', but Chromium normalizes mixed-case schemes (FILE://, File://, fILE://) to lowercase after the deny-list check, enabling access to /etc/passwd, environment variables, and configuration files. This bypasses the incomplete fix for CVE-2024-21527. Vendor-released patch available in version 8.29.0. POC confirmed in GitHub advisory. EPSS exploitation probability is low (0.02%) despite public POC, suggesting limited real-world targeting to date.

Earlier versions of this analysis (1)
v1 Mar 30, 2026 - 16:30 CVSS 8.8

Gotenberg PDF conversion service versions 8.1.0-8.28.x allow unauthenticated arbitrary file disclosure through case-variant URI scheme bypass. A previous CVE-2024-21527 patch implemented a case-sensitive deny-list regex (^file:(?!//\/tmp/).*) to block file:// access, but attackers can bypass it using FILE://, File://, or other mixed-case variants. Chromium normalizes schemes to lowercase after the deny-list check, enabling reads of /etc/passwd, credentials, environment variables, and other container filesystem contents via both the URL conversion endpoint and HTML iframes. GHSA-jjwv-57xh-xr6r confirms patches in commits 06b2b2e and 8625a4e, with fixed release v8.29.0. No KEV listing or public exploit code identified at time of analysis, but proof-of-concept steps in the advisory enable trivial reproduction.

RemediationAI

Upgrade to Gotenberg version 8.29.0 or later, available at https://github.com/gotenberg/gotenberg/releases/tag/v8.29.0. The fix modifies the default deny-list regex to include case-insensitive matching flag (?i)^file:(?!//\/tmp/).* as implemented in commits 06b2b2e10c52b58135edbfe82e94d599eb0c5a11 and 8625a4e899eb75e6fcf46d28394334c7fd79fff5. For environments unable to immediately upgrade, implement network-level controls to restrict Gotenberg API access to authenticated internal services only - do not expose ports 3000 or custom Gotenberg ports to untrusted networks. Deploy Gotenberg containers with minimal filesystem access using read-only root filesystems and volume mounts limited to /tmp with noexec flags where business logic permits. Configure custom --chromium-deny-list with case-insensitive patterns if running version 8.1.0-8.28.x, though this requires source modification since the flag itself was case-sensitive. Note that deny-list workarounds are fragile - upgrade is strongly preferred over compensating controls. Organizations using SUSE-based distributions should monitor https://www.suse.com/support/update/SUSE-SU-2026:1205/ for packaged updates.

Affected VersionsENISA

gotenberg < 8.29.0

Affected Packages

go github.com/gotenberg/gotenberg/v7 no fix
go github.com/gotenberg/gotenberg/v8 fix: 8.29.0
euvd gotenberg fix: 8.29.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-based API service that converts HTML, Markdown, and URLs to PDF using headless Chromium. The vulnerability stems from a case-sensitivity mismatch in regular expression filtering within the pkg/gotenberg/filter.go module. The deny-list is compiled using regexp2.MustCompile with flag value 0 (case-sensitive matching), while RFC 3986 Section 3.1 specifies that URI schemes are case-insensitive. Chromium's navigation handler normalizes all URL schemes to lowercase before processing, creating a TOCTOU (time-of-check-time-of-use) vulnerability. The attacker-controlled URL passes through the case-sensitive regex filter unchanged (FILE:// does not match ^file:), then Chromium converts it to file:// for actual resource access. This is classified as CWE-22 (Path Traversal) because it enables unauthorized file system access through improper input validation. The affected package identifier is pkg:go/github.com_gotenberg_gotenberg_v8, indicating this is a Go module dependency vulnerability.

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

GitHub Advisory PRIMARY 7.8 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

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

Lifecycle Timeline

4
Analysis Updated
Apr 29, 2026 - 01:33 vuln.today
v2 - CVSS changed
CVSS changed
Apr 29, 2026 - 01:11 NVD
8.8 (HIGH) 7.8 (HIGH)
Patch released
Mar 30, 2026 - 16:30 nvd
Patch available
CVE Published
Mar 30, 2026 - 16:16 nvd
HIGH 8.8

DescriptionGitHub Advisory

Impact

The fix introduced in version 8.1.0 for GHSA-rh2x-ccvw-q7r3 (CVE-2024-21527) can be bypassed using mixed-case or uppercase URL schemes.

The default --chromium-deny-list value is ^file:(?!//\/tmp/).*. This regex is anchored to lowercase file: at the start. However, per RFC 3986 Section 3.1, URI schemes are case-insensitive. Chromium normalizes the scheme to lowercase before navigation, so a URL like FILE:///etc/passwd or File:///etc/passwd bypasses the deny-list check but still gets resolved by Chromium as file:///etc/passwd.

The root cause is in pkg/gotenberg/filter.go - the FilterDeadline function compiles the deny-list regex with regexp2.MustCompile(denied.String(), 0), where 0 means no flags (case-sensitive). Since the regex pattern itself doesn't include a (?i) flag, matching is strictly case-sensitive.

This affects both the URL endpoint and HTML conversion (via iframes, link tags, etc.).

Steps to Reproduce

  1. Start Gotenberg with default settings:
bash
docker run --rm -p 3000:3000 gotenberg/gotenberg:8.26.0 gotenberg
  1. Read /etc/passwd via the URL endpoint using an uppercase scheme:
bash
curl -X POST 'http://localhost:3000/forms/chromium/convert/url' \
  --form 'url=FILE:///etc/passwd' -o output.pdf
  1. Open output.pdf - it contains the contents of /etc/passwd.
  2. Alternatively, create an index.html:
html
<iframe src="FILE:///etc/passwd" width="100%" height="100%"></iframe>

Then convert it:

bash
curl -X POST 'http://localhost:3000/forms/chromium/convert/html' \
  -F 'files=@index.html' -o output.pdf
  1. The resulting PDF contains /etc/passwd contents.

Mixed-case variants like File:, fILE:, fiLE: etc. all work as well.

Root Cause

  • pkg/modules/chromium/chromium.go defines the default deny-list as ^file:(?!//\/tmp/).*
  • pkg/gotenberg/filter.go compiles this with regexp2.MustCompile(denied.String(), 0) - flag 0 means case-sensitive
  • pkg/modules/chromium/events.go uses FilterDeadline to check intercepted request URLs against the deny-list
  • Chromium normalizes URL schemes to lowercase, so FILE:///etc/passwd becomes file:///etc/passwd after the deny-list check has already passed

Suggested Fix

Change the default deny-list regex to use a case-insensitive flag:

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

Or apply case-insensitive matching in FilterDeadline when compiling the regex.

Severity

This is effectively the same impact as CVE-2024-21527 - unauthenticated arbitrary file read from the Gotenberg container. An attacker can leak environment variables, configuration, credentials, and other sensitive data.

Executive ViewAI

Why It Matters

Gotenberg versions prior to 8.29.0 contain an arbitrary file read vulnerability that allows unauthenticated attackers to access sensitive system files including /etc/passwd and environment variables by exploiting case-variant URI scheme handling that bypasses the deny-list protection. Organizations running Gotenberg for document conversion or PDF generation face direct exposure to credential theft and configuration disclosure without immediate patching.

Business Impact: High
Compensating Controls

Vendor-released patch: Gotenberg 8.29.0. If immediate upgrade is not possible, implement network-level restrictions to limit Gotenberg API access to trusted internal systems only and disable or restrict the URL conversion feature pending patch deployment.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% 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.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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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: High
Product Status
openSUSE Leap 15.6 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP5 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP6 Fixed
openSUSE Leap 15.5 Fixed

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