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

Status: published. Published: 2026-11-02. Updated: 2026-11-02.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Jovancoding / Network-AI (network-ai): ≥ 0; < 5.15.5 (affected, semver); 5.15.5 (unaffected, semver). Source: CNA: VulnCheck

## Severity and prioritization

- CVSS 4.0: 8.7 (high); 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; source: CNA: VulnCheck

- CVSS 3.1: 7.5 (high); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N; source: CNA: VulnCheck

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-22

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-5mm5-4mh4-6gm6 (CNA: VulnCheck; vendor-advisory)

- https://www.vulncheck.com/advisories/network-ai-before-5.15.5-path-traversal-via-inputsanitizer-sanitizepath (CNA: VulnCheck; third-party-advisory)

## Provenance

- CNA: VulnCheck: https://www.cve.org/CVERecord?id=CVE-2026-120313; retrieved 2026-11-02; source updated 2026-11-02

Revision: cdfa02fbd7161e3a5357f6251901e24b48101ed199ac43b77363eef9bd581d77

Canonical: https://y2.dev/cve/CVE-2026-120313