CVE-2026-42597 Details
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.
A vulnerability in Gotenberg, a Docker-based API for PDF processing, allows unauthenticated users to read arbitrary files from the server's temporary directory through the '/forms/chromium/convert/url' and '/forms/chromium/screenshot/url' routes. This issue affects Gotenberg versions prior to 8.32.0. The vulnerability arises because the default deny-list for file URLs in Chromium exempts 'file:///tmp/', enabling access to request-local assets. However, the URL routes do not implement the same scope guard, allowing exploitation. The vulnerability can be exploited to enumerate the '/tmp/' directory and access raw source files of other users' conversions, which are then returned as PDF documents.
Users are advised to update Gotenberg to version 8.32.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-73 | External Control of File Name or Path | [email protected] |
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| thecodingmachine gotenberg | < 8.32.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 18, 2026 | Initial Analysis | [email protected] |
| May 14, 2026 | CVE Modified | CISA-ADP |
| May 14, 2026 | New CVE Received | [email protected] |