{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-102829","id":"CVE-2026-102829","title":"simple-git: `VISUAL` editor environment variable is omitted from unsafe editor detection","description":"simple-git, an interface for running git commands in any node.js application, enables applications to execute Git operations from JavaScript. Prior to 2.0.1 of the argv-parser package, parseEnv omits VISUAL from GitEnvKeys, so prepareEnv drops the value before vulnerabilityCheck can classify it as allowUnsafeEditor. A consuming application that forwards attacker-influenced environment values can t","descriptionLong":"simple-git, an interface for running git commands in any node.js application, enables applications to execute Git operations from JavaScript. Prior to 2.0.1 of the argv-parser package, parseEnv omits VISUAL from GitEnvKeys, so prepareEnv drops the value before vulnerabilityCheck can classify it as allowUnsafeEditor. A consuming application that forwards attacker-influenced environment values can therefore allow Git to invoke an attacker-selected editor during operations such as commit amendment or interactive rebase when no higher-priority editor setting overrides VISUAL and Git's terminal prerequisites are met. The executable runs with the privileges of the Node.js process. This issue is fixed in argv-parser 2.0.1.","published":"2026-09-29T18:46:58.476Z","updated":"2026-10-28T02:31:06.870144386Z","reserved":"2026-09-29T17:25:25.265Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":9.2,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"4.0","score":9.2,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"critical","source":"GitHub_M"},{"version":"4.0","score":9.2,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"critical","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"critical","source":"GitHub"}],"rating":"critical","products":["steveukx git-js"],"affectedProducts":[{"vendor":"steveukx","product":"git-js","defaultStatus":null,"versions":[{"version":"< 2.0.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@simple-git/argv-parser","purl":"pkg:npm/%40simple-git/argv-parser","ranges":["<2.0.1"],"fixed":["2.0.1"],"advisory":"GHSA-v5rq-49vh-5v5c"}],"cwes":["CWE-78","CWE-184"],"aliases":["GHSA-v5rq-49vh-5v5c"],"references":[{"url":"https://github.com/steveukx/git-js/security/advisories/GHSA-v5rq-49vh-5v5c","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/steveukx/git-js/pull/1201","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/steveukx/git-js/commit/68874c239f0c7a87f4a68c3d2c4a0d7c75bb27f4","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/steveukx/git-js/releases/tag/@simple-git/argv-parser@2.0.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102829.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102829","tags":["advisory"]},{"url":"https://github.com/steveukx/git-js","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00353,"epssPercentile":0.2958,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-102829","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102829","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-102829","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v5rq-49vh-5v5c","ok":true,"note":"GHSA-v5rq-49vh-5v5c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-102829","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}