Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach app endpoint that calls sanitizePath
-
ExploitSupply sibling-prefix path like /data/project-evil
-
ExecutionBypass unanchored startsWith boundary check
-
ImpactRead or list files outside sandbox base
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. |
| Exploitation Conditions | Exploitation requires that the consuming application actually invoke |
| Impact | The CVSS 4.0 base score of 8.7 is driven by the most favorable attacker metrics (AV:N/AC:L/AT:N/PR:N/UI:N) with high confidentiality impact (VC:H), which on paper reads as a high-priority remote, unauthenticated issue. However, these metrics describe the helper in isolation: |
| Exploit ScenarioDerived | An application uses |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 02, 2026
Path traversal in Network-AI through 5.15.4 lets an attacker who controls the path passed to InputSanitizer.sanitizePath() escape the intended sandbox by supplying a sibling directory whose name shares the base directory's string prefix, enabling file read or directory listing outside the base; the advisory argues write outside the base is also possible, but that primitive is not demonstrated. The flaw requires a consuming application to use this helper as its terminal path validation with attacker-influenced inputPath and a basePath set to the sandbox root, and it is limited to prefix-sharing sibling layouts because classic ../../../ traversal is still rejected. The advisory includes a public proof-of-concept reproduction script, not verified as working exploit code; no CISA KEV active-exploitation status is indicated in the supplied data, and the independent assessment scores confidentiality impact as high with no integrity or availability impact.
RemediationAI
Upgrade Network-AI to 5.15.5, the fixed version listed by the advisory, and verify the deployed npm package version. Advisory references are https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-5mm5-4mh4-6gm6 and https://www.vulncheck.com/advisories/network-ai-before-5.15.5-path-traversal-via-inputsanitizer-sanitizepath. If upgrading cannot be done immediately, the advisory's suggested code fix is to make sanitizePath enforce a separator-anchored boundary with resolvedPath === resolvedBase || resolvedPath.startsWith(resolvedBase + sep), importing sep from path, and to test both absolute and relative sibling-prefix inputs; consumers should apply the same separator-anchored re-check after full resolution before any filesystem operation. Restricting untrusted callers from supplying inputPath to this helper reduces exposure, but a consumer-side prefix check without a separator anchor does not close the issue.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-22 path traversal in a published Node.js path validation helper. InputSanitizer.sanitizePath() normalizes and resolves the input against basePath, then applies only resolvedPath.startsWith(resolvedBase) at security.ts:387 without appending path.sep, so a base such as /data/project is treated as a prefix match for the unrelated sibling /data/project-evil or /data/project2. The package's companion lib/agent-runtime.ts check uses the separator-anchored form resolved === base || resolved.startsWith(base + sep), but security.ts does not import sep and never applies that boundary. Normalization does not remove the escape because sibling paths contain no dot segments or redundant separators to normalize away, and relative forms such as ../project-evil/secret.txt join to the same absolute sibling path. Classic ../../../etc/passwd traversal is still rejected, confirming the defect is specifically the missing separator anchor. The supplied CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N (8.7); the independent CVSS 3.1 assessment is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. CPE data identifies jovancoding:network-ai in the affected product line.
Know when Network Ai 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
The helper imposes no auth and needs no special timing, so PR:N/AC:L; the demonstrated primitive is read/list disclosure only, giving C:H with I:N and A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Network-AI before 5.15.5 contains a path traversal vulnerability in InputSanitizer.sanitizePath() that allows attackers to escape the base directory using sibling-directory paths. Attackers can supply paths whose directory name shares a string prefix with the base, bypassing the unanchored startsWith check to read, list, or write files outside the sandbox.
Technical POC Analysis
CWE-22 path traversal, caused by a non-separator-anchored string prefix check.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-120313 is a high-severity path traversal flaw in Network-AI through version 5.15.4 that could allow an attacker to read files outside an intended sandbox when the library is used as the final path validation layer. Applications that expose this helper to attacker-influenced paths-such as those handling user-supplied filenames or directory inputs-are at risk of confidential data exposure.
Since no vendor-released patch is available, implement additional path canonicalization and enforce strict directory containment (e.g., resolve the full path and verify it begins with the base directory followed by a path separator) before any file operation; restrict attacker control over inputPath; review and harden all consuming applications that rely on InputSanitizer.sanitizePath() as their sole validation layer; and monitor for an official fix.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Related Vulnerabilities in Network-AI Path Traversal and Missing Authentication
View all 4More in Network Ai
View allAuthentication bypass in Network-AI versions 5.7.1 and earlier allows unauthenticated remote attackers to invoke all 22
SandboxPolicy bypass in Network-AI (versions before 5.15.1) enables authenticated attackers to execute arbitrary blocked
Truncation-induced interpretation conflict in Network-AI ClaudeHookBridge before 5.15.1 enables low-privileged attackers
Deny-pattern bypass in Network-AI's ClaudeHookBridge PreToolUse hook (versions 5.14.0 through 5.15.1) allows a prompt-in
Arbitrary recursive file deletion in Network-AI (npm package `network-ai`) before v5.12.2 allows a local attacker who ca
Sandbox path containment bypass in Network-AI's AgentRuntime (npm package `network-ai` by jovancoding) allows any low-pr
Path traversal in Network-AI's EnvironmentManager.restore() allows a local authenticated caller to copy arbitrary direct
Unauthenticated access to the ApprovalInbox HTTP server in Network-AI 5.0.0-5.12.1 allows any party that can reach the i
Symlink traversal in Network-AI's EnvironmentManager.backup() allows a local attacker with write access to an environmen
EUVD-2026-115002
GHSA-jw39-vgr6-2fx4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB