Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/gotenberg/gotenberg/v7
  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 July 21, 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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 7.10.2

Solution

Unfortunately, there is no solution available yet.

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/v7/CVE-2026-42597.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:19 +0000.