CVE-2026-40281
Gotenberg vulnerable to argument injection via newlines in ExifTool metadata values
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche v8.31.0 | github.com/gotenberg/gotenberg/v8 · -20 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-40281 divulgada · CVSS 10 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Gotenberg is a Docker-powered stateless API for PDF files. In versions 8.30.1 and earlier, the metadata write endpoint validates metadata keys for control characters but leaves metadata values unsanitized. A newline character in a metadata value splits the ExifTool stdin line into two separate arguments, allowing injection of arbitrary ExifTool pseudo-tags such as -FileName, -Directory, -SymLink, and -HardLink. This is a bypass of the incomplete key-sanitization fix introduced in v8.30.1. An unauthenticated attacker can rename or move any PDF being processed to an arbitrary path in the container filesystem, overwrite arbitrary files, or create symlinks and hard links at arbitrary paths.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gogithub.com/gotenberg/gotenberg/v8 |
Corregida | v8.31.0 | -20 d | v8.40.0 no afectada |
gogithub.com/gotenberg/gotenberg/v7 |
Sin parche | — | — | v7.10.2 afectada |
8.31.0v8.31.0Arsenal público
Ver los 2 repositorios de GitHub
Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.
https://github.com/gotenberg/gotenberg/security/advisories/GHSA-q7r4-hc83-hf2qhttps://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-40281.yamlhttps://github.com/0xgh057r3c0n/CVE-2026-40281https://github.com/rabakuku/CVE-2026-40281https://github.com/gotenberg/gotenberg/commit/405f1069c026bb08f319fb5a44e5c67c33208318Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
