cve.bz

CVE-2026-42597

5.9 mediumEPSS 0.3%

Medium (5.9) in thecodingmachine gotenberg. EPSS 0.3% chance of exploitation in the next 30 days. Fixed in github.com/gotenberg/gotenberg/v8 8.32.0.

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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% chance of exploitation in the next 30 days; higher than 20% of CVEs (scores of 2026-10-31)
CWEs
CWE-73, CWE-918
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g924-cjx7-2rjwGogithub.com/gotenberg/gotenberg/v8<8.32.08.32.0
GHSA-g924-cjx7-2rjwGogithub.com/gotenberg/gotenberg/v7<=7.10.2no fix published
GO-2026-5395Gogithub.com/gotenberg/gotenberg/v7all versionsno fix published
GO-2026-5395Gogithub.com/gotenberg/gotenberg/v8<8.32.08.32.0

References

Check your stackJSON