Network-AI has an an OS Command Injection issue
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
Network-AI is a TypeScript/Node.js multi-agent orchestrator. Prior to version 5.9.1, 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. The issue is fixed in v5.9.1. `ShellExecutor` now executes via `spawn(file, args, { shell: false })` using a quote-aware parsed argv, so no shell is invoked. `SandboxPolicy.isCommandAllowed` and the new `SandboxPolicy.tokenizeCommand` reject any unquoted shell metacharacter (`; & | $ ` ` ` ( ) < > { }` newline) or unterminated quote before the allowlist glob match; quoted metacharacters are preserved as literal argument data. Users should upgrade to `[email protected]` or later. As defense in depth, avoid broad wildcard allowlist entries such as `node *` / `npm *` which are direct code execution by design.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Jovancoding | Network-AI | before 5.9.1 | 5.9.1 | Patch available | CNA |
| — | network-ai (npm) | before 5.9.1 | 5.9.1 | Patch available | GHSA-qw6v-5fcf-5666 |
- Network-AI VendorJovancoding Affected before 5.9.1 Fixed in 5.9.1 Patch available CNA
- network-ai (npm) Vendor— Affected before 5.9.1 Fixed in 5.9.1 Patch available GHSA-qw6v-5fcf-5666
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:network-ai:network-ai:*:*:*:*:*:*:*:* | — | — | Jovancoding |
- cpe:2.3:a:network-ai:network-ai:*:*:*:*:*:*:*:* Versions — — ·Jovancoding
Remediation
- Fix · CNA Network-AI (Jovancoding) Fixed in 5.9.1
- Fix · GHSA-qw6v-5fcf-5666 network-ai (npm) Fixed in 5.9.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54051
- 2026-10-03 Alias added: GHSA-qw6v-5fcf-5666
- 2026-10-25 EPSS moved to the below the 50th percentile
References
More Jovancoding vulnerabilities
- TI-2026-46183 Network-AI 5.12.2 through 5.13.3 Missing Authorization via ApprovalInbox CVSS 4.0CRITICAL 9.3
- TI-2026-36083 Network-AI: Empty default secret still authorizes all requests (Incomplete fix for CVE-2026-46701) CVSS 3.1CRITICAL 9.1
- TI-2026-83679 Path traversal in Network-AI sanitizer exposes files outside sandbox CVSS 4.0HIGH 8.7
- TI-2026-46184 Network-AI before 5.13.4 Cryptographic Signature Verification Bypass CVSS 4.0HIGH 8.8
- TI-2026-83677 Path traversal in Network-AI FileJobStore lets attackers read or delete files CVSS 4.0HIGH 8.7
- TI-2026-51699 Network-AI SandboxPolicy before 5.15.1 Blocklist Bypass via Quote Mismatch CVSS 4.0HIGH 8.7
Sources
- CVE-2026-54051 · CVE Program
- CVE-2026-54051 · NVD
- FIRST EPSS
- GHSA-qw6v-5fcf-5666 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences