CVE-2026-58484 Details
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.
A vulnerability in Network-AI versions prior to 5.12.2 allows for arbitrary recursive deletion of files. The issue arises because the 'EnvironmentManager.listBackups()' method trusts the 'path' field in each backup's '_manifest.json' file. During the backup pruning process, this trusted path is used to delete files, creating a potential for abuse. An attacker who can modify a backup manifest can manipulate the deletion process to remove files outside the intended directory, leading to data loss. This vulnerability has been confirmed in Network-AI version 5.12.1.
Users can upgrade to Network-AI version 5.12.2, where this vulnerability has been fixed. The patched version no longer uses the 'entry.path' from the backup manifest for deletions. Instead, it validates the 'backupId' and computes the deletion path, ensuring it is only one level under the backups directory.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-2fmp-9rvw-hc96 | CISA-ADP | ExploitPatchVendor Advisory |
| https://github.com/Jovancoding/Network-AI/commit/a59c13a1f0ce0e8a0779a90343eef92fac5ab4c3 | [email protected] | Patch |
| https://github.com/Jovancoding/Network-AI/releases/tag/v5.12.2 | [email protected] | PatchRelease Notes |
| https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-2fmp-9rvw-hc96 | [email protected] | ExploitPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| network-ai network-ai | < 5.12.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 13, 2026 | Initial Analysis | [email protected] |
| Jul 20, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | New CVE Received | [email protected] |