Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. network-ai
  4. ›
  5. CVE-2026-54051

CVE-2026-54051: Network-AI: Improper Neutralization of Special Elements used in an OS Command

June 19, 2026

The agent sandbox gates shell commands behind an allowlist (SandboxPolicy.isCommandAllowed), which THREAT_MODEL.md calls the main control against a compromised agent (Adversary 3.2). The allowlist glob-matches the whole command string, but ShellExecutor runs that string through /bin/sh -c. So any wildcard allow such as git *, npm * or node * also matches git status; <anything>, and a scoped command becomes arbitrary execution.

References

  • github.com/Jovancoding/Network-AI/security/advisories/GHSA-qw6v-5fcf-5666
  • github.com/advisories/GHSA-qw6v-5fcf-5666
  • nvd.nist.gov/vuln/detail/CVE-2026-54051

Code Behaviors & Features

Detect and mitigate CVE-2026-54051 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.9.1

Fixed versions

  • 5.9.1

Solution

Upgrade to version 5.9.1 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/network-ai/CVE-2026-54051.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:02 +0000.