{
  "id": "CVE-2026-140235",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-140235",
  "published_at": "2026-12-01T17:11:35.244Z",
  "title": "node-tar parses PAX extended headers by newline-splitting instead of length-delimiting, causing record dropping and forged-field injection",
  "vendor": "isaacs",
  "product": "node-tar",
  "cvss": {
    "score": 7.2,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-12-03T01:08:19Z",
    "first_seen_at": "2026-12-03T01:30:28.358Z",
    "days_after_publication": 1.3,
    "repo": "googlesky/CVE-2026-140235",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "node-tar is a tar archive manipulation library for Node.js. From 7.5.0 until 8.0.0, parseKV splits length-delimited PAX records on newline characters, so a newline inside a record value can drop the original field and turn a trailing fragment into a forged path, size, linkpath, or other entry attribute. Default extraction confines a forged path to the extraction root. When preservePaths is enabled, the forged path may instead be absolute or contain a parent-directory component. This issue is fixed in version 8.0.0.",
  "cwe": "CWE-20",
  "cvss_by_source": {
    "cna": 7.2
  },
  "repos": [
    {
      "repo": "googlesky/CVE-2026-140235",
      "url": "https://github.com/googlesky/CVE-2026-140235",
      "created_at": "2026-12-03T01:08:19Z",
      "first_seen_at": "2026-12-03T01:30:28.358Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-04-08T15:16:09Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "isaacs",
        "product": "node-tar",
        "ranges": [
          "\u003e= 7.5.0, \u003c 8.0.0"
        ],
        "fixed_in": [
          "8.0.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade node-tar to 8.0.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/isaacs/node-tar/security/advisories/GHSA-rgjp-p5j7-w36x"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/isaacs/node-tar/releases/tag/v8.0.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
