{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "2.1.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "3.0.0"
                  },
                  {
                    "fixed": "3.1.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "1a39c7dcaa88d595f3d14e8c56eddc890af2cc8c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "85e0ebb886219d7c38a5eca7bf33d21d8e3189d2"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "384309b5ad5f17fe4863763e32530cbd76ccf2e6"
            },
            {
              "introduced": "6d66143dc5e40480dd6135a4453f6da26a5602e0"
            },
            {
              "fixed": "191ec0b8b6b64972800416bc717cad1a5cc57422"
            },
            {
              "fixed": "1a39c7dcaa88d595f3d14e8c56eddc890af2cc8c"
            },
            {
              "fixed": "85e0ebb886219d7c38a5eca7bf33d21d8e3189d2"
            }
          ],
          "repo": "https://github.com/mafintosh/tar-fs",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145489.json"
  },
  "details": "tar-fs before 2.1.6 and 3.x before 3.1.4 contains a path traversal vulnerability that allows attackers to escape the extraction directory by chaining symlinks with '..' segments. Attackers can supply a crafted tarball where later entries traverse through earlier symlinks, creating links outside the destination to write or read files.",
  "id": "CVE-2026-145489",
  "modified": "2026-12-05T03:45:42.595437830Z",
  "published": "2026-12-05T02:00:17.351Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145489.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/mafintosh/tar-fs"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mafintosh/tar-fs/commit/1a39c7dcaa88d595f3d14e8c56eddc890af2cc8c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mafintosh/tar-fs/commit/85e0ebb886219d7c38a5eca7bf33d21d8e3189d2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mafintosh/tar-fs/compare/v3.1.3...v3.1.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-145489"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/tar-fs-before-2.1.6-and-3-x-before-3.1.4-symlink-validation-bypass-via-nested-symlinks"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "tar-fs before 2.1.6 and 3.x before 3.1.4 Symlink Validation Bypass via Nested Symlinks"
}