{"id":"CVE-2026-139872","summary":"Armatiek XSLWeb through 4.2.0 Path Traversal (Zip Slip) via unzip Extension Function","details":"Armatiek XSLWeb through 4.2.0 contains a path traversal vulnerability in the unzip XPath extension function that allows attackers to write files outside the extraction directory via crafted archive entries. Attackers can supply archives with ../ sequences or absolute paths processed by ZipUtils.unzipStream() to overwrite XSLT stylesheets in webapp directories, leading to remote code execution.","modified":"2026-12-01T21:02:39.939082123Z","published":"2026-11-30T16:20:49.928Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139872.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139872.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139872"},{"type":"ADVISORY","url":"https://re-sync.nl/en/blog/xslweb-zip-slip/"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/armatiek-xslweb-through-4.2.0-path-traversal-zip-slip-via-unzip-extension-function"},{"type":"FIX","url":"https://github.com/Armatiek/xslweb/commit/518c9edc2be904d9928092e2495fb696eac8f618"},{"type":"PACKAGE","url":"https://github.com/Armatiek/xslweb"},{"type":"ARTICLE","url":"https://github.com/Armatiek/xslweb/blob/v4.2.0/src/main/java/nl/armatiek/xslweb/saxon/functions/zip/Unzip.java#L83-L117"},{"type":"ARTICLE","url":"https://github.com/Armatiek/xslweb/blob/v4.2.0/src/main/java/nl/armatiek/xslweb/utils/ZipUtils.java#L102-L127"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/armatiek/xslweb","events":[{"introduced":"0"},{"fixed":"518c9edc2be904d9928092e2495fb696eac8f618"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"4.2.0"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"518c9edc2be904d9928092e2495fb696eac8f618"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v4.2.0","v4.1.0","v4.0.1","v4.0.1-RC3","v4.0.0-RC3","v4.0.0-RC2","v4.0.0-RC1","v3.0.1","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139872.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}