Medium severity · published Jul 20, 2026
CVE-2026-58413
EnvironmentManager.restore() backup ID path traversal copies arbitrary directories into environment data
6.1
CVSS
0.2%
EPSS
No
On KEV
Description
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/<env>/.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 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 8% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
Network-AI · Jovancoding
< 5.12.2 · source: vendor, NVD
Affected product
NE
Network-AI
Jovancoding
More from Network-AI
9.9
CVE-2026-54051
Network-AI has an an OS Command Injection issue
9.1
CVE-2026-48814
Network-AI: Empty default secret still authorizes all requests (Incomplete fix for CVE-2026-46701)
8.8
CVE-2026-73615
Network-AI SandboxPolicy before 5.15.1 Blocklist Bypass via Quote Mismatch
8.8
CVE-2026-73614
Network-AI ClaudeHookBridge Deny Pattern Bypass via Truncation
8.7
CVE-2026-42856
Network-AI: Missing authentication on MCP HTTP endpoint allows unauthenticated privileged tool calls