{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-5917","published":"2026-08-11T22:17:37.390000Z","last_modified":"2026-09-24T20:43:32.537000Z","status":"Deferred","cvss":{"version":"4.0","score":8.6,"severity":"HIGH","vector":"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:X","source":"disclosure@vulncheck.com","primary":false},"auth":false,"cwes":["CWE-78"],"cpes":[],"cpes_truncated":false,"vendors":["libgit2"],"products":["libgit2/libgit2"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":67,"links":{"html_es":"/es/cve/CVE-2026-5917/","html_en":"/en/cve/CVE-2026-5917/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-5917","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-5917"},"untrusted":{"vendor_name":"libgit2","product_name":"libgit2","desc_en":"libgit2 versions before 1.8.7 and 1.9.0 before 1.9.7 built with the libssh2 SSH backend (USE_SSH=libssh2) contain a shell command injection vulnerability that allows remote attackers to execute arbitrary commands on an SSH server by supplying a repository path containing unescaped shell metacharacters such as single quotes, semicolons, or pipes. The gen_proto() function in ssh_libssh2.c inserts the repository path directly into a shell command string without escaping special characters before passing it to libssh2_channel_exec(), enabling an attacker to craft a malicious submodule URL in a .gitmodules file that, when processed during a recursive clone, causes the remote server's shell to interpret injected commands under the victim's SSH user account.","affected":[{"untrusted_vendor":"libgit2","untrusted_product":"libgit2","versions":[]}],"references":[{"url":"https://github.com/libgit2/libgit2/security/advisories/GHSA-xqj4-2j5v-rr75","tags":[]},{"url":"https://www.vulncheck.com/advisories/libgit2-shell-command-injection-via-ssh-libssh2-backend","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:11521-1","url":"https://www.suse.com/support/update/","published":"2026-08-15T00:00:00+00:00","severity":"high","exploited":false,"untrusted":{"title":"libgit2-1_9-1.9.7-1.1 on GA media"}}]}