Vulnerability · Published May 14, 2026 · Assigned by GitHub_M
CVE-2026-42597Gotenberg: Chromium URL conversion routes read arbitrary files under /tmp via file:// scheme
Medium 5.9
In plain English
A medium-severity server-side request forgery in gotenberg from gotenberg. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/gotenberg/gotenberg/v7 | no fix listed | GHSA-g924-cjx7-2rjw |
| Go | github.com/gotenberg/gotenberg/v7 | no fix listed | GO-2026-5395 |
| Go | github.com/gotenberg/gotenberg/v8 | 8.32.0 | GHSA-g924-cjx7-2rjw |
| Go | github.com/gotenberg/gotenberg/v8 | 8.32.0 | GO-2026-5395 |
Affected products (as reported)
Weakness: CWE-73, CWE-918 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw x_refsource_CONFIRM