Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-42597 EUVD-2026-30317GHSA-g924-cjx7-2rjwGO-2026-5395

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

Published May 14, 2026 · Updated May 14, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
gotenberg gotenberg < 8.32.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

Advisories 1

References