{"id":"CVE-2026-42597","published":"2026-05-14T15:34:06Z","modified":"2026-05-14T18:04:08Z","title":"Gotenberg: Chromium URL conversion routes read arbitrary files under /tmp via file:// scheme","vendor":"gotenberg","product":"gotenberg","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00277,"percentile":0.20655,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":4.13},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"gotenberg","affectedVersions":[{"vendor":"gotenberg","product":"gotenberg","versions":["< 8.32.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-14T18:04:05.764199Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gotenberg/gotenberg/v8","vulnerableRanges":["<8.32.0"],"patched":["8.32.0"],"from":["GHSA-g924-cjx7-2rjw","GO-2026-5395"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/gotenberg/gotenberg/v7","vulnerableRanges":["<=7.10.2","all versions"],"patched":[],"from":["GHSA-g924-cjx7-2rjw","GO-2026-5395"],"provenance":"source"}],"summary":{"text":"Gotenberg, a Docker-based stateless API for PDF generation, has a flaw in its Chromium URL conversion and screenshot routes (/forms/chromium/convert/url and /forms/chromium/screenshot/url) that lets requests load file:///tmp/ URLs without the per-request file-prefix restriction that the HTML and Markdown routes apply. An attacker with network access and no authentication or user interaction, using the default configuration, can make these routes render files from /tmp, including the source files of other in-progress conversions, as PDF output.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:52Z"},"euvd":{"id":"EUVD-2026-30317","exploited":false,"provenance":"source"}}