GHSA-92fh-27vv-894w

Suggest an improvement
Source
https://github.com/advisories/GHSA-92fh-27vv-894w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-92fh-27vv-894w/GHSA-92fh-27vv-894w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-92fh-27vv-894w
Aliases
Published
2026-02-11T18:31:30Z
Modified
2026-02-11T19:01:48.494114Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
nanotar is vulnerable to path traversal in parseTar() and parseTarGzip()
Details

nanotar through 0.2.0 has a path traversal vulnerability in parseTar() and parseTarGzip() that allows remote attackers to write arbitrary files outside the intended extraction directory via a crafted tar archive containing path traversal sequence.

Database specific
{
    "nvd_published_at": "2026-02-11T18:16:05Z",
    "github_reviewed_at": "2026-02-11T18:56:22Z",
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed": true
}
References

Affected packages

npm / nanotar

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.2.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-92fh-27vv-894w/GHSA-92fh-27vv-894w.json"