Skip to main content

@augment-vir/node EUVDEUVD-2026-120443

| CVE-2026-63496 HIGH
OS Command Injection (CWE-78)
2026-11-09 GitHub_M GHSA-xvcc-vqjv-phqh
7.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Control value passed to grep() pattern
  2. Delivery
    Inject $() command substitution in pattern
  3. Exploit
    Unsanitized pattern placed in bash command string
  4. Execution
    bash evaluates substitution via spawn shell:'bash'
  5. Impact
    Arbitrary OS command execution as Node process user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a downstream application calls @augment-vir/node's grep() and routes attacker-influenced input into the grep() pattern or patterns field - this is the exact concrete prerequisite. The library's internal escape() helper (grep.ts:178-180) is applied to excludePatterns, excludeDirs, and includeFiles but NOT to searchPatterns, and even quote-escaping would not block $() or backtick substitution in a bash double-quote context. No authentication or special privileges are needed at the library level (PR:N), and the vulnerable grep() is exported from the package's main entry point and enabled by default, so no non-default configuration is required. The principal LIMITING factor is reachability: CVSS classifies the vector as Local because the attacker must control the value at the API boundary - the flaw is only remotely exploitable if a consuming service maps untrusted external input to the pattern parameter. Impact is bounded by the privileges of the Node.js process user.

Impact

This is a genuine, high-priority defect for anyone embedding the library, not an inflated high-CVSS score. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R, C:H/I:H/A:H, score 7.8) describes a low-complexity, no-privilege path to full confidentiality, integrity, and availability compromise, and the vuln.today decision label is this_week. The strongest signal is a confirmed working proof-of-concept: the GHSA advisory documents both static (Phase 1) and dynamic (Phase 2) reproduction, with the sentinel file created inside a Docker container - so publicly available exploit code exists. No CISA KEV listing is present in the input and no EPSS score was provided, so there is no evidence of active in-the-wild exploitation, only demonstrated exploitability. The one tension worth stating explicitly: CVSS rates this Local (AV:L) because the attacker must control the value passed to grep()'s pattern at the library API, but the advisory itself notes severity escalates to network-reachable if any web service or API maps user-supplied input into that parameter - so real-world risk is entirely a function of how downstream consumers wire untrusted data into grep(). Because augment-vir is a developer utility library rather than a deployed service, aggregate exposure depends on how many packages depend on it and expose the pattern field.

Exploit ScenarioDerived

A downstream Node.js application uses @augment-vir/node's grep() and passes a user-supplied search string (e.g. from a web form, API parameter, or CLI argument) into the pattern field. The attacker submits a value such as $(touch /tmp/pwned)no-match; because the command is built as a double-quoted bash string and run via spawn with shell:'bash', the $() command substitution executes before grep runs, yielding arbitrary command execution as the Node process user. A verified, working PoC exists in the advisory demonstrating exactly this.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

@augment-vir/node through version 31.73.2 builds its grep() invocation as a double-quoted bash command string, so a caller-supplied search pattern containing $() or backtick expressions is evaluated by the shell before grep ever runs, allowing arbitrary commands to execute as the Node.js process user. The flaw only fires when a downstream application routes attacker-influenced input into grep()'s pattern or patterns field; at the library boundary no authentication or special privileges are required and no non-default configuration is needed, since grep() is exported from the package's main entry point, while reachability is the limiting factor because remote exploitation depends entirely on how the consuming service maps external input to that parameter. Impact is high across confidentiality, integrity and availability, bounded only by the privileges of the process account; the vendor has released 31.73.5 as the fix, a public proof-of-concept reference is included in the advisory (it has not been independently verified here as working exploit code), there is no CISA KEV listing, and the vuln.today priority decision is 'this_week'.

RemediationAI

