{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-102829","published":"2026-09-29T19:17:25.367000Z","last_modified":"2026-09-30T20:17:24.433000Z","status":"Awaiting Analysis","cvss":{"version":"4.0","score":9.2,"severity":"CRITICAL","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","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-78","CWE-184"],"cpes":[],"cpes_truncated":false,"vendors":["steveukx"],"products":["steveukx/git-js"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-v5rq-49vh-5v5c","ecosystem":"npm","name":"@simple-git/argv-parser","purl":"pkg:npm/%40simple-git/argv-parser","ranges":[{"introduced":"0","fixed":"2.0.1"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-102829/","html_en":"/en/cve/CVE-2026-102829/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-102829","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-102829"},"untrusted":{"vendor_name":"steveukx","product_name":"git-js","desc_en":"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.","affected":[{"untrusted_vendor":"steveukx","untrusted_product":"git-js","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"26397f52514117dbf860ce68e19395f6","generated":"2026-11-26T23:24:30.330734Z","es":{"untrusted_title":"Ejecución de código arbitrario mediante variable de entorno VISUAL en git-js","untrusted_summary":"La librería simple-git (git-js) anterior a la versión 2.0.1 de argv-parser omite la variable de entorno VISUAL en la validación de seguridad, permitiendo que un atacante ejecute un editor arbitrario durante operaciones de Git como enmiendas de commits o rebase interactivo. El editor se ejecuta con los privilegios del proceso Node.js."},"en":{"untrusted_title":"Arbitrary code execution via VISUAL environment variable in git-js","untrusted_summary":"The simple-git library (git-js) prior to argv-parser version 2.0.1 omits the VISUAL environment variable from security validation, allowing an attacker to execute an arbitrary editor during Git operations such as commit amendments or interactive rebase. The editor runs with the privileges of the Node.js process."},"remediation":{"status":"fix","fixed_versions":["2.0.1"],"untrusted_action_es":"Actualiza @simple-git/argv-parser a la versión 2.0.1 o superior.","untrusted_action_en":"Update @simple-git/argv-parser to version 2.0.1 or later.","vendor_url":"https://github.com/steveukx/git-js/releases/tag/@simple-git/argv-parser@2.0.1"},"reviewed":false},"references":[{"url":"https://github.com/steveukx/git-js/commit/68874c239f0c7a87f4a68c3d2c4a0d7c75bb27f4","tags":[]},{"url":"https://github.com/steveukx/git-js/pull/1201","tags":[]},{"url":"https://github.com/steveukx/git-js/releases/tag/@simple-git/argv-parser@2.0.1","tags":[]},{"url":"https://github.com/steveukx/git-js/security/advisories/GHSA-v5rq-49vh-5v5c","tags":[]}]}}