Home

Description

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.

PUBLISHED Reserved 2026-02-20 | Published 2026-03-20 | Updated 2026-03-20 | Assigner GitHub_M




HIGH: 8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-23: Relative Path Traversal

Product status

< 2.5.2
affected

References

github.com/...ng-PDF/security/advisories/GHSA-wccq-mg6x-2w22

github.com/Stirling-Tools/Stirling-PDF/releases/tag/v2.5.2

cve.org (CVE-2026-27625)

nvd.nist.gov (CVE-2026-27625)

Download JSON