Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/gotenberg/gotenberg/v8
  4. ›
  5. CVE-2026-42597

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

May 7, 2026 (updated May 14, 2026)

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.

References

  • github.com/advisories/GHSA-g924-cjx7-2rjw
  • github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw
  • nvd.nist.gov/vuln/detail/CVE-2026-42597

Code Behaviors & Features

Detect and mitigate CVE-2026-42597 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.32.0

Fixed versions

  • 8.32.0

Solution

Upgrade to version 8.32.0 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-73: External Control of File Name or Path
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

go/github.com/gotenberg/gotenberg/v8/CVE-2026-42597.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 15 Jun 2026 00:19:24 +0000.