git-diff before 2.0.7 contains an OS command injection vulnerability that allows attackers to execute shell commands by supplying crafted strings to the gitDiff API. Attackers who control a diffed document string can embed $(cmd) or backtick substitutions that shelljs.exec evaluates, running commands with Node.js process privileges.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-78"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110634.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "2.0.7"
}
],
"source": "AFFECTED_FIELD"
},
{
"extracted_events": [
{
"fixed": "2.0.7"
}
],
"source": "CPE_FIELD"
},
{
"extracted_events": [
{
"fixed": "2.0.7"
}
],
"source": "DESCRIPTION"
}
]
}