2026-07-28 5:0CVE-2026-17524snyk
PUBLISHED5.2CWE-22

Versions of the package zip-lib before 1.1.0 are vulnerable to Directory Traversal via the caching mechanism for path validation during the extraction process. An attacker can bypass security checks designed to prevent directory traversal. The intended security function, isOutsideTargetFolder, only checks and caches the path status when the initial directory symlink is created during the first extraction.

Problem type

Affected products

zip-lib

< 1.1.0 - AFFECTED

References

GitHub Security Advisories

GHSA-73hr-7685-xwj3

Versions of the package zip-lib before 1.1.0 are vulnerable to Directory Traversal via the...

https://github.com/advisories/GHSA-73hr-7685-xwj3

Versions of the package zip-lib before 1.1.0 are vulnerable to Directory Traversal via the caching mechanism for path validation during the extraction process. An attacker can bypass security checks designed to prevent directory traversal. The intended security function, isOutsideTargetFolder, only checks and caches the path status when the initial directory symlink is created during the first extraction.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-17524
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-17524",
    "assignerOrgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
    "assignerShortName": "snyk",
    "dateUpdated": "2026-07-28T05:00:00.713Z",
    "dateReserved": "2026-07-27T08:21:00.930Z",
    "datePublished": "2026-07-28T05:00:00.713Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
        "shortName": "snyk",
        "dateUpdated": "2026-07-28T05:00:00.713Z"
      },
      "descriptions": [
        {
          "lang": "en",
          "value": "Versions of the package zip-lib before 1.1.0 are vulnerable to Directory Traversal via the caching mechanism for path validation during the extraction process. An attacker can bypass security checks designed to prevent directory traversal. The intended security function, isOutsideTargetFolder, only checks and caches the path status when the initial directory symlink is created during the first extraction."
        }
      ],
      "affected": [
        {
          "vendor": "n/a",
          "product": "zip-lib",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "1.1.0"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "Directory Traversal",
              "cweId": "CWE-22"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://security.snyk.io/vuln/SNYK-JS-ZIPLIB-13834403"
        },
        {
          "url": "https://github.com/fpsqdb/zip-lib/commit/0c29b1e17050f2611f4f37e6aaa92a60b3cb89d5"
        },
        {
          "url": "https://github.com/fpsqdb/zip-lib/issues/14"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
            "attackVector": "NETWORK",
            "attackComplexity": "LOW",
            "privilegesRequired": "NONE",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "exploitCodeMaturity": "NOT_DEFINED"
          }
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Hagrid29"
        }
      ]
    }
  }
}