CVE-2026-42597

published 14 May 2026 · updated 11 Nov 2026

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

6.9MediumCVSS 5.9EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 8.32.0.

Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.32.0, 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. This vulnerability is fixed in 8.32.0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
gotenberg<8.32.0
thecodingmachinegotenberg<8.32.08.32.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-42597 severity on Zeptric[![CVE-2026-42597](https://zeptric.io/badge/cve/CVE-2026-42597.svg)](https://zeptric.io/cve/CVE-2026-42597)