CVE-2026-58484

Network-AI: Poisoned environment backup manifest allows arbitrary recursive deletion during backup pruning

Published Jul 20, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Network-ai
Network-ai network-ai
CPEs cpe:2.3:a:network-ai:network-ai:*:*:*:*:*:*:*:*
Vendors & Products Network-ai
Network-ai network-ai
Type Values Removed Values Added
First Time appeared Jovancoding
Jovancoding network-ai
Vendors & Products Jovancoding
Jovancoding network-ai
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-22

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

  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 20, 2026, 6:52 PM
Reserved
Jun 30, 2026, 8:21 PM
Status
Analyzed
Published
Jul 20, 2026, 5:18 PM
Modified
Oct 24, 2026, 8:10 PM