SSRF in Gotenberg
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (27.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 28th percentile — 27.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001
Affected products
- Gotenberg — versions < 8.32.0
- Thecodingmachine Gotenberg
Weakness classification (CWE)
References
- github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw (Exploit, Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-42597?
- CVE-2026-42597 is a medium-severity vulnerability in Gotenberg, classified under External Control of File Name or Path. CVSS score: 5.9/10. Published 2026-05-14.
- How severe is CVE-2026-42597?
- Medium severity. CVSS v3 base score is 5.9 out of 10.