{"items":[{"id":"NVI-00018348","kind":"vulnerability","title":"Network-AI: Improper Neutralization of Special Elements used in an OS Command ","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-qw6v-5fcf-5666","CVE-2026-54051"],"plain_summary":"GitHub lists this reviewed advisory for network-ai. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-14728245b576a4aa4c9df77c1858f0b0"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-06-19T13:35:06.000Z","value":"9.9 critical","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-14728245b576a4aa4c9df77c1858f0b0"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-14728245b576a4aa4c9df77c1858f0b0","url":"https://github.com/advisories/GHSA-qw6v-5fcf-5666","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-qw6v-5fcf-5666","publisher":"GitHub Advisory Database","observed_at":"2026-11-06T07:19:16.585Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-14728245b576a4aa4c9df77c1858f0b0"],"technology":"network-ai","known_exclusions":[],"conditions_summary":"## Summary\n\nThe 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; `, and a scoped command becomes arbitrary execution.\n\n## Root cause\n\nMatching and execution disagree on what a command is. Lines pinned to `40e42d7` (`lib/agent-runtime.ts` is identical to the v5.8.5 tag).\n\n1. `isCommandAllowed` matches the full string, with no tokenizing and no metacharacter check:\n\nhttps://github.com/Jovancoding/Network-AI/blob/40e42d7a0a966b948953b3c524cf15355d20ef5e/lib/agent-runtime.ts#L248-L260\n\n2. `globMatch` compiles `*` to `.*` and anchors it, so `git *` becomes `^git .*$` and matches `git status; id`:\n\nhttps://github.com/Jovancoding/Network-AI/blob/40e42d7a0a966b948953b3c524cf15355d20ef5e/lib/agent-runtime.ts#L353-L360\n\n3. `ShellExecutor.execute` only checks `isCommandAllowed`, never `requiresApproval`:\n\nhttps://github.com/Jovancoding/Network-AI/blob/40e42d7a","public_affected_ranges":["< 5.9.1"]}],"null_published_at":"2026-11-07T07:07:39.821Z","source_updated_at":"2026-06-19T13:35:06.000Z","source_disclosed_at":"2026-06-19T13:35:05.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-06T07:19:16.585Z"}],"next_cursor":null,"snapshot_revision":"42594"}