Skip to main content

Nanotar CVE-2025-69874

CRITICAL
Path Traversal (CWE-22)
2026-02-11 cve@mitre.org GHSA-92fh-27vv-894w
9.8
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS 9.8, EPSS 0.23%. Supply chain risk — applications using nanotar for TAR extraction are vulnerable.

Exploit ScenarioDerived

Attacker provides TAR archive with path traversal entries, writing files (web shells, cron jobs) outside intended directory.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 12, 2026

Path traversal in nanotar npm package through 0.2.0. The parseTar() and parseTarGzip() functions allow attackers to write files outside the extraction directory.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 22:02 CVSS 9.8

Zip slip in nanotar TAR parsing library.

RemediationAI

Update nanotar beyond 0.2.0.

Affected Packages

npm nanotar no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-22 path traversal in TAR extraction. Malicious TAR archives can write files to arbitrary locations.

Know when Nanotar gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

nanotar library versions through 0.2.0 contain a critical path traversal vulnerability that could allow attackers to write malicious files anywhere on affected systems by uploading specially crafted tar archives. Any organization using this library to process untrusted tar files faces immediate risk of system compromise, data corruption, and potential lateral movement.

Business Impact: Severe
Compensating Controls

Until patch availability: (1) Implement strict input validation—reject tar archives from untrusted sources; (2) Use WAF/IPS rules to block suspicious tar patterns containing '../' sequences; (3) Run tar extraction in isolated sandboxed environments with restricted filesystem permissions; (4) Disable nanotar functionality if not business-critical; (5) Apply principle of least privilege—run extraction processes with minimal required permissions; (6) Monitor file system for unauthorized file creation outside intended directories; (7) Consider alternative libraries with security track record if migration is feasible.

Threat Intelligence Overview

EPSS Score
0.2%
Top 55% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Affected Products (CPE)CVE.org

cpe:2.3:a:unjs:nanotar:*:*:*:*:*:node.js:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy