CVE-2026-42597
published 2026-05-14CVE-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…
PriorityP335medium5.9CVSS 3.1
AVNACHPRNUINSUCHINAN
EPSS
0.25%
16.3th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github.com | gotenberg_gotenberg_v8 | >= 0 < 8.32.0 | 8.32.0 |
| gotenberg | gotenberg | < 8.32.0 | 8.32.0 |
| thecodingmachine | gotenberg | < 8.32.0 | 8.32.0 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
Gotenberg up to 8.31.x PDF File url file inclusion (GHSA-g924-cjx7-2rjw)
vuldb·2026-05-14·CVSS 5.9
CVE-2026-42597 [MEDIUM] Gotenberg up to 8.31.x PDF File url file inclusion (GHSA-g924-cjx7-2rjw)
A vulnerability, which was classified as problematic, was found in Gotenberg up to 8.31.x. Affected by this vulnerability is an unknown functionality of the file /forms/chromium/convert/url of the component PDF File Handler. Executing a manipulation can lead to file inclusion.
This vulnerability is handled as CVE-2026-42597. The attack can be executed remotely. There is not any exploit available.
You should upgrade the affected component.
GHSA
Gotenberg allows Chromium URL conversion routes to read arbitrary files under /tmp via file:// scheme
ghsa·2026-05-07
CVE-2026-42597 [MEDIUM] CWE-73 Gotenberg allows Chromium URL conversion routes to read arbitrary files under /tmp via file:// scheme
Gotenberg allows Chromium URL conversion routes to read arbitrary files under /tmp via file:// scheme
## Summary
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.
## Details
The default deny-list regex at `pkg/modules/chromium/chromium.go:449` uses a n
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2026-05-14
Published