Back to CVE records
Medium 6.5Published Jul 20, 2026

CVE-2026-58481Network-AI: AgentRuntime sandbox path-prefix checks allow file access outside the configured base directory

Updated under an hour ago ()

Does this affect you?

It affects Jovancoding Network-AI and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
6.5 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Weakness (CWE)
CWE-22, CWE-23
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Jul 20, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Jovancoding Network-AI
jovancoding:network_ai (from the name)
before 5.12.2
CNA record
network-ai network-ai
network-ai:network-ai
before 5.12.2
NVD

References

  • x-refsource-confirm, exploit, patch, vendor-advisory
  • x-refsource-misc, patch
  • x-refsource-misc, patch, release-notes

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.