CVE-2026-42597
MEDIUM 5.9CVSS 3.1Gotenberg allows Chromium URL conversion routes to read arbitrary files under /tmp via file:// scheme
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
- 14 May 2026
- Last modified
- 11 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-73CWE-918
- Also known as
- GHSA-g924-cjx7-2rjwGO-2026-5395
- Sources
- NVDJSONOSV GHSA-g924-cjx7-2rjwJSONOSV GO-2026-5395JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | thecodingmachine | gotenbergcpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:* |
< 8.32.0 | 8.32.0 |
| OSV | Go | github.com/gotenberg/gotenberg/v8 | < 8.32.0 | 8.32.0 |
| OSV | Go | github.com/gotenberg/gotenberg/v7 | <= 7.10.2 | |
| OSV | Go | github.com/gotenberg/gotenberg/v7 | all versions |
References
- https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw · Exploit, Mitigation, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-42597 · ADVISORY
- https://github.com/gotenberg/gotenberg · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 14 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 May 2026)