Skip to content

← Actionable
Medium, CVSS 5.9

Gotenberg allows Chromium URL conversion routes to read arbitrary files under /tmp via file:// scheme

CVE-2026-42597GHSA-g924-cjx7-2rjw

What to do

Partial vendor fix. Follow the primary source's mitigation guidance and check back for a fix.

This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.

Affected packages

  • Go github.com/gotenberg/gotenberg/v7

    Affected
    <= 7.10.2
    Fixed in
    no fixed version recorded
  • Go github.com/gotenberg/gotenberg/v8

    Affected
    <= 8.31.0
    Fixed in
    8.32.0

Sources

Severity and exploitation
Exploitation
No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
CVSS
5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
  • CVE-2026-42597: 0.28% estimated exploitation activity in the next 30 days; percentile 20.26 (FIRST EPSS, 2026-11-03). This is a model estimate, not proof of exploitation or customer exposure.
Source description

As published by the source; long descriptions are shortened.

Summary The /forms/chromium/convert/url and /forms/chromium/screenshot/url routes accept url=file:///tmp/... from anonymous callers. The default Chromium deny-list intentionally exempts file:///tmp/ so HTML/Markdown routes can load their own request-local assets, and those routes apply a per-request AllowedFilePrefixes guard to scope the read. The URL routes never set AllowedFilePrefixes, so the scope guard silently skips. Alice enumerates /tmp/, walks Gotenberg's per-request working directories, and reads the raw source files of other in-flight conversions as rendered PDF output. Details The default deny-list regex at pkg/modules/chromium/chromium.go:449 uses a negative lookahead to exempt /tmp/: pkg/gotenberg/outbound.go:185-187 short-circuits IP validation for non-HTTP schemes: So any file:///tmp/... URL passes FilterOutboundURL cleanly. The HTML route pairs the exemption with a per-request scope guard (pkg/modules/chromium/routes.go:518): and the CDP Fetch.requestPaused handler…

Dates and revisions
Published by the source
Last modified by the source
Source last checked
  1. Revision 1 · created ·

    Published from ghsa record GHSA-g924-cjx7-2rjw

Agent brief

Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.

# Patch Next advisory brief: CVE-2026-42597

Advisory: Gotenberg allows Chromium URL conversion routes to read arbitrary files under /tmp via file:// scheme
IDs: CVE-2026-42597, GHSA-g924-cjx7-2rjw
Record: https://patchnext.com/advisories/cve-2026-42597 (revision 1, source checked 26 Oct 2026, 15:27 UTC)
Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected.
Severity: Medium (CVSS 5.9)
Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV.
Vendor response: Partial vendor fix; fixed versions by package: github.com/gotenberg/gotenberg/v8 8.32.0. A vendor fix does not mean a deployment is fixed.

## Affected components
- Go github.com/gotenberg/gotenberg/v7: affected <= 7.10.2
- Go github.com/gotenberg/gotenberg/v8: affected <= 8.31.0; fixed in 8.32.0

## Suggested inspection (read-only)
- Go github.com/gotenberg/gotenberg/v7: check the installed version with your package manager.
- Go github.com/gotenberg/gotenberg/v8: check the installed version with your package manager.

## Supported action
No complete vendor fix is recorded. Follow the primary source's mitigation guidance and check this record again before closing anything.

## Required regression checks
- Run the test suite and a production build.
- Exercise the features that depend on github.com/gotenberg/gotenberg/v7, github.com/gotenberg/gotenberg/v8.
- Repeat the inspection and confirm that only fixed versions remain installed.

## Rollback considerations
- Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward.

## Unresolved questions
- Which deployments run an affected version?
- Exploitation status can change. Check again before lowering the priority.
- Mark the work resolved only after the fixed version is verified in production.

## Sources
- Verified: https://github.com/advisories/GHSA-g924-cjx7-2rjw (GitHub-reviewed advisory GHSA-g924-cjx7-2rjw lists affected ranges: Go github.com/gotenberg/gotenberg/v8 >=0 =0 <=7.10.2)

Commands are suggestions: review each one before running it.

Loading voting…