Vulnerability in node-tar
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as DEBIAN-CVE-2026-23950 has been found in node-tar.
Attackers can target a specific entry point like PathReservations over the network to misuse the product.
Data can be tampered with by attackers.
What to do: upgrade node-tar to 6.2.1+~cs7.0.8-1+deb13u1 or later.
If unsure, ask your IT team or search "node-tar DEBIAN-CVE-2026-23950" on the vendor's site.
DEBIAN-CVE-2026-23950 (node-tar)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: PathReservations / NFD / NFKD / SymbolicLink
Patched: 6.2.1+~cs7.0.8-1+deb13u1 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in node-tar. Attackers reach the vulnerable code path via PathReservations without authentication.
Check the vendor advisory for the affected versions of node-tar. Attack surface: PathReservations / NFD / NFKD / SymbolicLink.
Severity: ?. Data can be tampered with by attackers.
Update to 6.2.1+~cs7.0.8-1+deb13u1.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'node-tar' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'node-tar' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
node-tarを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade node-tar to 6.2.1+~cs7.0.8-1+deb13u1ステージング環境で 6.2.1+~cs7.0.8-1+deb13u1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:11node-tar |
All versions→ Not listed |
Not listed |
| Debian:12node-tar |
All versions→ Not listed |
Not listed |
| Debian:13node-tar |
< 6.2.1+~cs7.0.8-1+deb13u1→ 6.2.1+~cs7.0.8-1+deb13u1 |
6.2.1+~cs7.0.8-1+deb13u1 |
| Debian:14node-tar |
< 6.2.1+ds1+~cs6.1.13-7→ 6.2.1+ds1+~cs6.1.13-7 |
6.2.1+ds1+~cs6.1.13-7 |
Original description The description as published by the source.
node-tar,a Tar for Node.js, has a race condition vulnerability in versions up to and including 7.5.3. This is due to an incomplete handling of Unicode path collisions in the path-reservations system. On case-insensitive or normalization-insensitive filesystems (such as macOS APFS, In which it has been tested), the library fails to lock colliding paths (e.g., ß and ss), allowing them to be processed in parallel. This bypasses the library's internal concurrency safeguards and permits Symlink Poisoning attacks via race conditions. The library uses a PathReservations system to ensure that metadata checks and file operations for the same path are serialized. This prevents race conditions where one entry might clobber another concurrently. This is a Race Condition which enables Arbitrary File Overwrite. This vulnerability affects users and systems using node-tar on macOS (APFS/HFS+). Because of using NFD Unicode normalization (in which ß and ss are different), conflicting paths do not have their order properly preserved under filesystems that ignore Unicode normalization (e.g., APFS (in which ß causes an inode collision with ss)). This enables an attacker to circumvent internal parallelization locks (PathReservations) using conflicting filenames within a malicious tar archive. The patch in version 7.5.4 updates path-reservations.js to use a normalization form that matches the target filesystem's behavior (e.g., NFKD), followed by first `toLocaleLowerCase('en…
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org