{"data":{"id":"f383290c-27db-4ca0-8696-3a55cc4d096b","title":"GHSA-jvcm-f35g-w78p: Network-AI: AgentRuntime sandbox path-prefix checks allow file access outside the configured base directory","summary":"Network-AI's `AgentRuntime` uses raw string `startsWith()` checks for sandbox containment, so a sibling directory sharing the `basePath` prefix (for example `/tmp/network-ai-sandbox_evil` against `/tmp/network-ai-sandbox`) passes the check. An agent or user able to call `AgentRuntime.readFile()` or `AgentRuntime.listDir()` can read or list files outside the sandbox, confirmed in version 5.12.1 with CVSS 3.1 Medium severity. Embedding applications that use `FileAccessor.write()` directly or auto-approve writes may also allow writes outside the sandbox.","solution":"Fixed in [v5.12.2](https://github.com/Jovancoding/Network-AI/releases/tag/v5.12.2) (commit `a59c13a`).","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-jvcm-f35g-w78p","publishedAt":"2026-06-19T21:42:29.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":"medium","severity":"medium","attackType":["other"],"issueType":"vulnerability","affectedPackages":["network-ai@<= 5.12.1 (fixed: 5.12.2)"],"affectedPackageNames":["network-ai"],"affectedPackageRefs":["npm:network-ai"],"affectedVendors":[],"affectedVendorsRaw":["Network-AI"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"epssCheckedAt":null,"kevDateAdded":null,"advisoryAliases":["GHSA-jvcm-f35g-w78p"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-06-19T21:42:29.000Z","fixReleasedAt":"2026-06-18T21:17:50.389Z","daysToFix":-1,"fixCheckedAt":"2026-10-29T21:34:06.140Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality"],"aiComponentTargeted":"agent","llmSpecific":false,"classifierConfidence":0.8,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"npm","name":"network-ai","fixedVersion":"5.12.2","matchedVersion":"5.12.2","fixReleasedAt":"2026-06-18T21:17:50.389Z","daysToFix":-1,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:34:05.994Z"}]}}