# CVE-2026-44829: Gotenberg: Path traversal in zip entry name via Windows-style separators in upload filename

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-05-29T16:38:24.000Z
- Modified: 2026-10-27T13:10:00.360Z
- Also known as: GHSA-hwc4-gmrw-5222, GO-2026-5443
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gotenberg gotenberg: < 8.33.0
- github.com/gotenberg/gotenberg/v8 (Go): before 8.33.0
- github.com/gotenberg/gotenberg/v7 (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L`

## References

- <https://github.com/gotenberg/gotenberg/security/advisories/GHSA-hwc4-gmrw-5222> (advisory, web)
- <https://github.com/gotenberg/gotenberg/issues/662>
- <https://github.com/gotenberg/gotenberg/commit/93d0103585372433e18b351bb16edf4c383932d3>
- <https://github.com/gotenberg/gotenberg/releases/tag/v8.33.0> (web)
- <https://github.com/gotenberg/gotenberg> (package)

## Sources

- CVE List: [CVE-2026-44829](https://www.cve.org/CVERecord?id=CVE-2026-44829), CVE Terms of Use, modified 2026-08-19
- GitHub Advisory Database: [GHSA-hwc4-gmrw-5222](https://github.com/advisories/GHSA-hwc4-gmrw-5222), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5443](https://pkg.go.dev/vuln/GO-2026-5443), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-44829](https://nvd.nist.gov/vuln/detail/CVE-2026-44829), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2026-44829 · Whole record: https://cve.day/CVE-2026-44829.json · Rebuilt by cve.day 2026-11-25T22:59:33.953Z
