CVE-2026-63496 augment-vir: Shell Command Injection in `grep()` via Unsanitized `searchPattern`
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| augment-vir @augment-vir/node(npm) | < 31.73.5 | 31.73.5 | Fixed |
| electrovir augment-vir | = < 31.73.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| electrovir augment-vir | = < 31.73.5 | No fix listed |
| augment-vir @augment-vir/node(npm) | < 31.73.5 | 31.73.5 |
References
- https://github.com/electrovir/augment-vir/security/advisories/GHSA-xvcc-vqjv-phqh exploit vendor-advisory
- https://github.com/electrovir/augment-vir/commit/9e1a3592903a56e500959be72276ede1708c3437 patch
- https://github.com/electrovir/augment-vir/releases/tag/v31.73.5
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-120443 third-party-advisory