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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27625.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22",
"CWE-23"
]
}{
"cpe": "cpe:2.3:a:stirling:stirling_pdf:*:*:*:*:*:*:*:*",
"source": [
"AFFECTED_FIELD",
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.5.2"
}
]
}"2026-07-15T19:09:27Z"
[
{
"id": "CVE-2026-27625-a79b885c",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"204950583018872886892143125084184862389",
"62540230431282765624811505592326250692",
"302033695544518156920303292527690209877",
"141103952741586010867327455456373619714"
]
},
"signature_type": "Line",
"target": {
"file": "app/core/src/main/java/stirling/software/SPDF/controller/api/security/WatermarkController.java"
},
"source": "https://github.com/stirling-tools/stirling-pdf/commit/7631b222bde7f04e8b591c3566017c5315df896d",
"deprecated": false
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27625.json"