Description
Network-AI is a TypeScript/Node.js multi-agent orchestrator. Prior to version 5.12.2, `EnvironmentManager.listBackups()` reads each backup's `_manifest.json` and trusts the manifest's `path` field. `EnvironmentManager.pruneBackups()` later passes that trusted `entry.path` directly to `rmSync(entry.path, { recursive: true, force: true })`. An attacker who can place or modify a manifest inside `data/<env>/.backups/<name>/_manifest.json` can cause `network-ai env backup prune --env <env> --keep <n>` or any code path invoking `pruneBackups()` to recursively delete an arbitrary path accessible to the Network-AI process user. This is fixed in v5.12.2. `pruneBackups()` no longer passes `entry.path` from the on-disk manifest to `rmSync`. The deletion path is recomputed from a format-validated `entry.backupId`, and a `dirname` containment check confines deletion to exactly one level under the backups directory. A poisoned manifest (e.g. `"path": "/"`) is now inert.
Published: 2026-07-20
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Network‑AI is a TypeScript/Node.js orchestrator used for managing environment backups. In versions prior to v5.12.2 the EnvironmentManager.listBackups() routine reads each backup’s _manifest.json and blindly trusts the "path" field. The pruneBackups() method later passes that unverified path directly to the low‑level filesystem delete call rmSync(...,{recursive:true,force:true}). Consequently an attacker who can write to data/<env>/.backups/<name>/_manifest.json can instruct Network‑AI to recursively delete any file or directory reachable by the process user. This gives the attacker the ability to erase arbitrary data, delete configuration files, and potentially cause a denial‑of‑service condition. The vulnerability aligns with the CWE‑22 (Path Traversal) and CWE‑73 (Directory Traversal), reflecting an unchecked file path leading to destructive file operations.

Affected Systems

The flaw affects Jovancoding’s Network‑AI orchestrator versions older than 5.12.2. Exploitation requires the ability to write to data/<env>/.backups/<name>/_manifest.json. The only product listed in the CNA record is Network‑AI; no other extensions or forks are known to be impacted as of the latest advisory.

Risk and Exploitability

The CVSS score of 7.1 indicates moderate‑to‑high impact, while the EPSS score of <1% suggests a very low likelihood of exploitation in the immediate future. The vulnerability is not yet catalogued in the CISA KEV. Based on the description, the likely attack vector is local file manipulation—an attacker who can modify a manifest file in the backup directory can trigger a destructive prune operation. Exploitation is limited to environments where an attacker can obtain local file‑write access or elevate privileges to modify the manifest; once a poisoned manifest is present, any call to pruneBackups() will remove arbitrary data under the specified path.

Generated by OpenCVE AI on August 1, 2026 at 07:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Network‑AI to version 5.12.2 or later, which validates backup identifiers before deletion.
  • Restrict write permissions on any data/<env>/.backups/<name>/_manifest.json files so only the Network‑AI process owner can modify them.
  • Enable file integrity monitoring or audit logging for changes to the backups directory to detect unauthorized manifest modifications.

Generated by OpenCVE AI on August 1, 2026 at 07:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 21 Jul 2026 00: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': 'total'}, 'version': '2.0.3'}


Mon, 20 Jul 2026 17:15: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.listBackups()` reads each backup's `_manifest.json` and trusts the manifest's `path` field. `EnvironmentManager.pruneBackups()` later passes that trusted `entry.path` directly to `rmSync(entry.path, { recursive: true, force: true })`. An attacker who can place or modify a manifest inside `data/<env>/.backups/<name>/_manifest.json` can cause `network-ai env backup prune --env <env> --keep <n>` or any code path invoking `pruneBackups()` to recursively delete an arbitrary path accessible to the Network-AI process user. This is fixed in v5.12.2. `pruneBackups()` no longer passes `entry.path` from the on-disk manifest to `rmSync`. The deletion path is recomputed from a format-validated `entry.backupId`, and a `dirname` containment check confines deletion to exactly one level under the backups directory. A poisoned manifest (e.g. `"path": "/"`) is now inert.
Title Network-AI: Poisoned environment backup manifest allows arbitrary recursive deletion during backup pruning
Weaknesses CWE-22
CWE-73
References
Metrics cvssV3_1

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


Subscriptions

Jovancoding Network-ai
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-20T18:52:43.854Z

Reserved: 2026-06-30T20:21:25.811Z

Link: CVE-2026-58484

cve-icon Vulnrichment

Updated: 2026-07-20T18:52:18.239Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T07:15:03Z

Weaknesses
  • CWE-22

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

  • CWE-73

    External Control of File Name or Path