Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Gotenberg API
-
DeliverySend POST with FILE:// URL
-
ExploitBypass case-sensitive deny-list
-
ExecutionChromium normalizes scheme to lowercase
-
PersistRead arbitrary container file
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
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 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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
4DescriptionGitHub 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
- Start Gotenberg with default settings:
docker run --rm -p 3000:3000 gotenberg/gotenberg:8.26.0 gotenberg- Read
/etc/passwdvia the URL endpoint using an uppercase scheme:
curl -X POST 'http://localhost:3000/forms/chromium/convert/url' \
--form 'url=FILE:///etc/passwd' -o output.pdf- Open
output.pdf- it contains the contents of/etc/passwd. - Alternatively, create an
index.html:
<iframe src="FILE:///etc/passwd" width="100%" height="100%"></iframe>Then convert it:
curl -X POST 'http://localhost:3000/forms/chromium/convert/html' \
-F 'files=@index.html' -o output.pdf- The resulting PDF contains
/etc/passwdcontents.
Mixed-case variants like File:, fILE:, fiLE: etc. all work as well.
Root Cause
pkg/modules/chromium/chromium.godefines the default deny-list as^file:(?!//\/tmp/).*pkg/gotenberg/filter.gocompiles this withregexp2.MustCompile(denied.String(), 0)- flag0means case-sensitivepkg/modules/chromium/events.gousesFilterDeadlineto check intercepted request URLs against the deny-list- Chromium normalizes URL schemes to lowercase, so
FILE:///etc/passwdbecomesfile:///etc/passwdafter 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
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.
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
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
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.
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-22 – Path Traversal
View allSame technique Information Disclosure
View allVendor 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 |
EUVD-2026-17198
GHSA-jjwv-57xh-xr6r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB