CVE-2026-58413
Published:July 20, 2026
Updated:August 04, 2026
Network-AI is a TypeScript/Node.js multi-agent orchestrator. Prior to version 5.12.2, "EnvironmentManager.restore(env, backupId)" computes the backup path with "join(envDir, '.backups', backupId)" and only checks that this path exists. It does not resolve the result or verify that it remains under "data/<env>/.backups". A caller can pass a traversal backup ID such as "../../../outside/source-dir" to restore files from an arbitrary directory into the target environment data directory. The issue is fixed in v5.12.2. "restore()" now validates "backupId" against "/^[\w\-]+$/" and asserts "dirname(resolve(join(backupsDir, backupId))) === resolve(backupsDir)" before touching the filesystem. Backup IDs containing path separators or ".." are rejected, so a crafted ID can no longer copy directories from outside ".backups/" into the environment.
Affected Packages
https://github.com/Jovancoding/Network-AI.git (GITHUB):
Affected version(s) >=v5.0.0 <v5.12.2Fix Suggestion:
Update to version v5.12.2network-ai (NPM):
Affected version(s) >=3.0.0 <5.12.2Fix Suggestion:
Update to version 5.12.2Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.13