CVE Hunter
›
CVE-2026-63496

CWE-78

HIGH CVSS 7.8 ⚡ EPSS 0.2% GitHub

## Shell Command Injection in `grep()` via Unsanitized `searchPattern` ### Summary The `grep()` function exported by `@augment-vir/node` inserts caller-controlled search patterns directly into a double-quoted shell command string without sanitization (`grep.ts:310`). When the constructed command is passed to `spawn()` with `shell: 'bash'` (`shell.ts:98-99`), bash evaluates `$()` command substitution expressions embedded in the pattern, resulting in arbitrary OS command execution as the Node.js process user. Any downstream application that passes untrusted input to `grep()`'s `pattern` or `patterns` field is vulnerable to unauthenticated local (and potentially remote) code execution. CVSS Base Score: **7.8 (High)**. ### Details **Root cause:** `packages/node/src/augments/fs/grep.ts:310` maps each search pattern into the shell fragment `-e "${searchPattern}"` with no sanitization: ```ts // grep.ts:310 ...searchPatterns.map((searchPattern) => `-e "${searchPattern}"`), ``` The resulting full command string is forwarded to `runShellCommand` (`grep.ts:320`), which calls `streamShellCommand` (`shell.ts:221-224`), which ultimately calls: ```ts // shell.ts:98-99 const childProcess = spawn(command, { shell, // defaults to 'bash' (shell.ts:92) ``` Because `shell` is `'bash'`, bash interprets `$()` within the double-quoted pattern as a command substitution and executes it before `grep` ever runs. **Incomplete sanitization:** An `escape()` helper exists at `grep.ts:178-180`

Yayınlanma 09.11.2026
ISO Tarih 2026-11-09
CVSS Sürüm v3.1
Kaynak GitHub
CVSS v3.1 Metrikleri
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Local AV:L
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Olasılık Skoru
0.2%
30 günlük olasılık
Tüm CVElerin 8. yüzdeliğinde — Bu açığın istismar edilme ihtimali çoğu CVEden yüksek.
AI Güvenlik Analizi
🤖 Yapay Zeka Güvenlik Analizi Hazırlanıyor…
CVSS vektörü ve CWE zayıflık yapısı inceleniyor…
Hedef Keşif Sorguları
CVSS Skoru
7.8 / 10 · CVSS HIGH
Zayıflık Türleri (CWE)
CWE-78
Etkilenen Ürünler (1)
@augment-vir/node
Referanslar (4)
İlgili CVE'ler
9.8
CVE-2026-110486
In Eclipse Mosquitto versions 2.1 through 2.1.2, a listener configured with `protocol websockets` mishandles e
9.8
CVE-2026-116448
Dell PowerStore SDNAS contains an OS Command Injection vulnerability that could allow an attacker with interna
9.8
CVE-2026-116446
Dell PowerStore SDNAS contains an out-of-bounds memory vulnerability in the NAS NFS service that an unauthenti
9.8
CVE-2026-116449
Dell PowerStore SDNAS contains an OS Command Injection vulnerability that could allow an attacker with interna
9.6
CVE-2026-116441
Dell PowerStore SDNAS contains an out-of-bounds write vulnerability in the storage-processor interconnect driv
9.1
CVE-2026-95643
Zohocorp Manageengine DDI Central build below 6500 are affected by a authenticated PowerShell command injec