CVE-2026-23745: node-tar Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization
node-tar is a Tar for Node.js. The node-tar library (<= 7.5.2) fails to sanitize the linkpath of Link (hardlink) and SymbolicLink entries when preservePaths is false (the default secure behavior). This allows malicious archives to bypass the extraction root restriction, leading to Arbitrary File Overwrite via hardlinks and Symlink Poisoning via absolute symlink targets. This vulnerability is fixed in 7.5.3.
Security readout for executives and security teams
Plain-English summary
node-tar can be tricked into writing or pointing files outside the intended extraction folder when it processes a malicious archive. This matters for build, deployment, package, or upload workflows that extract tar files. The vulnerability is high severity and fixed in node-tar 7.5.3.
Executive priority
Treat as high priority for systems that ingest archives from users, vendors, or automated supply chains. Prioritize dependency updates and exposure review; urgency is lower for systems that never extract untrusted tar files.
Technical view
node-tar before 7.5.3 does not properly sanitize linkpath values for hardlink and symlink entries when preservePaths is false. A crafted tar archive can bypass extraction-root restrictions, causing arbitrary file overwrite through hardlinks or symlink poisoning through absolute symlink targets.
Likely exposure
Exposure is most likely where applications, CI/CD jobs, package tooling, or backend services use node-tar below 7.5.3 to extract untrusted or externally supplied tar archives.
Exploitation context
The source bundle does not show KEV listing or confirmed active exploitation. Exploitation requires a malicious archive to be extracted by a vulnerable node-tar consumer, with user interaction represented as archive processing.
Researcher notes
The key issue is linkpath sanitization for Link and SymbolicLink entries, not ordinary file paths. preservePaths false was expected to restrict extraction safely. Public sources name the fixed version but do not provide confirmed exploitation evidence.
Mitigation direction
Upgrade node-tar to 7.5.3 or later.
Audit direct and transitive dependencies for node-tar below 7.5.3.
Avoid extracting untrusted tar archives until patched.
Check Red Hat advisories for affected packaged products.
Review vendor guidance before applying product-specific fixes.
Validation and detection
Search package manifests and lockfiles for node-tar versions below 7.5.3.
Confirm deployed builds resolve node-tar to 7.5.3 or later.
Identify code paths that extract user-supplied or external tar archives.
Check CI/CD and packaging workflows for vulnerable node-tar use.
Verify relevant Red Hat errata status for managed platforms.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-22: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-22 · source CWE mapping
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.