{"id":"CVE-2026-27625","summary":"Stirling-PDF Zip Slip: Arbitrary File Write via Path Traversal in Markdown-to-PDF ZIP Extraction","details":"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.","aliases":["GHSA-wccq-mg6x-2w22"],"modified":"2026-08-12T15:32:07.754638Z","published":"2026-03-20T08:44:24.942Z","database_specific":{"cwe_ids":["CWE-22","CWE-23"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27625.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v2.5.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27625.json"},{"type":"ADVISORY","url":"https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-wccq-mg6x-2w22"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27625"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/stirling-tools/stirling-pdf","events":[{"introduced":"0"},{"fixed":"7631b222bde7f04e8b591c3566017c5315df896d"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.5.2"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:stirling:stirling_pdf:*:*:*:*:*:*:*:*"}}],"versions":["v2.5.1","v2.5.0","v2.4.6","v2.4.5","v2.4.4","v2.4.3","v2.4.1","v2.4.2","v2.4.0","v2.3.1","v2.3.0","v2.2.1","v2.2.0","v2.1.5","v2.1.4","v2.1.3","v2.1.2","v2.1.1","v2.1.0","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v0.46.1","v0.46.0","v0.45.6","v0.45.5","v0.45.4","v0.45.3","v0.45.2","v0.45.1","v0.45.0","v0.44.3","v0.44.2","v0.44.1","v0.44.0","v0.43.2","v0.43.1","v0.43.0","v0.42.0","v0.41.0","v0.40.2","v0.40.1","v0.40.0","v0.39.0","v0.38.0","v0.37.1","v0.37.0","v0.36.6","v0.36.5","v0.36.4","v0.36.3","v0.36.2","v0.36.1","v0.36.0","v0.35.1","v0.35.0","v0.34.0","v0.33.1","v0.33.0","v0.32.0","stirling-pdf-chart-1.0.1","v0.31.1","v0.31.0","v0.30.1","v0.30.0","v0.29.0","v0.28.3","v0.28.2","v0.28.1","v0.28.0","v0.27.0","v0.26.1","v0.26.0","v0.25.3","v0.25.2","v0.25.1","v0.25.0","v0.24.6","v0.24.5","v0.24.3","v0.24.4","v0.24.1","v0.24.2","v0.24.0","v0.22.8","v0.23.1","v0.23.0","v0.22.7","v0.22.6","v0.22.5","v0.22.4","v0.22.3","v0.22.2","v0.22.1","v0.22.0","v0.21.0","v0.20.2","v0.20.1","v0.20.0","v0.19.1","v0.19.0","v0.18.1","v0.18.0","v0.17.2","v0.17.1","v0.17.0","v0.16.1","v0.16.0","v0.15.1","v0.15.0","v0.14.5","v0.14.4","v0.14.3","v0.14.2","v0.14.1","v0.14.0","v0.13.1","v0.13.0","0.13.0","v0.12.2","v0.12.1","v0.12.0","v0.10.3","v0.10.2","v0.10.1","v0.10.0","v0.9.1","v0.9.0","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.0","v0.6.0","v0.5.0","v0.4.8","v0.4.7","v0.4.6","v0.4.5","v0.4.4","v0.4.3","v0.4.2","v0.4.0","v0.3.4","v0.3.3","v0.3.2","v0.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27625.json","vanir_signatures_modified":"2026-08-12T15:32:07Z","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/stirling-tools/stirling-pdf/commit/7631b222bde7f04e8b591c3566017c5315df896d","target":{"file":"app/core/src/main/java/stirling/software/SPDF/controller/api/security/WatermarkController.java"},"deprecated":false,"digest":{"line_hashes":["204950583018872886892143125084184862389","62540230431282765624811505592326250692","302033695544518156920303292527690209877","141103952741586010867327455456373619714"],"threshold":0.9},"id":"CVE-2026-27625-a79b885c"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"}]}