---
cve: "CVE-2026-58413"
severity: "MEDIUM"
cvss: 6.1
epss: "0.2%"
vendor: "Jovancoding"
kev: false
exploited: false
published: "2026-07-20 17:18:15"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-27T05:34:51+02:00"
---

# CVE-2026-58413

> 6.1 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Gering | warn |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- a59c13a1f0ce0e8a0779a90343eef92fac5ab4c3 (Commit)

## Referenzen

- <https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-48x2-6pr9-2jjf>
- <https://github.com/Jovancoding/Network-AI/commit/a59c13a1f0ce0e8a0779a90343eef92fac5ab4c3>
- <https://github.com/Jovancoding/Network-AI/releases/tag/v5.12.2>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-58413) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
