{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-58481","published":"2026-07-20T17:18:15.857000Z","last_modified":"2026-10-24T20:10:00.137000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-22","CWE-23"],"cpes":[{"criteria":"cpe:2.3:a:network-ai:network-ai:*:*:*:*:*:*:*:*","part":"a","vendor":"network-ai","product":"network-ai","version_end_excluding":"5.12.2"}],"cpes_truncated":false,"vendors":["network-ai"],"products":["network-ai/network-ai"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-jvcm-f35g-w78p","ecosystem":"npm","name":"network-ai","purl":"pkg:npm/network-ai","ranges":[{"introduced":"0","fixed":"5.12.2"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2026-58481/","html_en":"/en/cve/CVE-2026-58481/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-58481","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-58481"},"untrusted":{"vendor_name":"Network-ai","product_name":"Network-ai","desc_en":"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.","affected":[{"untrusted_vendor":"Jovancoding","untrusted_product":"Network-AI","versions":[]}],"references":[{"url":"https://github.com/Jovancoding/Network-AI/commit/a59c13a1f0ce0e8a0779a90343eef92fac5ab4c3","tags":["Patch"]},{"url":"https://github.com/Jovancoding/Network-AI/releases/tag/v5.12.2","tags":["Patch","Release Notes"]},{"url":"https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-jvcm-f35g-w78p","tags":["Exploit","Patch","Vendor Advisory"]}]}}