CVE-2026-27018

CVE-2026-27018 is a high-severity path traversal vulnerability in github.com/gotenberg/gotenberg/v8 (go), affecting versions < 8.29.0. It is fixed in 8.29.0.

Summary

Gotenberg has Chromium deny-list bypass via case-insensitive URL scheme (bypass of GHSA-rh2x-ccvw-q7r3)

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.).

Input manipulates file paths to reach files outside the intended directory, such as configuration or credential files. Typical impact: unauthorized file read or write outside the intended directory.

Affected versions

github.com/gotenberg/gotenberg/v8 (< 8.29.0) github.com/gotenberg/gotenberg/v7 (<= 7.10.2)

Security releases

github.com/gotenberg/gotenberg/v8 → 8.29.0 (go)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

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.

Frequently Asked Questions

  1. What is CVE-2026-27018? CVE-2026-27018 is a high-severity path traversal vulnerability in github.com/gotenberg/gotenberg/v8 (go), affecting versions < 8.29.0. It is fixed in 8.29.0. Input manipulates file paths to reach files outside the intended directory, such as configuration or credential files.
  2. Which packages are affected by CVE-2026-27018?
    • github.com/gotenberg/gotenberg/v8 (go) (versions < 8.29.0)
    • github.com/gotenberg/gotenberg/v7 (go) (versions <= 7.10.2)
  3. Is there a fix for CVE-2026-27018? Yes. CVE-2026-27018 is fixed in 8.29.0. Upgrade to this version or later.
  4. Is CVE-2026-27018 exploitable, and should I be worried? Whether CVE-2026-27018 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether CVE-2026-27018 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix CVE-2026-27018? Upgrade github.com/gotenberg/gotenberg/v8 to 8.29.0 or later.

Other vulnerabilities in github.com/gotenberg/gotenberg/v8

CVE-2026-55229CVE-2026-45741CVE-2026-44829CVE-2026-42595CVE-2026-42597

Stop the waste.
Protect your environment with Kodem.