CVE-2026-5917: libgit2 security update
Affects libgit2Source GCVE Database
Not known to be exploited · CVSS 8.6 High : upgrade to 1.3.2-4.oe2203sp4 soon.
Data as of 19 Nov 2026, 03:05 UTC
- Patch
- Available – fixed in 1.3.2-4.oe2203sp4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/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:XExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 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 18 Nov 2026.
What to do
Upgrade libgit2 to 1.3.2-4.oe2203sp4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
openEuler 22.03-LTS-SP4libgit2pkg:rpm/openEuler/libgit2&distro=openEuler-22.03-LTS-SP4Other 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 in libgit2 version 1.3.2-4.oe2203sp4 that addresses this shell command injection vulnerability. Users should upgrade to this fixed version or later to remediate the issue. No additional mitigation steps are indicated by the vendor advisory.
Description
A shell command injection vulnerability exists in libgit2 versions before 1.8.7 and 1.9.0 before 1.9.7 when built with the libssh2 SSH backend. This flaw allows remote attackers to execute arbitrary commands on an SSH server by supplying a repository path containing unescaped shell metacharacters. The vulnerability arises from the gen_proto() function in ssh_libssh2.c, which inserts the repository path directly into a shell command without escaping special characters. An attacker can exploit this by crafting a malicious submodule URL in a .gitmodules file, causing command execution during a recursive clone under the victim's SSH user account. A fix is available in version 1.3.2-4.oe2203sp4.