HighVulnerability
GHSA-2fmp-9rvw-hc96: Network-AI: Poisoned environment backup manifest allows arbitrary recursive deletion during backup pruning
- Identifier
- GHSA-2fmp-9rvw-hc96
- Published
- Record updated
- Affected
- network-ai <= 5.12.1
- Fixed in
- 5.12.2
- released June 18, 2026, 1 day before disclosure
Summary
Network-AI's EnvironmentManager.listBackups() trusts the path field in each backup's _manifest.json, and pruneBackups() passes that path directly to rmSync with recursive and force set. An attacker who can write a manifest under data/<env>/.backups/<name>/ can make network-ai env backup prune, or any call to pruneBackups(), recursively delete an arbitrary path the Network-AI process user can access. The issue was confirmed in Network-AI 5.12.1, and the advisory notes no RCE chain was confirmed.
Mitigation
Fixed in v5.12.2 (commit a59c13a). The deletion path is now recomputed from a format-validated entry.backupId, and a dirname containment check limits deletion to one level under the backups directory. Install with npm install network-ai@5.12.2.
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online