Skip to main content
VulnerabilityPublished

CVE-2026-58413: Jovancoding Network-AI · Path Traversal

Affects Jovancoding Network-AISource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.1 Medium : upgrade to 5.12.2 when convenient.

Data as of 3 Dec 2026, 18:37 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.12.2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Upgrade Network-AI and network-ai to 5.12.2.

Affected software

ProductAffectedFixed in
JovancodingNetwork-AIAffected
  • <5.12.2
Fixed in
  • 5.12.2
npmnetwork-aipkg:npm/network-aiOther threatsAffected
  • <5.12.2
Fixed in
  • 5.12.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Network-AI version 5.12.2. Users should upgrade to version 5.12.2 or later to ensure that backup IDs are properly validated and path traversal is prevented. Until upgraded, avoid using untrusted input for backupId parameters. No vendor advisory content is provided to indicate alternative mitigations or temporary fixes.

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.

References

Community reviews

Loading reviews…