# CVE-2026-63496: augment-vir: Shell Command Injection in `grep()` via Unsanitized `searchPattern`

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-09T20:55:33.876Z
- Modified: 2026-11-18T16:30:05.599Z
- Also known as: GHSA-xvcc-vqjv-phqh
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- electrovir augment-vir: < 31.73.5
- @augment-vir/node (npm): before 31.73.5

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/electrovir/augment-vir/security/advisories/GHSA-xvcc-vqjv-phqh> (exploit, web)
- <https://github.com/electrovir/augment-vir/commit/9e1a3592903a56e500959be72276ede1708c3437> (web)
- <https://github.com/electrovir/augment-vir/releases/tag/v31.73.5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-63496> (advisory)
- <https://github.com/electrovir/augment-vir> (package)

## Sources

- CVE List: [CVE-2026-63496](https://www.cve.org/CVERecord?id=CVE-2026-63496), CVE Terms of Use, modified 2026-11-14
- GitHub Advisory Database: [GHSA-xvcc-vqjv-phqh](https://github.com/advisories/GHSA-xvcc-vqjv-phqh), CC-BY-4.0, modified 2026-11-18
- NVD: [CVE-2026-63496](https://nvd.nist.gov/vuln/detail/CVE-2026-63496), Public domain, modified 2026-11-14

---

Page: https://cve.day/CVE-2026-63496 · Whole record: https://cve.day/CVE-2026-63496.json · Rebuilt by cve.day 2026-11-25T22:59:49.677Z
