CVE-2026-42597Thecodingmachine Gotenberg
Medium 5.9 No auth needed
Follow: this CVE · Thecodingmachine · Thecodingmachine Gotenberg We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- —
- Auth required
- No
- Published
- May 14, 2026
- Updated
- Nov 11, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Gotenberg.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/gotenberg/gotenberg/v7 |
≤ 7.10.2 |
no fixed version | — |
| Go | github.com/gotenberg/gotenberg/v7 |
all |
no fixed version | — |
| Go | github.com/gotenberg/gotenberg/v8 |
< 8.32.0 |
8.32.0 |
go get github.com/gotenberg/gotenberg/v8@v8.32.0 |
| Go | github.com/gotenberg/gotenberg/v8 |
< 8.32.0 |
8.32.0 |
go get github.com/gotenberg/gotenberg/v8@v8.32.0 |
Per OSV / GitHub Advisories (GHSA-g924-cjx7-2rjw, GO-2026-5395). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| thecodingmachine | gotenberg | < 8.32.0 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Mitigation Vendor Advisory