CVE-2026-58484: Network-AI: Poisoned environment backup manifest allows arbitrary recursive deletion during backup pruning
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
network-aito a version that resolves this vulnerability.Fixed in 5.12.2 - Operational
After upgrading to v5.12.2, review backups under data/<env>/.backups/<name>/ for any unexpected deletions that may have occurred before the fix.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-58484?
CVE-2026-58484 has a severity rating of high at 7.1.
What is CVE-2026-58484 about?
CVE-2026-58484 pertains to a vulnerability in the Network-AI software where a poisoned environment backup manifest can lead to arbitrary recursive deletion during backup pruning.
How do I fix CVE-2026-58484?
To fix CVE-2026-58484, upgrade the Network-AI software to version 5.12.2 or later.
What impact does CVE-2026-58484 have on my system?
CVE-2026-58484 can allow unauthorized deletion of files, potentially resulting in data loss.
Is CVE-2026-58484 a path traversal vulnerability?
Yes, CVE-2026-58484 is classified as a path traversal vulnerability.