Medium severity · published Jul 20, 2026
CVE-2026-58481
Network-AI: AgentRuntime sandbox path-prefix checks allow file access outside the configured base directory
6.5
CVSS
0.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 8% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
Network-AI · Jovancoding
< 5.12.2 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-58481
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-58481
Patch
https://github.com/Jovancoding/Network-AI/commit/a59c13a1f0ce0e8a0779a90343eef92fac5ab4c3
Patch
https://github.com/Jovancoding/Network-AI/releases/tag/v5.12.2
Exploit
https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-jvcm-f35g-w78p
More from Network-AI
9.9
CVE-2026-54051
Network-AI has an an OS Command Injection issue
9.1
CVE-2026-48814
Network-AI: Empty default secret still authorizes all requests (Incomplete fix for CVE-2026-46701)
8.8
CVE-2026-73615
Network-AI SandboxPolicy before 5.15.1 Blocklist Bypass via Quote Mismatch
8.8
CVE-2026-73614
Network-AI ClaudeHookBridge Deny Pattern Bypass via Truncation
8.7
CVE-2026-42856
Network-AI: Missing authentication on MCP HTTP endpoint allows unauthenticated privileged tool calls
