Path traversal in gotenberg - CVE-2026-42593
Published: May 5, 2026
gotenberg
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to path traversal in stampExpression and watermarkExpression handling in the merge, split, and convert routes when processing requests with pdf stamp or watermark sources without an uploaded file. A remote attacker can send a specially crafted request with a filesystem path to disclose sensitive information.
In affected deployments, the issue can expose PDF files readable by the Gotenberg process, and non-PDF targets may act as a file-existence oracle.