CVE-2026-78676: GitPython · Dormant multi-line git-config values are corrupted into live injected directives (e.g
Affects snowflake-cliSource GCVE Database
Not known to be exploited · CVSS 9.3 Critical : upgrade to 3.27.0 as a priority.
Data as of 12 Nov 2026, 23:24 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.27.0, 0.35.0_5, 0.29.0 +2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 13 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewsnowflake-clipkg:brew/snowflake-cliOther threats | Affected
| Fixed in
|
Homebrewtachpkg:brew/tachOther threats | Affected
| Fixed in
|
Homebrewapmpkg:brew/apmOther threats | Affected
| Fixed in
|
Homebrewlegitpkg:brew/legitOther threats | Affected
| Fixed in
|
Homebrewkimi-clipkg:brew/kimi-cliOther threats | Affected
| Fixed in
|
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 to fix this vulnerability. Users should upgrade to the fixed versions of GitPython and kimi-cli as indicated by the vendor. The vulnerability arises from GitPython's internal re-serialization logic, so applying the official patch or upgrading to a fixed release is the recommended remediation. No other mitigations are specified or effective because the issue is triggered by normal config writes. Check the vendor advisory for the latest patch details.
Description
A critical vulnerability (CVE-2026-78676) in GitPython's GitConfigParser allows dormant multi-line git-config values to be corrupted into live injected directives upon any unrelated config write. This occurs because the parser's re-serialization logic mishandles multi-line values, causing injected directives like core.hooksPath to be interpreted by Git, enabling remote code execution (RCE). The issue affects GitPython version 3.1.58 at HEAD and specific kimi-cli versions. A patch is available.
References
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-284h-m62q-gf8w (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-78676 (opens in a new tab)
- github.com/gitpython-developers/GitPython (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3786.yaml (opens in a new tab)
- vulncheck.com/advisories/gitpython-before-remote-code-execution-via-config-injection (opens in a new tab)