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-58484: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Jovancoding Network-AI

0
High
VulnerabilityCVE-2026-58484cvecve-2026-58484cwe-22cwe-73
Published: 07/20/2026 (07/20/2026, 17:00:56 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.listBackups()` reads each backup's `_manifest.json` and trusts the manifest's `path` field. `EnvironmentManager.pruneBackups()` later passes that trusted `entry.path` directly to `rmSync(entry.path, { recursive: true, force: true })`. An attacker who can place or modify a manifest inside `data/<env>/.backups/<name>/_manifest.json` can cause `network-ai env backup prune --env <env> --keep <n>` or any code path invoking `pruneBackups()` to recursively delete an arbitrary path accessible to the Network-AI process user. This is fixed in v5.12.2. `pruneBackups()` no longer passes `entry.path` from the on-disk manifest to `rmSync`. The deletion path is recomputed from a format-validated `entry.backupId`, and a `dirname` containment check confines deletion to exactly one level under the backups directory. A poisoned manifest (e.g. `"path": "/"`) is now inert.

CVSS v3.1

Score 7.1high

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

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, 17:26:40 UTC

Technical Analysis

Network-AI versions before 5.12.2 contain a path traversal vulnerability (CWE-22) in the EnvironmentManager.pruneBackups() function. This function reads backup manifest files and uses the manifest's path field directly in a recursive deletion call (rmSync). An attacker able to place or modify a manifest file can cause arbitrary recursive deletion of files and directories accessible to the Network-AI process user. The vulnerability is addressed in version 5.12.2 by recomputing deletion paths from validated backup IDs and enforcing directory containment checks, preventing deletion outside the intended backup directory.

Potential Impact

An attacker with the ability to place or modify backup manifest files can cause the Network-AI process to recursively delete arbitrary files or directories on the host system. This results in high impact on integrity and availability of the affected system. There is no confidentiality impact reported. The vulnerability requires local privileges (low attack complexity and privileges) and no user interaction.

Mitigation Recommendations

A fix is available in Network-AI version 5.12.2. Users should upgrade to version 5.12.2 or later to mitigate this vulnerability. The fix involves validating and restricting deletion paths to prevent arbitrary file system deletion. Until upgraded, restrict access to backup manifest files to trusted users only. Patch status is not explicitly stated beyond the fixed version; check the vendor advisory for the latest remediation guidance.

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-30T20:21:25.811Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5e56f62a4a8d598968a377

Added to database: 07/20/2026, 17:12:22 UTC

Last enriched: 07/20/2026, 17:26:40 UTC

Last updated: 07/21/2026, 05:45:05 UTC

Views: 16

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