PT-2026-45008 · Gotenberg · Gotenberg
CVE-2026-44829
·
Published
2026-05-29
·
Updated
2026-07-30
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L |
Name of the Vulnerable Software and Affected Versions
Gotenberg version 8.32.0
Description
Gotenberg fails to properly sanitize filenames containing backslashes (``) when running on Linux containers, as it only recognizes forward slashes as path separators. This allows a malicious multipart filename containing Windows-style path traversal sequences to bypass input sanitization. When a multi-output route returns results as a zip archive, these filenames are included verbatim in the zip entry names. Windows-based zip extractors interpret the backslashes as path separators, potentially leading to arbitrary file writes outside the intended extraction directory on the consumer's system.
This issue is reachable via several endpoints, including:
/forms/pdfengines/split/forms/pdfengines/flatten/forms/pdfengines/encrypt/forms/pdfengines/embed/forms/pdfengines/watermark/forms/pdfengines/stamp/forms/pdfengines/rotate/forms/libreoffice/convert/forms/pdfengines/convert
Recommendations
For version 8.32.0, implement a filename sanitization function that explicitly checks for both forward slashes (
/) and backslashes (``) to strip path components, and replaces .. sequences with underscores to prevent directory traversal.Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Gotenberg