CVE-2026-42597

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:*

History

18 May 2026, 13:02

Type Values Removed Values Added
CPE cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:*
References () https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw - () https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw - Exploit, Mitigation, Vendor Advisory
First Time Thecodingmachine gotenberg
Thecodingmachine

14 May 2026, 18:16

Type Values Removed Values Added
References () https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw - () https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw -

14 May 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-14 16:16

Updated : 2026-05-18 13:02


NVD link : CVE-2026-42597

Mitre link : CVE-2026-42597

CVE.ORG link : CVE-2026-42597


JSON object : View

Products Affected

thecodingmachine

  • gotenberg
CWE
CWE-73

External Control of File Name or Path

CWE-918

Server-Side Request Forgery (SSRF)