CVE-2026-58414

Network-AI: EnvironmentManager.backup() follows symlinked directories and copies files outside the environment root into backups

MEDIUM
5.5
CVSS Score
Published: July 20, 2026 at 04:28 PM UTC
Updated: October 24, 2026 at 08:10 PM UTC
2 products affected across 2 vendorsNetwork AINetwork-AI

Using Network-AI by Jovancoding?

Get instant alerts when new vulnerabilities affect Network-AI - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
PoC

Description

Network-AI is a TypeScript/Node.js multi-agent orchestrator. Prior to version 5.12.2, `EnvironmentManager.backup()` recursively collects files using `_collectBackupFiles()`. `_collectBackupFiles()` uses `statSync(full)`, which follows symlinks. If `data/<env>` contains a symlink to a directory outside the environment root, backup recursion follows the symlink and copies external files into `data/<env>/.backups/<backupId>/`. An attacker who can place a symlink under the environment data directory can cause backup operations to disclose files outside the environment root into backup artifacts. The issue is fixed in v5.12.2. `_collectBackupFiles()` now uses `lstatSync` instead of `statSync` and skips any entry where `isSymbolicLink()` is true. Symlinks are never traversed, so `backup()` can no longer follow a link out of the environment root and copy external files into a backup artifact.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.12.2
Affected range stops below 5.12.2, so it looks safe — our inference, not a vendor statement
v < 5.12.2
Affected range stops below 5.12.2, so it looks safe — our inference, not a vendor statement

References (3)

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMGitHub_M
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-22CWE-59

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card