External Control of File Name or Path Affecting network-ai package, versions <5.12.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about External Control of File Name or Path vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NETWORKAI-17756611
  • published1 Jul 2026
  • disclosed19 Jun 2026
  • creditUnknown

Introduced: 19 Jun 2026

New CVE NOT AVAILABLE CWE-22  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade network-ai to version 5.12.2 or higher.

Overview

network-ai is an AI agent orchestration framework for TypeScript/Node.js - 29 adapters (LangChain, AutoGen, CrewAI, OpenAI Assistants, LlamaIndex, Semantic Kernel, Haystack, DSPy, Agno, MCP, OpenClaw, A2A, Codex, MiniMax, NemoClaw, APS, Copilot, LangGraph, Anthropic Compu

Affected versions of this package are vulnerable to External Control of File Name or Path via the pruneBackups process. An attacker can cause arbitrary recursive deletion of files and directories accessible to the process user by placing or modifying a crafted _manifest.json file with a malicious path field. This can result in deletion of important project files or data directories, leading to data loss and service disruption. This is only exploitable if the attacker has write access to the application's data directory.

CVSS Base Scores

version 4.0
version 3.1