Skip to main content
VulnerabilityPublished Updated

CVE-2024-22190: Nbdime · Untrusted search path under some conditions on Windows allows arbitrary code execution

Affects nbdimeSource GCVE Database

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 7.8 High : upgrade to 4.0.1_1 soon.

Data as of 26 Oct 2026, 17:41 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.0.1_1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade nbdime to 4.0.1_1.

Affected software

ProductAffectedFixed in
Homebrewnbdimepkg:brew/nbdimeOther threatsAffected
  • >=1.1.0 <4.0.1_1
Fixed in
  • 4.0.1_1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in nbdime version 4.0.1_1. Users and administrators should upgrade to this version to remediate the vulnerability. Until patched, avoid configuring GitPython to run git commands with shell=True or setting Git.USE_SHELL = True. Be cautious with hook scripts on Windows, as no simple mitigation exists for the bash.exe execution issue. Review workflows to minimize exposure to untrusted repositories or branches containing malicious executables.

Description

CVE-2024-22190 is a vulnerability in nbdime affecting Windows platforms where GitPython uses an untrusted search path to run git or bash.exe, allowing arbitrary code execution. This occurs when GitPython runs git commands through a shell or runs hook scripts using bash.exe without properly restricting the search path. Malicious executables named git.exe or bash.exe placed in a repository or working directory can be executed unintentionally. The vulnerability is a partial regression of CVE-2023-40590 and affects nbdime versions from 1.1.0 up to but not including 4.0.1_1. A fix is available in version 4.0.1_1.

References

Community reviews

Loading reviews…