Skip to content

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

HighCVSS 8.7 EPSS 0.66%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm network-ai < 5.15.5 5.15.5 Fixed

Affected products

ProductAffected versionsFixed in
npm network-ai < 5.15.5 5.15.5

References