A flaw in Node.js Permission Model enforcement can over-grant filesystem access across radix-tree prefix boundaries. (CVE-2026-58043)
A vulnerability in the Node.js permission model allows over-granting of filesystem access across radix-tree prefix boundaries. When using the --permission flag, an attacker with access to a specific path can exploit boundary handling flaws to read or write files outside the intended allowed filesystem paths. This affects Node.js main, 22.x, 24.x, and 26.x versions.
AI Analysis
Technical Summary
CVE-2026-58043 describes a flaw in Node.js's permission enforcement mechanism related to filesystem access control. Specifically, the vulnerability arises from incorrect handling of radix-tree prefix boundaries under the --permission flag, enabling an attacker granted access to one filesystem path to access other paths outside the allowlist. This results in an over-granting of filesystem permissions, potentially allowing unauthorized read or write operations. The vulnerability affects Node.js main branch and versions 22.x, 24.x, and 26.x. The CVSS vector indicates local attack complexity is high, requires low privileges, no user interaction, and impacts confidentiality and integrity with a high severity rating. No known exploits in the wild or patch information is provided.
Potential Impact
This vulnerability can lead to unauthorized disclosure and modification of filesystem data beyond the intended permission boundaries in Node.js environments using the --permission flag. Attackers with limited privileges can exploit this to escalate access to sensitive files or modify files outside their allowed scope, compromising confidentiality and integrity of the system. Availability impact is not indicated.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running Node.js with the --permission flag in untrusted environments or restrict usage to trusted code only. Monitor vendor channels for updates and apply patches promptly once released.
A flaw in Node.js Permission Model enforcement can over-grant filesystem access across radix-tree prefix boundaries. (CVE-2026-58043)
Description
A vulnerability in the Node.js permission model allows over-granting of filesystem access across radix-tree prefix boundaries. When using the --permission flag, an attacker with access to a specific path can exploit boundary handling flaws to read or write files outside the intended allowed filesystem paths. This affects Node.js main, 22.x, 24.x, and 26.x versions.
CVSS v3.0
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-58043 describes a flaw in Node.js's permission enforcement mechanism related to filesystem access control. Specifically, the vulnerability arises from incorrect handling of radix-tree prefix boundaries under the --permission flag, enabling an attacker granted access to one filesystem path to access other paths outside the allowlist. This results in an over-granting of filesystem permissions, potentially allowing unauthorized read or write operations. The vulnerability affects Node.js main branch and versions 22.x, 24.x, and 26.x. The CVSS vector indicates local attack complexity is high, requires low privileges, no user interaction, and impacts confidentiality and integrity with a high severity rating. No known exploits in the wild or patch information is provided.
Potential Impact
This vulnerability can lead to unauthorized disclosure and modification of filesystem data beyond the intended permission boundaries in Node.js environments using the --permission flag. Attackers with limited privileges can exploit this to escalate access to sensitive files or modify files outside their allowed scope, compromising confidentiality and integrity of the system. Availability impact is not indicated.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running Node.js with the --permission flag in untrusted environments or restrict usage to trusted code only. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-qrq2-c54w-wgqm
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-58043"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.0
Threat ID: 6a6b72c69c2644c7f8475432
Added to database: 07/30/2026, 15:50:30 UTC
Last enriched: 07/30/2026, 19:43:03 UTC
Last updated: 07/31/2026, 03:12:10 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.