CVE-2026-120313
Network-AI before 5.15.5 Path Traversal via InputSanitizer.sanitizePath
8.7
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| network-ai | jovancoding | 0 → <5.15.5 | 5.15.5 | CVE.org |