Skip to main content

Network-AI EUVDEUVD-2026-46018

| CVE-2026-58481 MEDIUM
Path Traversal (CWE-22)
2026-07-20 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privileged AgentRuntime API access
  2. Delivery
    Identify or create sibling directory sharing basePath string prefix
  3. Exploit
    Call readFile() or listDir() with sibling path
  4. Execution
    Unanchored startsWith() check passes containment test
  5. Impact
    Read arbitrary files outside intended sandbox

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

The attacker must have low-privileged ability to call AgentRuntime.readFile() or AgentRuntime.listDir() on the target instance - this is the PR:L prerequisite from the CVSS vector and represents access as a configured agent or internal API user. Exploitation requires that a sibling directory exists (or can be created) on the host filesystem whose absolute path begins with the same string as the configured basePath but is not a true subdirectory of it (e.g., basePath /tmp/sandbox and sibling /tmp/sandbox_evil). The vulnerability is entirely path-layout-dependent: if no such sibling directory exists and the attacker cannot create one, no out-of-sandbox path passes the flawed check. When autoApproveReads is enabled in the AgentRuntime configuration, reads proceed without any additional approval step, making exploitation silent. Exploitation is limited to the local execution environment (AV:L) - remote-only access without the ability to invoke AgentRuntime API methods is insufficient. There is no write or delete capability exposed through this flaw; impact is confidentiality-only.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N yields a base score of 6.5 (Medium), which accurately reflects the real-world risk profile. The local attack vector (AV:L) is the primary limiting factor: the attacker must already have the ability to invoke AgentRuntime methods, implying at minimum process-level or API-level access. Attack complexity is low (AC:L) and no user interaction is required (UI:N), meaning once access is established, exploitation is trivial and automatable - the PoC demonstrates this with a simple script. The scope change (S:C) with high confidentiality impact (C:H) reflects that the sandbox security boundary is fully bypassed, potentially exposing any file readable by the Node.js process on the host. There is no integrity or availability impact (I:N/A:N), as the vulnerability is read-only. EPSS data was not provided; given the niche deployment footprint and local-access prerequisite, opportunistic mass exploitation is unlikely. The public PoC elevates risk for targeted scenarios - any environment where untrusted agents or users can reach the AgentRuntime API should treat this as a high-priority patch.

Exploit ScenarioDerived

An agent operating within a Network-AI deployment where basePath is configured to /srv/app-sandbox calls AgentRuntime.readFile('/srv/app-sandbox_config/database.env'). The unpatched startsWith('/srv/app-sandbox') check returns true because the target path begins with the basePath string, despite resolving entirely outside the intended sandbox. If autoApproveReads is enabled, the file contents are returned to the agent without any approval prompt or audit event. A working proof-of-concept demonstrating this exact technique is publicly available in GHSA-jvcm-f35g-w78p.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 20, 2026

Sandbox path containment bypass in Network-AI's AgentRuntime (npm package network-ai by jovancoding) allows any low-privileged agent or user with access to AgentRuntime.readFile() or AgentRuntime.listDir() to read or enumerate files outside the configured basePath sandbox by targeting sibling directories whose names share the sandbox's string prefix. Versions 5.12.1 and earlier are confirmed vulnerable (CPE: cpe:2.3:a:jovancoding:network-ai:*:*:*:*:*:*:*:*, EUVD-2026-46018). A working proof-of-concept is included in the GitHub security advisory GHSA-jvcm-f35g-w78p; no public exploit confirmed in active exploitation and the vulnerability is not listed in the CISA KEV catalog.

RemediationAI

Upgrade to Network-AI v5.12.2, the vendor-released patch that corrects the separator-anchored path containment logic in SandboxPolicy.resolvePath() and isPathAllowed(). The patched release is available at https://github.com/Jovancoding/Network-AI/releases/tag/v5.12.2 and the fixing commit is a59c13a1f0ce0e8a0779a90343eef92fac5ab4c3. For deployments that cannot immediately upgrade, restrict who can invoke AgentRuntime.readFile() and AgentRuntime.listDir() to fully trusted principals only - this eliminates the PR:L attack surface. Additionally, disable autoApproveReads in the AgentRuntime configuration if it is enabled; requiring explicit approval for each read operation adds a human gate that limits silent exfiltration. Ensure the filesystem layout does not place sensitive directories adjacent to sandbox roots with similar name prefixes, as a compensating control - though this is fragile and not a substitute for patching. The advisory and full vendor disclosure are at https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-jvcm-f35g-w78p.

Affected VersionsENISA

Network-AI < 5.12.2

Affected Packages

npm network-ai fix: 5.12.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Network-AI is a TypeScript/Node.js multi-agent orchestrator that exposes a sandboxed file I/O API (AgentRuntime.readFile(), AgentRuntime.listDir()) intended to scope agent filesystem access to a configured basePath. The root cause is CWE-22 (Path Traversal): the containment check in lib/agent-runtime.ts at lines 393-423 uses JavaScript's String.prototype.startsWith() to test whether a resolved path falls within the sandbox. Because startsWith() is not path-separator-aware, a basePath of /tmp/network-ai-sandbox incorrectly accepts /tmp/network-ai-sandbox_evil/secret.txt as in-scope - the string prefix matches even though the path resolves to a completely separate sibling directory. The same flawed pattern is replicated in SandboxPolicy.isPathAllowed() for both the allow-list and block-list. The fix, introduced in v5.12.2 (commit a59c13a1), replaces bare startsWith(base) with separator-anchored checks: resolved === base || resolved.startsWith(base + path.sep), ensuring only true subdirectory descendants pass. The autoApproveReads configuration flag, when enabled, further removes any approval gate for read operations, making exploitation silent.

Know when Node.js 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

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Local vector (AV:L) and low privileges (PR:L) required to call AgentRuntime API; sandbox boundary crossed (S:C) with high confidentiality loss (C:H); read-only flaw so I:N and A:N.

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Jul 20, 2026 - 18:18 EUVD

DescriptionCVE.org

Network-AI is a TypeScript/Node.js multi-agent orchestrator. Prior to version 5.12.2, AgentRuntime promises scoped file access under a configured sandbox basePath, but its path containment checks use raw string prefix tests. A sandbox base such as /tmp/network-ai-sandbox also matches a sibling path such as /tmp/network-ai-sandbox_evil/secret.txt. An agent/user that can call AgentRuntime.readFile() or AgentRuntime.listDir() can read or list files outside the intended sandbox when the target path is in a sibling directory sharing the base path prefix. This breaks the documented sandbox boundary. The issue is fixed in v5.12.2. SandboxPolicy.resolvePath() and isPathAllowed() now use separator-anchored prefix checks (resolved === base || resolved.startsWith(base + path.sep)) for both the allow-list and block-list. A sibling directory that merely shares a name prefix (e.g. /srv/app-evil vs base /srv/app) is no longer treated as in-scope.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Rare
niche TypeScript multi-agent orchestrator, limited enterprise footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2013-4660 MEDIUM POC
6.8 Jun 28

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy