CVE-2026-27625: Stirling-PDF Zip Slip: Arbitrary File Write via Path Traversal in Markdown-to-PDF ZIP Extraction
Stirling-PDF is a locally hosted web application that performs various operations on PDF files. In versions prior to 2.5.2, the /api/v1/convert/markdown/pdf endpoint extracts user-supplied ZIP entries without path checks. Any authenticated user can write files outside the intended temporary working directory, leading to arbitrary file write with the privileges of the Stirling-PDF process user (stirlingpdfuser). This can overwrite writable files and compromise data integrity, with further impact depending on writable paths. The issue was fixed in version 2.5.2.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-27625?
CVE-2026-27625 is classified with high severity due to its potential for arbitrary file write via path traversal.
How do I fix CVE-2026-27625?
To fix CVE-2026-27625, upgrade to Stirling-PDF version 2.5.2 or later.
What kind of attack does CVE-2026-27625 enable?
CVE-2026-27625 enables arbitrary file write attacks through path traversal during ZIP extraction.
Which versions of Stirling-PDF are affected by CVE-2026-27625?
Versions of Stirling-PDF prior to 2.5.2 are affected by CVE-2026-27625.
What component of Stirling-PDF is impacted by CVE-2026-27625?
The /api/v1/convert/markdown/pdf endpoint of Stirling-PDF is impacted by CVE-2026-27625.