{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "4.2.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "518c9edc2be904d9928092e2495fb696eac8f618"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "518c9edc2be904d9928092e2495fb696eac8f618"
            }
          ],
          "repo": "https://github.com/armatiek/xslweb",
          "type": "GIT"
        }
      ]
    }
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-139872",
  "modified": "2026-12-01T20:45:36.072951277Z",
  "published": "2026-11-30T16:20:49.928Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Armatiek XSLWeb through 4.2.0 Path Traversal (Zip Slip) via unzip Extension Function"
}