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.
Published: 2026-07-20
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

EnvironmentManager.backup() was susceptible to path traversal where symbolic links escape the intended root. When the backup routine recursed into the symlinked target, files located outside the environment were inadvertently copied into the backup archive. This flaw allows an attacker who can write to the data directory to cause confidential or proprietary files from the broader system to be included in backups, creating an avenue for data exposure. The likely attack vector is an attacker who can write to the environment's data directory to place a malicious symlink; this requires local access to that directory.

Affected Systems

The vulnerability affects Network‑AI released by Jovancoding, specifically all versions prior to 5.12.2. Any deployment of the orchestrator using an older code base is at risk when backups are taken, especially if users are allowed to create symbolic links inside the data/<env> folder.

Risk and Exploitability

The CVSS score of 5.5 indicates a medium severity risk, with an EPSS score of < 1% and the issue not listed in CISA KEV. Because the flaw relies on local write access to the data directory, the exploitation window is limited to environments where local users or compromised processes can create symlinks. Once exploited, the attacker can exfiltrate files outside the environment root through the backup artifacts, potentially revealing sensitive system files or configuration data.

Generated by OpenCVE AI on July 30, 2026 at 19:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Network‑AI to version 5.12.2 or later, which replaces the statSync call with lstatSync and ignores symbolic links during backup collection.
  • Revoke write permission for the data/<env> directory (or any locations it can reach) to prevent creation of malicious symlinks, and audit existing backups for potential inclusion of external files.
  • Delete any backup archives created before version 5.12.2 to remove previously captured external files and prevent accidental restoration of sensitive data.

Generated by OpenCVE AI on July 30, 2026 at 19:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 20 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Jovancoding
Jovancoding network-ai
Vendors & Products Jovancoding
Jovancoding network-ai

Mon, 20 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 20 Jul 2026 16:45:00 +0000

Type Values Removed Values Added
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.
Title Network-AI: EnvironmentManager.backup() follows symlinked directories and copies files outside the environment root into backups
Weaknesses CWE-22
CWE-59
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Jovancoding Network-ai
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-20T19:00:05.188Z

Reserved: 2026-06-30T18:19:58.380Z

Link: CVE-2026-58414

cve-icon Vulnrichment

Updated: 2026-07-20T18:59:56.199Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T19:15:04Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')