CVE-2026-44829
Full vulnerability record from the local CVENow database.
Description
Gotenberg is a Docker-powered stateless API for PDF files. In 8.32.0 and earlier, filename handling in pkg/modules/api/context.go uses filepath.Base on Linux, which does not treat backslashes as path separators, so a multipart filename containing Windows-style parent directory components survives sanitization. The original filename flows through ctx.diskToOriginal and the multi-output PDF routes into archives.FilesFromDisk and archives.Zip.Archive as the generated zip entry name. A remote attacker can submit a name such as ........\Windows\System32\evil.pdf through an upload or an upstream downloadFrom Content-Disposition header, and a Windows archive extractor can write the resulting file outside the intended extraction directory. The affected paths include /forms/pdfengines/split and other multi-output PDF, LibreOffice, and conversion routes, and exploitation can cause arbitrary file writes on a downstream Windows system when a user or process extracts the returned archive. This issue is fixed in version 8.33.0.
View original CVE JSON
{
"id": "CVE-2026-44829",
"sourceIdentifier": "[email protected]",
"published": "2026-08-19T15:17:02.630",
"lastModified": "2026-10-27T13:10:00.360",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Gotenberg is a Docker-powered stateless API for PDF files. In 8.32.0 and earlier, filename handling in pkg/modules/api/context.go uses filepath.Base on Linux, which does not treat backslashes as path separators, so a multipart filename containing Windows-style parent directory components survives sanitization. The original filename flows through ctx.diskToOriginal and the multi-output PDF routes into archives.FilesFromDisk and archives.Zip.Archive as the generated zip entry name. A remote attacker can submit a name such as ........\\Windows\\System32\\evil.pdf through an upload or an upstream downloadFrom Content-Disposition header, and a Windows archive extractor can write the resulting file outside the intended extraction directory. The affected paths include /forms/pdfengines/split and other multi-output PDF, LibreOffice, and conversion routes, and exploitation can cause arbitrary file writes on a downstream Windows system when a user or process extracts the returned archive. This issue is fixed in version 8.33.0."
},
{
"lang": "es",
"value": "Gotenberg es una API sin estado impulsada por Docker para archivos PDF. En la versión 8.32.0 y anteriores, el manejo de nombres de archivo en pkg/modules/api/context.go utiliza filepath.Base en Linux, que no trata las barras invertidas como separadores de ruta, por lo que un nombre de archivo multipart que contiene componentes de directorio padre estilo Windows sobrevive a la sanitización. El nombre de archivo original fluye a través de ctx.diskToOriginal y las rutas PDF de salida múltiple hacia archives.FilesFromDisk y archives.Zip.Archive como el nombre de entrada zip generado. Un atacante remoto puede enviar un nombre como .... / Windows\\System32\\evil.pdf a través de una carga o un encabezado Content-Disposition de descarga ascendente, y un extractor de archivos de Windows puede escribir el archivo resultante fuera del directorio de extracción previsto. Las rutas afectadas incluyen /forms/pdfengines/split y otras rutas de PDF de salida múltiple, LibreOffice y conversión, y la explotación puede causar escrituras de archivos arbitrarias en un sistema Windows descendente cuando un usuario o proceso extrae el archivo devuelto. Este problema está solucionado en la versión 8.33.0."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "gotenberg",
"product": "gotenberg",
"versions": [
{
"version": "< 8.33.0",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "HIGH",
"availabilityImpact": "LOW"
},
"exploitabilityScore": 2.8,
"impactScore": 5.3
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-08-19T18:03:43.071414Z",
"id": "CVE-2026-44829",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-22"
}
]
}
],
"references": [
{
"url": "https://github.com/gotenberg/gotenberg/commit/93d0103585372433e18b351bb16edf4c383932d3",
"source": "[email protected]"
},
{
"url": "https://github.com/gotenberg/gotenberg/issues/662",
"source": "[email protected]"
},
{
"url": "https://github.com/gotenberg/gotenberg/releases/tag/v8.33.0",
"source": "[email protected]"
},
{
"url": "https://github.com/gotenberg/gotenberg/security/advisories/GHSA-hwc4-gmrw-5222",
"source": "[email protected]"
}
]
}