CVE-2026-42597
MEDIUMGotenberg: Chromium URL conversion routes read arbitrary files under /tmp via file:// scheme
Title source: cnaDescription
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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw
Scores
CVSS v3
5.9
EPSS
0.0025
EPSS Percentile
16.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-73
CWE-918
Status
published
Products (3)
gotenberg/gotenberg
0 - 8.32.0Go
gotenberg/gotenberg
< 8.32.0
thecodingmachine/gotenberg
< 8.32.0
Published
May 14, 2026
Tracked Since
May 14, 2026