{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-44829","id":"CVE-2026-44829","title":"Gotenberg: Path traversal in zip entry name via Windows-style separators in upload filename","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 i","descriptionLong":"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.","published":"2026-08-19T14:35:06.966Z","updated":"2026-10-29T02:30:44.167190277Z","reserved":"2026-05-07T21:21:48.351Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["gotenberg"],"affectedProducts":[{"vendor":"gotenberg","product":"gotenberg","defaultStatus":null,"versions":[{"version":"< 8.33.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","ranges":["<8.33.0"],"fixed":["8.33.0"],"advisory":"GHSA-hwc4-gmrw-5222"},{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v7","purl":"pkg:golang/github.com/gotenberg/gotenberg/v7","ranges":["all versions"],"fixed":[],"advisory":"GO-2026-5443"}],"cwes":["CWE-22"],"aliases":["GHSA-hwc4-gmrw-5222","GO-2026-5443"],"references":[{"url":"https://github.com/gotenberg/gotenberg/security/advisories/GHSA-hwc4-gmrw-5222","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/gotenberg/gotenberg/issues/662","tags":["x_refsource_MISC","report"]},{"url":"https://github.com/gotenberg/gotenberg/commit/93d0103585372433e18b351bb16edf4c383932d3","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/gotenberg/gotenberg/releases/tag/v8.33.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44829.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44829","tags":["advisory"]},{"url":"https://github.com/gotenberg/gotenberg","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00503,"epssPercentile":0.43831,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-44829","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44829","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-44829","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hwc4-gmrw-5222","ok":true,"note":"GHSA-hwc4-gmrw-5222"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-44829","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["chrome"],"critical":[],"attention":null}