Vendor-released patch: upgrade @augment-vir/node to version 31.73.5 or later (release tag v31.73.5, fix commit 9e1a3592903a56e500959be72276ede1708c3437, advisory GHSA-xvcc-vqjv-phqh); since the package is normally a transitive dependency, update the lockfile and verify the resolved version rather than assuming a semver range pulled it in. If you cannot upgrade immediately, the advisory's remediation is a code change in grep.ts: replace the quote-escaping escape() helper with a single-quote shell quoting function ('${input.replaceAll("'", "'\\''").replaceAll('\n','')}'), apply it to searchPatterns, and add a -- argument terminator before the search parts - note that escaping double quotes alone does not stop $() or backtick substitution inside a bash double-quoted context. The advisory's alternative, and the more robust trade-off, is to stop building a shell string at all and call spawn('grep', args, { shell: false }), which eliminates shell metacharacter interpretation entirely; the cost is that any existing callers relying on shell features in the constructed command would need to build their argument arrays explicitly. Because the vulnerable grep() is exported from the package's main entry point and enabled by default, there is no library flag or configuration switch described in the advisory that disables it, so the practical interim control is application-level: audit every call site for pattern or patterns values that derive from user input, request parameters, file names, database content or other untrusted sources and replace them with validated or hard-coded patterns until the dependency is upgraded. The advisory does not describe any further runtime mitigation beyond these code changes. Consult https://github.com/electrovir/augment-vir/security/advisories/GHSA-xvcc-vqjv-phqh for the authoritative fix guidance.

Affected VersionsENISA

augment-vir < 31.73.5

Affected Packages

npm @augment-vir/node fix: 31.73.5
euvd augment_vir fix: 31.73.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected code lives in packages/node/src/augments/fs/grep.ts, where each caller-supplied search pattern is rendered into a shell fragment as -e "${searchPattern}" (grep.ts:310) and the assembled command string is passed through runShellCommand to streamShellCommand, which calls spawn(command, { shell: 'bash' }) (shell.ts:98-99, with bash the default at shell.ts:92). This is CWE-78 OS command injection via shell metacharacter interpretation: inside bash double quotes, $() command substitution and backticks are still evaluated, so removing or escaping double quotes does not neutralise the injection. The package ships an internal escape() helper (grep.ts:178-180) that only replaces " with \" and strips newlines, and it is applied to excludePatterns, excludeDirs and includeFiles but never to searchPatterns, which is the precise root cause. The data flow is traceable from the public export in packages/node/src/index.ts:3 through grep()'s grepSearchPattern argument (grep.ts:223-226), the derivation of searchPatterns from pattern/patterns (grep.ts:228), command construction (grep.ts:269-314) and the unescaped sink at grep.ts:310. Affected products are keyed by CPE cpe:2.3:a:electrovir:augment-vir with a wildcard version, and the npm package metadata in the advisory records npm/@augment-vir/node as vulnerable at <=31.73.2. The upstream fix commit 9e1a3592903a56e500959be72276ede1708c3437 is primarily a release version bump across the monorepo from 31.73.4 to 31.73.5, and the advisory's suggested patch replaces double-quote escaping with single-quote shell quoting, inserts a -- argument terminator, or avoids the shell entirely by calling spawn('grep', args, { shell: false }).

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 8.4 HIGH

AV:L and PR:N because the attacker must control the grep() pattern value at the library API but needs no privileges; UI:N since no victim interaction is inherent; C/I/A:H for arbitrary command execution as the process user.

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 09, 2026 - 22:03 EUVD
CVE Published
Nov 09, 2026 - 20:55 cve.org
HIGH 7.8

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 49 npm packages depend on @augment-vir/node (42 direct, 21 indirect)

Ecosystem-wide dependent count for version 31.73.5.

Technical POC Analysis

CWE-78 OS Command Injection in @augment-vir/node's grep().

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-63496 is a high-severity command injection flaw in the @augment-vir/node library (through 31.73.2) used by applications to perform grep searches. If a service passes attacker-influenced input into grep's pattern parameter, an attacker could execute arbitrary commands under the Node.js process account, potentially compromising data and service operations. Leadership should care because any externally facing application built on this library becomes a potential entry point for unauthorized access, with impact limited only by the process permissions.

Business Impact: High
Compensating Controls

If immediate upgrade is not possible, validate and sanitize all inputs passed to grep() by escaping shell metacharacters such as $() and backticks, or wrap calls in a restricted execution environment; however, applying the vendor patch (31.73.5) is the definitive remediation.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche npm developer utility library, not a deployed enterprise product
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy