Amenazas en vivo

Todas las CVE / Thecodingmachine

CVE-2026-42589Thecodingmachine Gotenberg

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
—
Requiere autenticación
No
Publicada
14 may 2026
Actualizada
11 nov 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-78
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.31.0, Gotenberg's /forms/pdfengines/metadata/write HTTP endpoint accepts a JSON metadata object and passes its keys directly to ExifTool via the go-exiftool library. No validation is performed on key characters. A \n embedded in a JSON key splits the ExifTool stdin stream into a new argument line, allowing an attacker to inject arbitrary ExifTool flags — including -if, which evaluates Perl expressions. This achieves unauthenticated OS command execution in a single HTTP request. The response is HTTP 200 with a valid PDF, making the attack transparent to basic monitoring. This vulnerability is fixed in 8.31.0.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Gotenberg.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Go github.com/gotenberg/gotenberg/v8 8.29.1 sin versión corregida —
Go github.com/gotenberg/gotenberg/v8 < 8.31.0 8.31.0 go get github.com/gotenberg/gotenberg/v8@v8.31.0

Según OSV / GitHub Advisories (GHSA-rqgh-gxv4-6657, GO-2026-5636). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
thecodingmachinegotenberg< 8.31.0

Boletines oficiales

Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.