7.5High
CVE-2026-120313Network-AI before 5.15.5 Path Traversal via InputSanitizer.sanitizePath
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.
Weakness (CWE):
CWE-22
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| Jovancoding | Network-AI | < 5.15.5, fixed 5.15.5 | |
| network-ai | network-ai | < 5.15.5 |
References and patches
- GitHub Security Advisory (GHSA-5mm5-4mh4-6gm6) vendor-advisory
- VulnCheck Advisory: Network-AI before 5.15.5 Path Traversal via InputSanitizer.sanitizePath third-party-advisory