CVE-2026-63496
HIGH 7.8CVSS 3.1augment-virShell allows Command Injection in `grep()` via Unsanitized `searchPattern`
augment-vir is a collection of helper functions. Prior to version 31.73.5, 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. This issue has been patched in version 31.73.5.
- Published
- 9 Nov 2026
- Last modified
- 18 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-78
- Also known as
- GHSA-xvcc-vqjv-phqh
- Sources
- NVDJSONOSV GHSA-xvcc-vqjv-phqhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @augment-vir/node | < 31.73.5 | 31.73.5 |
References
- https://github.com/electrovir/augment-vir/commit/9e1a3592903a56e500959be72276ede1708c3437 · WEB
- https://github.com/electrovir/augment-vir/releases/tag/v31.73.5 · WEB
- https://github.com/electrovir/augment-vir/security/advisories/GHSA-xvcc-vqjv-phqh · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-63496 · ADVISORY
- https://github.com/electrovir/augment-vir · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 9 Nov 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Nov 2026)