Relative Path Traversal 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 Relative Path Traversal vulnerabilities in an interactive lesson.

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

Introduced: 19 Jun 2026

New CVE NOT AVAILABLE CWE-22  (opens in a new tab)
CWE-23  (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 Relative Path Traversal through improper path containment checks in the resolvePath and isPathAllowed functions. An attacker can access files outside the intended sandbox directory by supplying paths that share a prefix with the sandbox base path, such as sibling directories, thereby bypassing the sandbox boundary and reading or listing sensitive files.

CVSS Base Scores

version 4.0
version 3.1