CVE-2026-42597

Medium

Description

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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductThecodingmachine Gotenberg
PublishedMay 14, 2026
First seenMay 14, 2026

How to fix

Update
  • thecodingmachine gotenberg8.32.0 or later
  • github.com/gotenberg/gotenberg/v88.32.0 or later

Affected products

ProductAffected versionsFixed in
thecodingmachine gotenbergv < 8.32.08.32.0
github.com/gotenberg/gotenberg/v8Gov < 8.32.08.32.0
github.com/gotenberg/gotenberg/v7Gov ≤ 7.10.2, No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.