SB2026111623 - Path traversal in gotenberg
Published: November 16, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Path traversal (CVE-ID: N/A)
CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to create ZIP archives with malicious entry names that may overwrite files outside the extraction directory when extracted.
The vulnerability exists due to improper pathname sanitization in Gotenberg's outputFilenameMiddleware when processing the Gotenberg-Output-Filename header on Linux, where filepath.Base does not remove backslashes. A remote attacker can supply filenames such as ........WindowsSystem32evil_0.pdf or C:WindowsTempevil_0.pdf through Chromium conversion routes using splitMode to inject traversal or absolute paths into ZIP entries.
Remediation
Install update from vendor's website.