CVE-2026-5917

CRITICALPre-NVD 9.69.6
EchelonGraph scoreHIGH confidence

Score 9.6 from GitHub Security Advisory (severity: CRITICAL) published 2026-08-12. the CNA's CVSS baseline 9.6; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: cna:vulncheck, epss, ghsa
Trending — 3 sources updated this week
9.6EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 1%CVSS: 9.6Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

libgit2 versions v0.27.0 through v1.9.0 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.

CVSS v3
9.6
EG Score
9.6(high)
EG Risk
44(Track)
EG Risk 44/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity96% × 45%
Exploitation1% × 40%
Automatability0% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
1%
EPSS %ILE
56%
KEV
Not listed

Published

August 11, 2026

Last Modified

August 14, 2026

Advisory Details (2)

Auto-updated Aug 15, 2026
No patch confirmed yet.
generic

libgit2 v0.27.0-v1.9.0 Shell Command Injection via ssh_libssh2 Backend | Advisories | VulnCheck

https://www.vulncheck.com/advisories/libgit2-shell-command-injection-via-ssh-libssh2-backend
generic

GitHub - libgit2/libgit2: A cross-platform, linkable library implementation of Git that you can use in your application. · GitHub

https://github.com/libgit2/libgit2

Vendor Advisories for CVE-2026-5917(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 58× in last 7d / 83× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-08-21 06:10 UTCGHSA enrichment
  2. 2026-08-21 02:15 UTCEG score recompute
  3. 2026-08-21 02:14 UTCGHSA enrichment
  4. 2026-08-20 22:55 UTCEPSS rescore
  5. 2026-08-20 22:19 UTCGHSA enrichment
  6. 2026-08-20 18:24 UTCGHSA enrichment
  7. 2026-08-20 14:29 UTCGHSA enrichment
  8. 2026-08-20 10:34 UTCGHSA enrichment
  9. 2026-08-20 06:38 UTCGHSA enrichment
  10. 2026-08-20 02:43 UTCGHSA enrichment
  11. 2026-08-19 22:45 UTCGHSA enrichment
  12. 2026-08-19 18:49 UTCEG score recompute
  13. 2026-08-19 18:49 UTCGHSA enrichment
  14. 2026-08-19 17:04 UTCEPSS rescore
  15. 2026-08-19 14:53 UTCGHSA enrichment
  16. 2026-08-19 10:58 UTCGHSA enrichment
  17. 2026-08-19 07:03 UTCGHSA enrichment
  18. 2026-08-19 03:06 UTCGHSA enrichment
  19. 2026-08-18 23:08 UTCGHSA enrichment
  20. 2026-08-18 19:13 UTCGHSA enrichment
  21. 2026-08-18 15:18 UTCEG score recompute
  22. 2026-08-18 15:18 UTCGHSA enrichment
  23. 2026-08-18 13:48 UTCEPSS rescore
  24. 2026-08-18 11:23 UTCGHSA enrichment
  25. 2026-08-18 07:27 UTCGHSA enrichment
Show 58 more
  1. 2026-08-18 03:30 UTCGHSA enrichment
  2. 2026-08-17 23:34 UTCGHSA enrichment
  3. 2026-08-17 19:38 UTCGHSA enrichment
  4. 2026-08-17 15:43 UTCEG score recompute
  5. 2026-08-17 15:43 UTCGHSA enrichment
  6. 2026-08-17 13:47 UTCEPSS rescore
  7. 2026-08-17 11:47 UTCGHSA enrichment
  8. 2026-08-17 07:51 UTCGHSA enrichment
  9. 2026-08-17 03:56 UTCGHSA enrichment
  10. 2026-08-17 00:01 UTCGHSA enrichment
  11. 2026-08-16 20:06 UTCGHSA enrichment
  12. 2026-08-16 16:10 UTCEG score recompute
  13. 2026-08-16 16:10 UTCGHSA enrichment
  14. 2026-08-16 14:56 UTCEPSS rescore
  15. 2026-08-16 12:14 UTCGHSA enrichment
  16. 2026-08-16 08:19 UTCGHSA enrichment
  17. 2026-08-16 04:24 UTCEG score recompute
  18. 2026-08-16 04:24 UTCGHSA enrichment
  19. 2026-08-16 00:29 UTCGHSA enrichment
  20. 2026-08-15 20:34 UTCGHSA enrichment
  21. 2026-08-15 16:39 UTCGHSA enrichment
  22. 2026-08-15 12:44 UTCGHSA enrichment
  23. 2026-08-15 08:49 UTCGHSA enrichment
  24. 2026-08-15 04:54 UTCEG score recompute
  25. 2026-08-15 04:54 UTCGHSA enrichment
  26. 2026-08-15 01:30 UTCEPSS rescore
  27. 2026-08-15 00:59 UTCGHSA enrichment
  28. 2026-08-14 21:04 UTCGHSA enrichment
  29. 2026-08-14 17:09 UTCEG score recompute
  30. 2026-08-14 17:09 UTCGHSA enrichment
  31. 2026-08-14 16:39 UTCGHSA enrichment
  32. 2026-08-14 12:44 UTCGHSA enrichment
  33. 2026-08-14 08:49 UTCGHSA enrichment
  34. 2026-08-14 04:54 UTCGHSA enrichment
  35. 2026-08-14 00:59 UTCEG score recompute
  36. 2026-08-14 00:59 UTCGHSA enrichment
  37. 2026-08-13 22:00 UTCEPSS rescore
  38. 2026-08-13 21:03 UTCGHSA enrichment
  39. 2026-08-13 17:05 UTCGHSA enrichment
  40. 2026-08-13 13:10 UTCGHSA enrichment
  41. 2026-08-13 09:14 UTCGHSA enrichment
  42. 2026-08-13 05:19 UTCGHSA enrichment
  43. 2026-08-13 01:24 UTCGHSA enrichment
  44. 2026-08-12 21:29 UTCGHSA enrichment
  45. 2026-08-12 17:34 UTCEG score recompute
  46. 2026-08-12 17:34 UTCGHSA enrichment
  47. 2026-08-12 13:51 UTCEPSS rescore
  48. 2026-08-12 13:38 UTCEG score recompute
  49. 2026-08-12 13:38 UTCGHSA enrichment
  50. 2026-08-12 12:55 UTCEG score recompute
  51. 2026-08-12 12:55 UTCGHSA enrichment
  52. 2026-08-12 10:04 UTCGHSA enrichment
  53. 2026-08-12 06:09 UTCGHSA enrichment
  54. 2026-08-12 02:14 UTCEG score recompute
  55. 2026-08-12 02:14 UTCGHSA enrichment
  56. 2026-08-11 22:18 UTCEG score recompute
  57. 2026-08-11 21:45 UTCEG score recompute
  58. 2026-08-11 21:45 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-5917?
CVE-2026-5917 is a critical vulnerability published on August 11, 2026. libgit2 versions v0.27.0 through v1.9.0 built with the libssh2 SSH backend (USESSH=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…
When was CVE-2026-5917 disclosed?
CVE-2026-5917 was first published in the National Vulnerability Database on August 11, 2026, with the most recent update on August 14, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-5917 actively exploited?
CVE-2026-5917 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 1% probability of exploitation in the next 30 days, which ranks it in the top 44.3% of all scored CVEs.
What is the CVSS score of CVE-2026-5917?
CVE-2026-5917 has a CVSS v4.0 base score of 9.6 (CNA self-assessment; NVD's own analysis pending).
How do I remediate CVE-2026-5917?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-5917, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-5917

Explore →

Is Your Infrastructure Affected by CVE-2026-5917?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.