Security Resilience

CVE-2026-23950

CSRF in Isaacs Tar ≤ 7.5.4

Published
20 January 2026
Modified
24 August 2026
Patch / advisory
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L
EPSS Score 0.0027 12th percentile
Risk Priority 61 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-23950 is a high-severity Improper Handling of Unicode Encoding (CWE-176) vulnerability in Isaacs Tar. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 12th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-25 (Reference Monitor) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-23950 is a race condition vulnerability in node-tar, a Tar implementation for Node.js, affecting versions up to and including 7.5.3. The issue stems from incomplete handling of Unicode path collisions in the library's PathReservations system, which is designed to serialize metadata checks and file operations for the same path to prevent races. On case-insensitive or normalization-insensitive filesystems such as macOS APFS or HFS+, the library fails to properly lock colliding paths—like the Unicode characters ß and ss, which collide due to NFD normalization differences—allowing parallel processing that bypasses concurrency safeguards. This enables symlink poisoning attacks and results in arbitrary file overwrites.

A remote attacker can exploit this vulnerability by crafting a malicious tar archive containing conflicting filenames that exploit filesystem normalization behaviors. The attacker requires a user to extract the archive (user interaction), after which the race condition permits symlink poisoning, leading to arbitrary file overwrites outside the extraction directory. The CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L) reflects network accessibility, low attack complexity, no privileges needed, changed scope, low confidentiality impact, high integrity impact, and low availability impact.

The patch in node-tar version 7.5.4 addresses the issue by updating path-reservations.js to use NFKD normalization form matching the target filesystem, followed by toLocaleLowerCase('en') and then toLocaleUpperCase('en') for consistent path handling. As a workaround, users programmatically extracting arbitrary tarballs should filter out all SymbolicLink entries, as implemented by npm, to prevent arbitrary file writes via this filename collision issue. Details are available in the GitHub security advisory (GHSA-r6q2-hw4h-h46w) and the fixing commit (3b1abfae650056edfabcbe0a0df5954d390521e6).

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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,…

more

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')` and then `toLocaleUpperCase('en')`. As a workaround, users who cannot upgrade promptly, and who are programmatically using `node-tar` to extract arbitrary tarball data should filter out all `SymbolicLink` entries (as npm does) to defend against arbitrary file writes via this file system entry name collision issue.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1136 Create Account Persistence
Adversaries may create an account to maintain access to victim systems.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1529 System Shutdown/Reboot Impact
Adversaries may shutdown/reboot systems to interrupt access to, or aid in the destruction of, those systems.
T1553.001 Gatekeeper Bypass Defense Impairment
Adversaries may modify file attributes and subvert Gatekeeper functionality to evade user prompts and execute untrusted programs.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-31986Shared CWE-352
CVE-2024-27439Shared CWE-352
CVE-2023-52200Shared CWE-352
CVE-2023-51545Shared CWE-352
CVE-2024-47879Shared CWE-352
CVE-2024-24469Shared CWE-352
CVE-2023-46242Shared CWE-352
CVE-2023-43295Shared CWE-352
CVE-2024-5943Shared CWE-352
CVE-2024-31388Shared CWE-352

Affected Assets

isaacs
tar
≤ 7.5.4

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V3.3.2
  • V3.5.1
  • V10.2.1
  • V15.4.2

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

A reference monitor that is always invoked and analyzable structurally eliminates the non-atomic check-then-use pattern underlying TOCTOU.

Input validation directly requires checking and normalizing encodings so that Unicode is handled consistently before further processing.

Access enforcement requires verifying that state-changing requests originate from the authenticated user rather than a forged cross-site source.

Protecting session authenticity prevents attackers from replaying or forging authenticated requests via the victim's browser.

Process isolation limits the blast radius of a successful TOCTOU exploitation but does not remove the race itself.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require proper Unicode/input validation to prevent this weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect Unicode-handling flaws before deployment.

prevents

Training helps developers understand Unicode encoding pitfalls (e.g., size argument units in conversion functions), but this is a specialized technical implementation defect where even trained developers make mistakes, and the effect is a minority reduction rather than the bulk.

prevents

A.8.19 governs the installation process for software on operational systems (trained administrators, approved code, testing, rollback, vendor support); it does not reach the implementation-level defect in how the product handles Unicode-encoded input, which is introduced when the code is written.

prevents

Secure coding standards directly address proper Unicode and character-encoding validation.

prevents

A.8.30 carries its effect through the secure-development practices (8.25–8.29) its contract requires of the supplier, so it reduces ordinary software implementation weaknesses in delivered code the way those practices do; CWE-176 is such an ordinary implementation defect, but the clause's reach is bounded by supplier compliance and human practice, leaving a nameable remainder.

finds

A.8.8's reach is DISCLOSURE — it finds this weakness only where it has been published as a CVE in a third-party component (the observed examples show CVEs do exist for this class), but most Unicode handling defects live in first-party code that no advisory names, so the disclosed share is a minority.

References