Skip to main content
← All vulnerabilities
CVE-2026-42597GO-2026-5395GHSA-G924-CJX7-2RJW

Gotenberg: Chromium URL conversion routes read arbitrary files under /tmp via file:// scheme

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.32.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gotenberg gotenberg

    fixed in 8.32.0

  • github.com/gotenberg/gotenberg/v7Go

    All versions

  • github.com/gotenberg/gotenberg/v8Go

    fixed in 8.32.0

  • github.com/gotenberg/gotenberg/v7Go

    through 7.10.2

References 1

GitHub · gotenberg/gotenberg