{
  "id": "CVE-2026-31802",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31802",
  "published_at": "2026-03-09T21:11:56.668Z",
  "title": "node-tar Symlink Path Traversal via Drive-Relative Linkpath",
  "vendor": "isaacs",
  "product": "node-tar",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "node-tar is a full-featured Tar for Node.js. Prior to version 7.5.11, tar (npm) can be tricked into creating a symlink that points outside the extraction directory by using a drive-relative symlink target such as C:../../../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction. This vulnerability is fixed in 7.5.11.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2,
    "nvd": 5.5
  },
  "repos": [
    {
      "repo": "Jvr2022/CVE-2026-31802",
      "url": "https://github.com/Jvr2022/CVE-2026-31802",
      "created_at": "2026-03-14T22:04:11Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-07-10T14:13:42Z"
    },
    {
      "repo": "Recorded-texteditor120/CVE-2026-31802",
      "url": "https://github.com/Recorded-texteditor120/CVE-2026-31802",
      "created_at": "2026-03-28T20:49:46Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-03-01T08:55:04Z"
    },
    {
      "repo": "ridhinva/npm-tar-path-traversal-scanner",
      "url": "https://github.com/ridhinva/npm-tar-path-traversal-scanner",
      "created_at": "2026-05-22T23:46:38Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "error",
      "owner_created_at": "2019-07-04T03:28:18Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "isaacs",
        "product": "node-tar",
        "ranges": [
          "\u003c 7.5.11"
        ],
        "fixed_in": [
          "7.5.11"
        ]
      }
    ],
    "upgrade": [
      "Upgrade node-tar to 7.5.11 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/isaacs/node-tar/security/advisories/GHSA-9ppj-qmqm-q256"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/isaacs/node-tar/commit/f48b5fa3b7985ddab96dc0f2125a4ffc9911b6ad"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
