{"cve":"CVE-2026-44829","nvd":{"published":"2026-08-19T15:17:02.630","modified":"2026-10-27T13:10:00.360","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L","score":8.8},"cwes":["CWE-22"],"references":["https://github.com/gotenberg/gotenberg/commit/93d0103585372433e18b351bb16edf4c383932d3","https://github.com/gotenberg/gotenberg/issues/662","https://github.com/gotenberg/gotenberg/releases/tag/v8.33.0","https://github.com/gotenberg/gotenberg/security/advisories/GHSA-hwc4-gmrw-5222"],"products":[],"source":"nvd","synced_at":"2026-10-27T13:36:07.289888057+00:00"},"epss":{"cve":"CVE-2026-44829","score":0.00503,"percentile":0.42791,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-hwc4-gmrw-5222","url":"https://osv.dev/vulnerability/GHSA-hwc4-gmrw-5222","summary":"Gotenberg has path traversal in zip entry name via Windows-style separators in upload filename","modified":"2026-06-25T23:11:05.529587981Z","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"]}]},{"id":"GO-2026-5443","url":"https://osv.dev/vulnerability/GO-2026-5443","summary":"Gotenberg has path traversal in zip entry name via Windows-style separators in upload filename in github.com/gotenberg/gotenberg","modified":"2026-06-25T23:01:14.010306902Z","packages":[{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v7","purl":"pkg:golang/github.com/gotenberg/gotenberg/v7","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","ranges":["<8.33.0"],"fixed":["8.33.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}