# CVE-2026-58484: Network-AI: Poisoned environment backup manifest allows arbitrary recursive deletion during backup pruning

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T21:42:26.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-2fmp-9rvw-hc96
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- Jovancoding Network-AI: < 5.12.2
- network-ai (npm): before 5.12.2
- network-ai network-ai: before 5.12.2

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-2fmp-9rvw-hc96> (exploit, patch, vendor-advisory, web)
- <https://github.com/Jovancoding/Network-AI/commit/a59c13a1f0ce0e8a0779a90343eef92fac5ab4c3> (patch, web)
- <https://github.com/Jovancoding/Network-AI/releases/tag/v5.12.2> (patch, release-notes, web)
- <https://github.com/Jovancoding/Network-AI> (package)

## Sources

- CVE List: [CVE-2026-58484](https://www.cve.org/CVERecord?id=CVE-2026-58484), CVE Terms of Use, modified 2026-07-20
- GitHub Advisory Database: [GHSA-2fmp-9rvw-hc96](https://github.com/advisories/GHSA-2fmp-9rvw-hc96), CC-BY-4.0, modified 2026-07-21
- NVD: [CVE-2026-58484](https://nvd.nist.gov/vuln/detail/CVE-2026-58484), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-58484 · Whole record: https://cve.day/CVE-2026-58484.json · Rebuilt by cve.day 2026-11-25T22:59:29.259Z
