Network-AI is a TypeScript/Node.js multi-agent orchestrator. Prior to version 5.12.2, EnvironmentManager.restore(env, backupId) computes the backup path with join(envDir, '.backups', backupId) and only checks that this path exists. It does not resolve the result or verify that it remains under data//.backups. A caller can pass a traversal backup ID such as ../../../outside/source-dir to restore files from an arbitrary directory into the target environment data directory. The issue is fixed in v5.12.2. restore() now validates backupId against /^[\w\-]+$/ and asserts dirname(resolve(join(backupsDir, backupId))) === resolve(backupsDir) before touching the filesystem. Backup IDs containing path separators or .. are rejected, so a crafted ID can no longer copy directories from outside .backups/ into the environment.
CVE-2026-58413
This medium-severity CVE scores 6.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.1%, top 97% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.1
- EG Score
- 6.1(medium)
- EG Risk
- 43(Track)
- EPSS
- 3.1%
- KEV
- Not listed
Published
July 20, 2026
Last Modified
July 21, 2026
Advisory Details (3)
Auto-updated Jul 21, 2026EnvironmentManager.restore() backup ID path traversal copies arbitrary directories into environment data · Advisory · Jovancoding/Network-AI · GitHub
https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-48x2-6pr9-2jjfv5.12.2 — Security patch (5 CVEs)
Patch available: Jovancoding/Network-AI v5.12.2
https://github.com/Jovancoding/Network-AI/releases/tag/v5.12.2commit a59c13a1f0ce (Jovancoding/Network-AI)
Patch available: Jovancoding/Network-AI v5.12.2 (contains commit a59c13a1f0ce)
https://github.com/Jovancoding/Network-AI/commit/a59c13a1f0ce0e8a0779a90343eef92fac5ab4c3Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| network-ai | — | 5.12.2 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 8× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 23:36 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 18:41 UTCEG score recompute
- 2026-07-20 16:38 UTCEG score recompute
- 2026-07-20 16:37 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-22
Frequently asked(5)
What is CVE-2026-58413?
When was CVE-2026-58413 disclosed?
Is CVE-2026-58413 actively exploited?
What is the CVSS score of CVE-2026-58413?
How do I remediate CVE-2026-58413?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-58413
Is Your Infrastructure Affected by CVE-2026-58413?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.