nday
CVE-2026-63496 GHSA-xvcc-vqjv-phqh

augment-vir: Shell Command Injection in `grep()` via Unsanitized `searchPattern`

electrovir / augment-vir

揭露 9 天後出現修補紀錄。已於 @augment-vir/node 31.73.5 修補。四個 PoC 來源皆未收錄。目前未列入 CISA KEV。

tags weakness typecommand injection accesslocalno authentication required ecosystemnpm
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-78, stated by the CNA GitHub_M、NVD, republishing [email protected] 與 GitHub advisory GHSA-xvcc-vqjv-phqh
local
AV:L in CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
npm
GHSA-xvcc-vqjv-phqh: npm packages @augment-vir/node
目前階段
PAT
揭露時間
揭露 → 修補
T+9d
CVSS
7.8 HIGH v3.1

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
11-09T20:55Z
PAT修補
11-18T17:03Z
ANA分析
尚無紀錄
POCPoC
尚無紀錄
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

事件紀錄

+DIS揭露

CVE 紀錄由 GitHub_M 發布。CVSS 7.8,屬高風險等級。CISA 的 SSVC 評估將利用狀態判定為 poc。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "id": 12584,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-63496",
  "occurred_at": "2026-11-09T20:55:33.876Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 7.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-11-14T02:16:44.289380Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-09T20:55:33.876Z",
    "assigner_short_name": "GitHub_M"
  }
}
來源無時間;nday 即時觀測
+PAT已有修補

公告列出的修補版本:@augment-vir/node 31.73.5。公告附有修補 commit。公告發布於 ;修補本身的釋出時間沒有紀錄。

來源 ghsa GHSA-xvcc-vqjv-phqh · nday 於 即時觀測 · 原始
{
  "id": 479680,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-xvcc-vqjv-phqh",
  "occurred_at": null,
  "observed_at": "2026-11-18T17:03:52.559399Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-xvcc-vqjv-phqh",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 7.8,
        "vector_string": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Neutralization of Special Elements used in an OS Command",
        "cwe_id": "CWE-78"
      }
    ],
    "ghsa_id": "GHSA-xvcc-vqjv-phqh",
    "packages": [
      {
        "name": "@augment-vir/node",
        "ecosystem": "npm",
        "first_patched_version": "31.73.5",
        "vulnerable_version_range": "< 31.73.5"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/electrovir/augment-vir/security/advisories/GHSA-xvcc-vqjv-phqh",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-63496",
      "https://github.com/electrovir/augment-vir/commit/9e1a3592903a56e500959be72276ede1708c3437",
      "https://github.com/electrovir/augment-vir/releases/tag/v31.73.5",
      "https://github.com/advisories/GHSA-xvcc-vqjv-phqh"
    ],
    "fix_commit_urls": [
      "https://github.com/electrovir/augment-vir/commit/9e1a3592903a56e500959be72276ede1708c3437"
    ],
    "github_reviewed_at": "2026-11-18T16:15:52Z",
    "advisory_updated_at": "2026-11-18T16:15:53Z",
    "source_code_location": "https://github.com/electrovir/augment-vir",
    "advisory_published_at": "2026-11-18T16:15:52Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.