Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/23106?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/23106?format=api",
    "vulnerability_id": "VCID-5a1x-1sgy-hbfu",
    "summary": "tar has Hardlink Path Traversal via Drive-Relative Linkpath\n`tar` (npm) can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as `C:../target.txt`, which enables file overwrite outside `cwd` during normal `tar.x()` extraction.",
    "aliases": [
        {
            "alias": "CVE-2026-29786"
        },
        {
            "alias": "GHSA-qffp-2rhf-9h96"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/199602?format=api",
            "purl": "pkg:deb/debian/node-tar@6.0.5%2Bds1%2B~cs11.3.9-1%2Bdeb11u2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5yd2-xm1n-fyb3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.0.5%252Bds1%252B~cs11.3.9-1%252Bdeb11u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/199610?format=api",
            "purl": "pkg:deb/debian/node-tar@6.0.5%2Bds1%2B~cs11.3.9-1%2Bdeb11u3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.0.5%252Bds1%252B~cs11.3.9-1%252Bdeb11u3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/414572?format=api",
            "purl": "pkg:deb/debian/node-tar@6.2.1%2B~cs7.0.8-1%2Bdeb13u1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.2.1%252B~cs7.0.8-1%252Bdeb13u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/199604?format=api",
            "purl": "pkg:deb/debian/node-tar@6.2.1%2B~cs7.0.8-1%2Bdeb13u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.2.1%252B~cs7.0.8-1%252Bdeb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/199616?format=api",
            "purl": "pkg:deb/debian/node-tar@6.2.1%2Bds1%2B~cs6.1.13-8?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.2.1%252Bds1%252B~cs6.1.13-8%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/199603?format=api",
            "purl": "pkg:deb/debian/node-tar@6.2.1%2Bds1%2B~cs6.1.13-10?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.2.1%252Bds1%252B~cs6.1.13-10%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73257?format=api",
            "purl": "pkg:npm/tar@7.5.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-v5jd-drrp-efdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/tar@7.5.10"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/414571?format=api",
            "purl": "pkg:deb/debian/node-tar@6.1.13%2B~cs7.0.5-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5a1x-1sgy-hbfu"
                },
                {
                    "vulnerability": "VCID-5yd2-xm1n-fyb3"
                },
                {
                    "vulnerability": "VCID-7ue9-bh7a-4uh3"
                },
                {
                    "vulnerability": "VCID-geua-c1eg-tqfg"
                },
                {
                    "vulnerability": "VCID-xecs-k7yn-fbdh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.1.13%252B~cs7.0.5-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/199600?format=api",
            "purl": "pkg:deb/debian/node-tar@6.1.13%2B~cs7.0.5-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5a1x-1sgy-hbfu"
                },
                {
                    "vulnerability": "VCID-5yd2-xm1n-fyb3"
                },
                {
                    "vulnerability": "VCID-7ue9-bh7a-4uh3"
                },
                {
                    "vulnerability": "VCID-geua-c1eg-tqfg"
                },
                {
                    "vulnerability": "VCID-xecs-k7yn-fbdh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.1.13%252B~cs7.0.5-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/84376?format=api",
            "purl": "pkg:npm/tar@7.5.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5a1x-1sgy-hbfu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/tar@7.5.9"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-29786.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.6",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-29786.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-29786",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9e-05",
                    "scoring_system": "epss",
                    "scoring_elements": "0.00931",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-29786"
        },
        {
            "reference_url": "https://github.com/isaacs/node-tar",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/isaacs/node-tar"
        },
        {
            "reference_url": "https://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9f",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-09T17:52:29Z/"
                }
            ],
            "url": "https://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9f"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2445476",
            "reference_id": "2445476",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2445476"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-29786",
            "reference_id": "CVE-2026-29786",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-29786"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-qffp-2rhf-9h96",
            "reference_id": "GHSA-qffp-2rhf-9h96",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-qffp-2rhf-9h96"
        },
        {
            "reference_url": "https://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96",
            "reference_id": "GHSA-qffp-2rhf-9h96",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "8.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-09T17:52:29Z/"
                }
            ],
            "url": "https://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 22,
            "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
            "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
        },
        {
            "cwe_id": 59,
            "name": "Improper Link Resolution Before File Access ('Link Following')",
            "description": "The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5a1x-1sgy-hbfu"
}