Network-AI: AgentRuntime sandbox path-prefix checks allow file access outside the configured base directory
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Jovancoding | Network-AI | before 5.12.2 | 5.12.2 | Patch available | CNA |
- Network-AI VendorJovancoding Affected before 5.12.2 Fixed in 5.12.2 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:network-ai:network-ai:*:*:*:*:*:*:*:* | before 5.12.2 | Vulnerable | Jovancoding |
- cpe:2.3:a:network-ai:network-ai:*:*:*:*:*:*:*:* Versions before 5.12.2 Vulnerable ·Jovancoding
Remediation
- Fix · CNA Network-AI (Jovancoding) Fixed in 5.12.2
Timeline
- 2026-10-02 Threatist record created from CVE-2026-58481
References
More Jovancoding Network-ai vulnerabilities
- TI-2026-42088 Network-AI: Poisoned environment backup manifest allows arbitrary recursive deletion during backup pruning CVSS 3.1HIGH 7.1
- TI-2026-42086 Network-AI: ApprovalInbox HTTP server has no authentication — anyone can approve pending agent actions CVSS 3.1MEDIUM 5.9
- TI-2026-42024 EnvironmentManager.restore() backup ID path traversal copies arbitrary directories into environment data CVSS 3.1MEDIUM 6.1
- TI-2026-42025 Path traversal in Jovancoding Network-AI CVSS 3.1MEDIUM 5.5
- TI-2026-34330 Network-AI: Unauthenticated Cross-Origin MCP Tool Invocation via Empty Default Secret CVSS 3.1HIGH 7.6
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences