Skip to main content
VulnerabilityPublished Updated

CVE-2026-114145: Nbdime · GitPython validates a submodule's ".git" path only after cloning into it (RCE)

Affects nbdimeSource GCVE Database

0
Authoritative record:CVE-2026-114145· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 4.0.4_11 soon.

Data as of 26 Oct 2026, 17:27 UTC

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Oct 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.4_11.

Affected software

ProductAffectedFixed in
Homebrewnbdimepkg:brew/nbdimeOther threatsAffected
  • >=1.1.0 <4.0.4_11
Fixed in
  • 4.0.4_11

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

AI-suggested

A patch is available in nbdime version 4.0.4_11 that fixes the validation order to prevent cloning into .git directories before path validation. Users and applications should upgrade to version 4.0.4_11 or later. For versions 3.2.0 and later, although a ValueError is raised on invalid paths, the hook is already planted, so relying on catching this exception is insufficient. Applications should avoid passing untrusted or attacker-controlled paths to create_submodule. No other mitigations are documented.

Description

Nbdime's GitPython integration has a vulnerability where submodule paths are validated too late, allowing cloning into the live .git/hooks directory. This enables planting an attacker-controlled executable hook that runs on subsequent git operations, leading to arbitrary code execution. Versions from 3.1.x through 3.2.0+ are affected, with 3.2.0+ raising a ValueError after the malicious hook is already written. The issue is fixed in version 4.0.4_11.

References

Community reviews

Loading reviews…