Command Injection Affecting network-ai package, versions <5.9.1


Severity

Recommended
0.0
high
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 Command Injection vulnerabilities in an interactive lesson.

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

Introduced: 19 Jun 2026

NewCVE-2026-54051  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade network-ai to version 5.9.1 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 Command Injection via the ShellExecutor process. An attacker can execute arbitrary commands with orchestrator process privileges by injecting shell metacharacters into allowed command patterns, such as using wildcards in the allowlist that match unintended command strings.

CVSS Base Scores

version 4.0
version 3.1