5.9

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

Analyzed
AliasesGHSA-g924-cjx7-2rjwGO-2026-5395
Published 14-05-2026Last modified 14-05-2026

Vulnerability summary

CVE-2026-42597 is a medium (CVSS 5.9) External Control of File Name or Path vulnerability in gotenberg. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 20.2% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · -0.09 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 14-05-2026
    PublishedVulnerability first disclosed.
  2. 14-05-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

20%

Versus all other CVEs

30-day change

Decrease -0.09 pp

From 0.36% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Gotenberg

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Github.com/gotenberg/gotenberg2 products
  • v7≤ 7.10.2 | All versions (No fix recorded)
  • v8< 8.32.0
Gotenberg1 product
Thecodingmachine1 product

3 vendors · 4 products

References

3 links