{"id":"CVE-2026-63496","summary":"augment-vir: Shell Command Injection in `grep()` via Unsanitized `searchPattern`","details":"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.","aliases":["GHSA-xvcc-vqjv-phqh"],"modified":"2026-11-17T02:47:01.602219862Z","published":"2026-11-09T20:55:33.876Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63496.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-78"]},"references":[{"type":"WEB","url":"https://github.com/electrovir/augment-vir/releases/tag/v31.73.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63496.json"},{"type":"ADVISORY","url":"https://github.com/electrovir/augment-vir/security/advisories/GHSA-xvcc-vqjv-phqh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63496"},{"type":"FIX","url":"https://github.com/electrovir/augment-vir/commit/9e1a3592903a56e500959be72276ede1708c3437"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/electrovir/augment-vir","events":[{"introduced":"0"},{"fixed":"9e1a3592903a56e500959be72276ede1708c3437"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"31.73.5"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"9e1a3592903a56e500959be72276ede1708c3437"}]},{"original_tag":"v31.73.5","range":[{"fixed":"9e1a3592903a56e500959be72276ede1708c3437"}],"source":"REFERENCES_TAG"},{"source":"DESCRIPTION","range":[{"introduced":"0"},{"fixed":"31.73.5"}]}]}}],"versions":["v31.73.4","v31.73.2","v31.73.1","v31.73.0","v31.72.1","v31.72.0","v31.71.4","v31.71.3","v31.71.2","v31.71.1","v31.71.0","v31.70.1","v31.70.0","v31.69.0","v31.68.4","v31.68.3","v31.68.2","v31.68.1","v31.68.0","v31.67.1","v31.67.0","v31.66.0","v31.65.0","v31.64.1","v31.64.0","v31.63.0","v31.62.0","v31.61.0","v31.60.0","v31.59.3","v31.59.2","v31.59.1","v31.59.0","v31.58.0","v31.57.5","v31.57.4","v31.57.3","v31.57.2","v31.57.1","v31.57.0","v31.56.0","v31.55.0","v31.54.4","v31.54.3","v31.54.2","v31.54.1","v31.54.0","v31.53.0","v31.52.0","v31.51.1","v31.51.0","v31.50.4","v31.50.3","v31.50.2","v31.50.1","v31.50.0","v31.49.0","v31.48.0","v31.47.0","v31.46.1","v31.46.0","v31.45.0","v31.44.0","v31.43.3","v31.43.2","v31.43.1","v31.43.0","v31.42.0","v31.41.0","v31.40.0","v31.39.0","v31.38.0","v31.37.0","v31.36.0","v31.35.0","v31.34.1","v31.34.0","v31.33.1","v31.33.0","v31.32.3","v31.32.2","v31.32.1","v31.32.0","v31.31.0","v31.30.1","v31.30.0","v31.29.1","v31.29.0","v31.28.0","v31.27.0","v31.26.0","v31.25.0","v31.24.1","v31.24.0","v31.23.4","v31.23.3","v31.23.2","v31.23.1","v31.23.0","v31.22.0","v31.21.1","v31.21.0","v31.20.1","v31.20.0","v31.19.1","v31.19.0","v31.18.0","v31.17.1","v31.17.0","v31.16.0","v31.15.0","v31.14.1","v31.14.0","v31.13.0","v31.12.0","v31.11.0","v31.10.2","v31.10.1","v31.10.0","v31.9.4","v31.9.3","v31.9.2","v31.9.1","v31.9.0","v31.8.1","v31.8.0","v31.7.2","v31.7.1","v31.7.0","v31.6.0","v31.5.0","v31.4.0","v31.3.0","v31.2.1","v31.2.0","v31.1.1","v31.1.0","v31.0.1","v31.0.0","v30.8.4","v30.8.3","v30.8.2","v30.8.1","v30.8.0","v30.7.0","v30.6.2","v30.6.1","v30.6.0","v30.5.1","v30.5.0","v30.4.0","v30.3.0","v30.2.0","v30.1.0","v30.0.5","v30.0.4","v30.0.3","v29.3.0","v29.2.0","v29.1.10","v29.1.9","v29.1.8","v29.1.7","v29.1.6","v29.1.5","v29.1.4","v29.1.3","v29.1.2","v29.1.1","v29.1.0","v29.0.0","v28.2.4","v28.2.3","v28.2.2","v28.2.1","v28.2.0","v28.1.1","v28.1.0","v28.0.2","v28.0.1","v28.0.0","v27.0.0","v26.4.0","v26.3.3","v26.3.2","v26.3.1","v26.3.0","v26.2.1","v26.2.0","v26.1.0","v26.0.2","v26.0.1","v26.0.0","v25.0.0","v24.0.0","v23.4.0","v23.3.4","v23.3.2","v23.3.1","v23.3.0","v23.2.0","v23.1.1","v23.1.0","v23.0.0","v22.4.0","v22.3.0","v22.2.2","v22.2.1","v22.2.0","v22.1.1","v22.1.0","v22.0.1","v22.0.0","v21.7.0","v21.6.1","v21.6.0","v21.5.1","v21.5.0","v21.4.0","v21.3.6","v21.3.5","v19.6.0","v21.3.4","v21.3.3","v21.3.2","v21.3.1","v21.3.0","v21.2.0","v21.1.0","v21.0.1","v21.0.0","v20.0.1","v20.0.0","v19.5.0","v19.4.2","v19.4.1","v19.4.0","v19.3.1","v19.3.0","v19.2.0","v19.1.0","v19.0.2","v19.0.1","v19.0.0","v18.1.1","v18.1.0","v18.0.0","v17.0.0","v16.4.2","v16.4.1","v16.4.0","v16.3.0","v16.2.0","v16.1.0","v16.0.1","v16.0.0","v15.6.1","v15.6.0","v15.5.0","v15.4.2","v15.4.1","v15.4.0","v15.3.0","v15.2.1","v15.2.0","v15.1.0","v15.0.0","v14.4.0","v14.3.1","v14.3.0","v14.2.2","v14.2.1","v14.2.0","v14.1.1","v14.1.0","v14.0.0","v13.5.0","v13.4.0","v13.3.0","v13.2.4","v13.2.3","v13.2.2","v13.2.1","v13.2.0","v13.1.0","v13.0.0","v12.14.0","v12.13.0","v12.12.0","v12.11.2","v12.11.1","v12.11.0","v12.10.0","v12.9.1","v12.9.0","v12.8.0","v12.7.0","v12.6.1","v12.6.0","v12.5.0","v12.4.0","v12.3.0","v12.2.1","v12.2.0","v12.1.2","v12.1.1","v12.1.0","v12.0.1","v12.0.0","v11.3.1","v11.3.0","v11.2.0","v11.1.2","v11.1.1","v11.1.0","v11.0.0","v10.0.0","v9.3.2","v9.3.1","v9.3.0","v9.2.0","v9.1.0","v9.0.0","v8.1.0","v8.0.0","v7.1.0","v7.0.0","v6.4.0","v6.3.0","v6.2.0","v6.1.6","v6.1.5","v6.1.4","v6.1.3","v6.1.2","v6.1.1","v6.1.0","v6.0.0","v5.0.1","v4.6.1","v4.6.0","v4.5.0","v4.4.0","v4.3.1","v4.3.0","v4.2.1","v4.2.0","v4.1.0","v4.0.0","v3.1.2","v3.1.1","v3.1.0","v3.0.6","v3.0.5","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.5.1","v2.5.0","v2.4.0","v2.3.0","v2.2.1","v2.2.0","v2.1.1","v2.1.0","v2.0.2","v2.0.1","v2.0.0","v1.14.1","v1.14.0","v1.13.0","v1.12.2","v1.12.1","v1.12.0","v1.11.0","v1.10.1","v1.10.0","v1.9.1","v1.9.0","v1.8.0","v1.7.0","prerelease-main","v1.6.1","v1.6.0","v1.5.2","v1.5.1","v1.5.0","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.0","v1.2.1","v1.2.0","v1.1.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63496.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}