Todas las CVE / Thecodingmachine
CVE-2026-42589Thecodingmachine Gotenberg
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Thecodingmachine · Thecodingmachine Gotenberg Te avisamos por email o Slack (requiere cuenta).
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Gotenberg.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Có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)
| Fabricante | Producto | Versiones |
|---|---|---|
| thecodingmachine | gotenberg | < 8.31.0 |
Boletines oficiales
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · 30 jul 2026 Crítica
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.
- github.com Exploit Mitigation Vendor Advisory