{"id":"CVE-2026-44829","published":"2026-08-19T14:35:06Z","modified":"2026-08-19T18:19:27Z","title":"Gotenberg: Path traversal in zip entry name via Windows-style separators in upload filename","vendor":"gotenberg","product":"gotenberg","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00503,"percentile":0.43973,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/gotenberg/gotenberg/security/advisories/GHSA-hwc4-gmrw-5222","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gotenberg/gotenberg/issues/662","tags":["x_refsource_MISC"]},{"url":"https://github.com/gotenberg/gotenberg/commit/93d0103585372433e18b351bb16edf4c383932d3","tags":["x_refsource_MISC"]},{"url":"https://github.com/gotenberg/gotenberg/releases/tag/v8.33.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":8.79},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"gotenberg","affectedVersions":[{"vendor":"gotenberg","product":"gotenberg","versions":["< 8.33.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-19T18:03:43.071414Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gotenberg/gotenberg/v8","vulnerableRanges":["<8.33.0"],"patched":["8.33.0"],"from":["GHSA-hwc4-gmrw-5222","GO-2026-5443"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/gotenberg/gotenberg/v7","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5443"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-62427","exploited":false,"provenance":"source"}}