{"cve":"CVE-2026-42597","nvd":{"published":"2026-05-14T16:16:23.037","modified":"2026-06-17T10:48:08.160","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9},"cwes":["CWE-73","CWE-918"],"references":["https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw","https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw"],"products":["thecodingmachine:gotenberg"],"source":"nvd","synced_at":"2026-10-19T22:35:16.954578616+00:00"},"epss":{"cve":"CVE-2026-42597","score":0.00277,"percentile":0.20219,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g924-cjx7-2rjw","url":"https://osv.dev/vulnerability/GHSA-g924-cjx7-2rjw","summary":"Gotenberg allows Chromium URL conversion routes to read arbitrary files under /tmp via file:// scheme","modified":"2026-07-21T14:45:28.754454808Z","packages":[{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","ranges":["<8.32.0"],"fixed":["8.32.0"]},{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v7","purl":"pkg:golang/github.com/gotenberg/gotenberg/v7","ranges":["<=7.10.2"],"fixed":[]}]},{"id":"GO-2026-5395","url":"https://osv.dev/vulnerability/GO-2026-5395","summary":"Gotenberg allows Chromium URL conversion routes to read arbitrary files under /tmp via file:// scheme in github.com/gotenberg/gotenberg","modified":"2026-06-25T19:45:38.424014871Z","packages":[{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v7","purl":"pkg:golang/github.com/gotenberg/gotenberg/v7","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","ranges":["<8.32.0"],"fixed":["8.32.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}