Read the docs

Shell command injection in augment-vir grep() via search patterns

Priority HIGH 69CWE-78Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

The augment-vir package from electrovir is affected before version 31.73.5. Its grep() function from @augment-vir/node places search patterns into a double-quoted shell command without sanitization (CWE-78). Bash evaluates $() substitutions in the pattern, so untrusted input passed to grep() lets an unauthenticated attacker run arbitrary OS commands as the Node.js process user, locally and potentially remotely.

Written with Claude Haiku 5.5 from the sources below · 2026-11-14

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00184 8th percentileScored 2026-11-16
Fix Fixed augment-vir (electrovir): 31.73.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
electroviraugment-virbefore 31.73.531.73.5Patch availableCNA
  • augment-vir Vendorelectrovir Affected before 31.73.5 Fixed in 31.73.5 Patch available CNA

Remediation

Upgrade augment-vir to version 31.73.5, which fixes this issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-14

  • Fix · CNA augment-vir (electrovir) Fixed in 31.73.5

Timeline

  1. 2026-11-09 Threatist record created from CVE-2026-63496
  2. 2026-11-11 Priority changed: MEDIUM → LOW
  3. 2026-11-14 CISA SSVC decision points changed

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences