# CVE-2026-27625: Stirling-PDF Zip Slip: Arbitrary File Write via Path Traversal in Markdown-to-PDF ZIP Extraction

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-20T08:44:24.942Z
- Modified: 2026-06-17T10:27:24.717Z
- Weaknesses: CWE-22, CWE-23
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Stirling-Tools Stirling-PDF: < 2.5.2
- stirling stirling_pdf: before 2.5.2

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-wccq-mg6x-2w22> (exploit, vendor-advisory)
- <https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v2.5.2> (patch, product)

## Sources

- CVE List: [CVE-2026-27625](https://www.cve.org/CVERecord?id=CVE-2026-27625), CVE Terms of Use, modified 2026-03-20
- NVD: [CVE-2026-27625](https://nvd.nist.gov/vuln/detail/CVE-2026-27625), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27625 · Whole record: https://cve.day/CVE-2026-27625.json · Rebuilt by cve.day 2026-11-25T22:59:16.301Z
