---
id: CVE-2026-120313
title: Network-AI before 5.15.5 Path Traversal via InputSanitizer.sanitizePath
summary: >-
  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 …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-22
vendor: Jovancoding
product: Network-AI
affected:
  - Network-AI < 5.15.5
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-11-02T14:09:05.749511Z'
exploitAvailable: true
published: '2026-11-02'
updated: '2026-11-02'
sourceUpdated: '2026-11-02T14:09:32.221Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-120313'
references:
  - url: >-
      https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-5mm5-4mh4-6gm6
    label: GitHub Security Advisory (GHSA-5mm5-4mh4-6gm6)
  - url: >-
      https://www.vulncheck.com/advisories/network-ai-before-5.15.5-path-traversal-via-inputsanitizer-sanitizepath
    label: >-
      VulnCheck Advisory: Network-AI before 5.15.5 Path Traversal via
      InputSanitizer.sanitizePath
tags:
  - cve.org
  - exploit-available
epss: 0.00537
epssPercentile: 0.45483
ingestedAt: '2026-11-05T19:30:42.646Z'
---

## Overview

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

- `Network-AI < 5.15.5`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
