Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-58414: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Jovancoding Network-AI

0
Medium
VulnerabilityCVE-2026-58414cvecve-2026-58414cwe-22cwe-59
Published: 07/20/2026 (07/20/2026, 16:28:29 UTC)
Source: CVE Database V5
Vendor/Project: Jovancoding
Product: Network-AI

Description

Network-AI is a TypeScript/Node.js multi-agent orchestrator. Prior to version 5.12.2, `EnvironmentManager.backup()` recursively collects files using `_collectBackupFiles()`. `_collectBackupFiles()` uses `statSync(full)`, which follows symlinks. If `data/<env>` contains a symlink to a directory outside the environment root, backup recursion follows the symlink and copies external files into `data/<env>/.backups/<backupId>/`. An attacker who can place a symlink under the environment data directory can cause backup operations to disclose files outside the environment root into backup artifacts. The issue is fixed in v5.12.2. `_collectBackupFiles()` now uses `lstatSync` instead of `statSync` and skips any entry where `isSymbolicLink()` is true. Symlinks are never traversed, so `backup()` can no longer follow a link out of the environment root and copy external files into a backup artifact.

CVSS v3.1

Score 5.5medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected software

network-ai
pkg:npm/network-ai
Affected versions
<5.12.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/20/2026, 16:58:05 UTC

Technical Analysis

Network-AI versions before 5.12.2 have a path traversal vulnerability in the EnvironmentManager.backup() method. The backup process uses statSync to collect files recursively, which follows symbolic links. If an attacker can create a symlink inside the environment data directory pointing outside the environment root, the backup operation will follow the symlink and copy files from outside the environment into backup artifacts. This results in unauthorized disclosure of files outside the environment root. The vulnerability is addressed in version 5.12.2 by replacing statSync with lstatSync and skipping symbolic links during backup file collection, preventing traversal outside the environment root.

Potential Impact

An attacker with the ability to place symbolic links under the environment data directory can cause backup operations to disclose files outside the intended environment root. This leads to confidentiality breaches by including unauthorized external files in backup artifacts. The vulnerability does not affect integrity or availability and requires at least low privileges (local access) to exploit.

Mitigation Recommendations

A fix is available in Jovancoding Network-AI version 5.12.2. Users should upgrade to version 5.12.2 or later to prevent backup operations from following symbolic links and disclosing external files. No other mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-30T18:19:58.380Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5e50312a4a8d59895ee3d1

Added to database: 07/20/2026, 16:43:29 UTC

Last enriched: 07/20/2026, 16:58:05 UTC

Last updated: 07/21/2026, 03:44:45 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses