# CVE-2026-42597: Gotenberg: Chromium URL conversion routes read arbitrary files under /tmp via file:// scheme

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-07T01:15:47.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-g924-cjx7-2rjw, GO-2026-5395
- Weaknesses: CWE-73, CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gotenberg gotenberg: < 8.32.0
- github.com/gotenberg/gotenberg/v8 (Go): before 8.32.0
- github.com/gotenberg/gotenberg/v7 (Go): up to 7.10.2; all versions
- thecodingmachine gotenberg: before 8.32.0

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 Medium `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> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42597> (advisory)
- <https://github.com/gotenberg/gotenberg> (package)

## Sources

- CVE List: [CVE-2026-42597](https://www.cve.org/CVERecord?id=CVE-2026-42597), CVE Terms of Use, modified 2026-05-14
- GitHub Advisory Database: [GHSA-g924-cjx7-2rjw](https://github.com/advisories/GHSA-g924-cjx7-2rjw), CC-BY-4.0, modified 2026-07-21
- Go Vulnerability Database: [GO-2026-5395](https://pkg.go.dev/vuln/GO-2026-5395), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-42597](https://nvd.nist.gov/vuln/detail/CVE-2026-42597), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-42597 · Whole record: https://cve.day/CVE-2026-42597.json · Rebuilt by cve.day 2026-11-25T22:59:21.722Z
