CVE-2026-42597

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:*

History

11 Nov 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Gotenberg es una API sin estado impulsada por Docker para archivos PDF. Antes de la 8.32.0, las rutas /forms/chromium/convert/url y /forms/chromium/screenshot/url aceptan url=file: //tmp/... de llamadores anónimos. La lista de denegación predeterminada de Chromium exime intencionalmente file: //tmp/ para que las rutas HTML/Markdown puedan cargar sus propios activos locales de solicitud, y esas rutas aplican una protección AllowedFilePrefixes por solicitud para delimitar la lectura. Las rutas URL nunca establecen AllowedFilePrefixes, por lo que la protección de alcance se omite silenciosamente. Alice enumera /tmp/, recorre los directorios de trabajo por solicitud de Gotenberg y lee los archivos fuente sin procesar de otras conversiones en curso como salida PDF renderizada. Esta vulnerabilidad se corrige en la 8.32.0.

18 May 2026, 13:02

Type Values Removed Values Added
References () https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw - () https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw - Exploit, Mitigation, Vendor Advisory
First Time Thecodingmachine
Thecodingmachine gotenberg
CPE cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:*

14 May 2026, 18:16

Type Values Removed Values Added
References () https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw - () https://github.com/gotenberg/gotenberg/security/advisories/GHSA-g924-cjx7-2rjw -

14 May 2026, 16:28

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-14 16:16

Updated : 2026-11-11 20:10


NVD link : CVE-2026-42597

Mitre link : CVE-2026-42597

CVE.ORG link : CVE-2026-42597


JSON object : View

Products Affected

thecodingmachine

  • gotenberg
CWE
CWE-73

External Control of File Name or Path

CWE-918

Server-Side Request Forgery (SSRF)