CVE-2023-51385

CRITICALNVD 6.59.8
EchelonGraph scoreMEDIUM confidence

“▲” beside the score: it is higher than NVD's CVSS score.

Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2023-12-18. NVD baseline CVSS 6.5; sources differ by 3.3.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Elevated

Also known asEUVD-2023-56106 (ENISA EUVD) · GHSA-5mq4-x9g5-4vc4 (GitHub Security Advisories)Source: ENISA EUVD

9.8EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines at low or medium mission impact and sooner than that at high (the SSVC decision on this page).
  • Public exploit or proof-of-concept code is available
CISA-KEV: Not listedEPSS PROB: 20%CVSS: 6.5Exploit: Public PoCExposed services: Not assessed

A fix is available — apply it.

In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host name has shell metacharacters, and this name is referenced by an expansion token in certain situations. For example, an untrusted Git repository can have a submodule with shell metacharacters in a user name or host name.

CVSS v3
6.5
EG Score
9.8CRITICALmedium confidence
EG Risk
75
EG Risk 75/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity98% × 45%
Impact severity (EG Severity): CVSS 9.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation40% × 40%
EchelonGraph's fixed weight for EG-KEV Tier 3 (Elevated): a constant, not a probability.
Automatability100% × 15%
CISA's SSVC Automatable value: yes (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low, Track* at medium and Attend at high mission impact.
Exploitation public PoC (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
EPSS PROB
20%
EPSS %ILE
97th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.8): severity, escalated by confirmed exploitation. This CVE's 9.8 is its impact severity (EG Severity), not escalated.

EG Severity
9.8 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
20% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-12). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track* at medium mission impactTrack at low, Track* at medium and Attend at high mission impact.CISA BOD 26-04: 3 days if the affected system is publicly exposed; 60 days if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low, Track* at medium and Attend at high mission impact.

A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.

Exploitation public PoC (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)3 days if the affected system is publicly exposed; 60 days if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

December 18, 2023

Last Modified

October 15, 2026

Advisory Details (10)

Auto-updated Jul 14, 2026
Patch available. Sources: github_commit.
Web page

About the security content of macOS Sonoma 14.4 - Apple Support

https://support.apple.com/kb/HT214084
Web page

OpenSSH: Multiple Vulnerabilities (GLSA 202312-17) — Gentoo security

https://security.gentoo.org/glsa/202312-17
Web page

oss-security - CVE-2023-51385, CVE-2023-6004: OpenSSH, libssh: Security weakness in ProxyCommand handling

http://www.openwall.com/lists/oss-security/2023/12/26/4
Web pageMentions a patch (unverified)

[SECURITY] [DLA 3694-1] openssh security update

https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html
Web page

[SECURITY] [DSA 5586-1] openssh security update

https://www.debian.org/security/2023/dsa-5586
GitHub commit

commit 7ef3787c84b6 (openssh/openssh-portable)

Fix landed in openssh/openssh-portable commit 7ef3787c84b6 — awaiting tagged release

https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a
Web page

oss-security - Announce: OpenSSH 9.6 released

https://www.openwall.com/lists/oss-security/2023/12/18/2

Patch Availability(11)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
ubuntussh-krb5 (1:7.2p2-4ubuntu2.10+esm6) @ xenial2026-11-12ubuntu
ubuntussh-askpass-gnome (1:7.6p1-4ubuntu0.7+esm3) @ bionic2026-11-12ubuntu
ubuntussh-askpass-gnome (1:9.3p1-1ubuntu3.2) @ mantic2026-11-12ubuntu
redhatopenssh-0:8.0p1-7.el8_4.22026-06-01redhat
redhatopenssh-0:8.7p1-13.el9_0.12026-02-03redhat
redhatodf4/rook-ceph-rhel9-operator:v4.15.0-1032024-03-19redhat
redhatopenssh-0:8.7p1-34.el9_3.32024-03-05redhat
redhatopenssh-0:8.0p1-19.el8_9.22024-01-30redhat
redhatopenssh-0:8.0p1-19.el8_8.22024-01-30redhat
redhatopenssh-0:8.0p1-15.el8_6.32024-01-25redhat
redhatopenssh-0:8.7p1-30.el9_2.32024-01-25redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(13 across 13 ecosystems)
Alpine:v3.16(1)
PackageVulnerable rangeFix by version rangeDependents
openssh—
  • every version up to 9.0_p1-r5: fixed in 9.0_p1-r5
—
Alpine:v3.17(1)
PackageVulnerable rangeFix by version rangeDependents
openssh—
  • every version up to 9.1_p1-r5: fixed in 9.1_p1-r5
—
Alpine:v3.19(1)
PackageVulnerable rangeFix by version rangeDependents
openssh—
  • every version up to 9.6_p1-r0: fixed in 9.6_p1-r0
—
Alpine:v3.20(1)
PackageVulnerable rangeFix by version rangeDependents
openssh—
  • every version up to 9.6_p1-r0: fixed in 9.6_p1-r0
—
Alpine:v3.21(1)
PackageVulnerable rangeFix by version rangeDependents
openssh—
  • every version up to 9.6_p1-r0: fixed in 9.6_p1-r0
—
Alpine:v3.22(1)
PackageVulnerable rangeFix by version rangeDependents
openssh—
  • every version up to 9.6_p1-r0: fixed in 9.6_p1-r0
—
Alpine:v3.23(1)
PackageVulnerable rangeFix by version rangeDependents
openssh—
  • every version up to 9.6_p1-r0: fixed in 9.6_p1-r0
—
Alpine:v3.24(1)
PackageVulnerable rangeFix by version rangeDependents
openssh—
  • every version up to 9.6_p1-r0: fixed in 9.6_p1-r0
—
Debian:10(1)
PackageVulnerable rangeFix by version rangeDependents
openssh1:7.9p1-10, 1:7.9p1-10+deb10u1, 1:7.9p1-10+deb10u2, 1:7.9p1-10+deb10u3
  • every version up to 1:7.9p1-10+deb10u4: fixed in 1:7.9p1-10+deb10u4
—
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
openssh1:8.4p1-5, 1:8.4p1-5+deb11u1, 1:8.4p1-5+deb11u2
  • every version up to 1:8.4p1-5+deb11u3: fixed in 1:8.4p1-5+deb11u3
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
openssh1:9.2p1-2, 1:9.2p1-2+deb12u1
  • every version up to 1:9.2p1-2+deb12u2: fixed in 1:9.2p1-2+deb12u2
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
openssh—
  • every version up to 1:9.6p1-1: fixed in 1:9.6p1-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
openssh—
  • every version up to 1:9.6p1-1: fixed in 1:9.6p1-1
—

Weakness Classification(1)

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

Additional Vendor Advisories

(3)

Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.

Data Freshness Timeline

(refreshed 21× in last 7d / 93× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed its CVE.org record (CNA or CISA ADP). An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). "EchelonGraph re-scored" is our own recompute of this CVE's score, not an update from a source, and is not counted in the refreshes above. Most recent first.

Showing the most recent 100 of 327 rows on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 227 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-12 17:00 UTCEchelonGraph re-scored
  2. 2026-11-12 17:00 UTCVendor advisory
  3. 2026-11-12 17:00 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  4. 2026-11-12 16:30 UTCEPSS rescoreEPSS 20% · 97th percentile
  5. 2026-11-11 17:36 UTCEchelonGraph re-scored
  6. 2026-11-11 17:36 UTCVendor advisory
  7. 2026-11-11 17:36 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  8. 2026-11-11 16:34 UTCEPSS rescoreEPSS 20% · 97th percentile
  9. 2026-11-10 18:11 UTCEchelonGraph re-scored
  10. 2026-11-10 18:11 UTCVendor advisory
  11. 2026-11-10 18:11 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  12. 2026-11-10 16:37 UTCEPSS rescoreEPSS 20% · 97th percentile
  13. 2026-11-09 18:47 UTCEchelonGraph re-scored
  14. 2026-11-09 18:47 UTCVendor advisory
  15. 2026-11-09 18:47 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  16. 2026-11-09 16:30 UTCEPSS rescoreEPSS 20% · 97th percentile
  17. 2026-11-08 19:22 UTCEchelonGraph re-scored
  18. 2026-11-08 19:22 UTCVendor advisory
  19. 2026-11-08 19:22 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  20. 2026-11-08 16:35 UTCEPSS rescoreEPSS 20% · 97th percentile
  21. 2026-11-07 19:58 UTCEchelonGraph re-scored
  22. 2026-11-07 19:58 UTCVendor advisory
  23. 2026-11-07 19:57 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  24. 2026-11-07 16:35 UTCEPSS rescoreEPSS 20% · 97th percentile
  25. 2026-11-06 20:34 UTCEchelonGraph re-scored
Show 75 more
  1. 2026-11-06 20:34 UTCVendor advisory
  2. 2026-11-06 20:34 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  3. 2026-11-06 16:31 UTCEPSS rescoreEPSS 20% · 97th percentile
  4. 2026-11-05 21:09 UTCEchelonGraph re-scored
  5. 2026-11-05 21:09 UTCVendor advisory
  6. 2026-11-05 21:09 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  7. 2026-11-05 16:33 UTCEPSS rescoreEPSS 20% · 97th percentile
  8. 2026-11-04 21:45 UTCEchelonGraph re-scored
  9. 2026-11-04 21:45 UTCVendor advisory
  10. 2026-11-04 21:45 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  11. 2026-11-04 18:55 UTCOSV refresh
  12. 2026-11-04 16:31 UTCEPSS rescoreEPSS 20% · 97th percentile
  13. 2026-11-03 22:21 UTCEchelonGraph re-scored
  14. 2026-11-03 22:21 UTCVendor advisory
  15. 2026-11-03 22:21 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  16. 2026-11-03 16:41 UTCEPSS rescoreEPSS 20% · 97th percentile
  17. 2026-11-02 22:48 UTCEchelonGraph re-scored
  18. 2026-11-02 22:48 UTCVendor advisory
  19. 2026-11-02 22:48 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  20. 2026-11-02 16:40 UTCEPSS rescoreEPSS 20% · 97th percentile
  21. 2026-11-01 23:21 UTCEchelonGraph re-scored
  22. 2026-11-01 23:21 UTCVendor advisory
  23. 2026-11-01 23:21 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  24. 2026-10-31 23:57 UTCEchelonGraph re-scored
  25. 2026-10-31 23:57 UTCVendor advisory
  26. 2026-10-31 23:57 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  27. 2026-10-31 16:30 UTCEPSS rescoreEPSS 20% · 97th percentile
  28. 2026-10-31 00:33 UTCEchelonGraph re-scored
  29. 2026-10-31 00:33 UTCVendor advisory
  30. 2026-10-31 00:33 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  31. 2026-10-30 16:31 UTCEPSS rescoreEPSS 20% · 97th percentile
  32. 2026-10-30 01:09 UTCEchelonGraph re-scored
  33. 2026-10-30 01:09 UTCVendor advisory
  34. 2026-10-30 01:09 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  35. 2026-10-29 16:30 UTCEPSS rescoreEPSS 20% · 97th percentile
  36. 2026-10-29 01:44 UTCEchelonGraph re-scored
  37. 2026-10-29 01:44 UTCVendor advisory
  38. 2026-10-29 01:44 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  39. 2026-10-28 16:29 UTCEPSS rescoreEPSS 20% · 97th percentile
  40. 2026-10-28 02:18 UTCEchelonGraph re-scored
  41. 2026-10-28 02:18 UTCVendor advisory
  42. 2026-10-28 02:18 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  43. 2026-10-27 16:29 UTCEPSS rescoreEPSS 20% · 97th percentile
  44. 2026-10-27 02:52 UTCEchelonGraph re-scored
  45. 2026-10-27 02:52 UTCVendor advisory
  46. 2026-10-27 02:52 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  47. 2026-10-25 23:25 UTCVendor advisory
  48. 2026-10-25 23:25 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  49. 2026-10-25 17:29 UTCEchelonGraph re-scored
  50. 2026-10-25 16:30 UTCEPSS rescoreEPSS 20% · 97th percentile
  51. 2026-10-24 23:58 UTCEchelonGraph re-scored
  52. 2026-10-24 23:58 UTCVendor advisory
  53. 2026-10-24 23:58 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  54. 2026-10-24 16:29 UTCEPSS rescoreEPSS 20% · 97th percentile
  55. 2026-10-24 00:34 UTCEchelonGraph re-scored
  56. 2026-10-24 00:34 UTCVendor advisory
  57. 2026-10-24 00:34 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  58. 2026-10-23 16:29 UTCEPSS rescoreEPSS 20% · 97th percentile
  59. 2026-10-23 01:10 UTCEchelonGraph re-scored
  60. 2026-10-23 01:10 UTCVendor advisory
  61. 2026-10-23 01:09 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  62. 2026-10-22 16:31 UTCEPSS rescoreEPSS 20% · 97th percentile
  63. 2026-10-22 01:42 UTCEchelonGraph re-scored
  64. 2026-10-22 01:42 UTCVendor advisory
  65. 2026-10-22 01:42 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  66. 2026-10-21 16:29 UTCEPSS rescoreEPSS 20% · 97th percentile
  67. 2026-10-21 02:17 UTCEchelonGraph re-scored
  68. 2026-10-21 02:17 UTCVendor advisory
  69. 2026-10-21 02:17 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  70. 2026-10-20 16:30 UTCEPSS rescoreEPSS 20% · 97th percentile
  71. 2026-10-20 02:46 UTCEchelonGraph re-scored
  72. 2026-10-20 02:46 UTCVendor advisory
  73. 2026-10-20 02:45 UTCGHSA enrichmentGHSA-5mq4-x9g5-4vc4 · GitHub severity CRITICAL · GitHub CVSS 9.8
  74. 2026-10-19 16:29 UTCEPSS rescoreEPSS 20% · 97th percentile
  75. 2026-10-19 02:33 UTCEchelonGraph re-scored

Publicly available exploits

(4 references)

Public exploit code is referenced for this CVE (4 GitHub PoCs). Defenders should treat patch urgency accordingly.

  • GitHub PoCWOOOOONG/CVE-2023-51385
    Published Jan 2, 2024

    CVE-2023-51385 PoC Exploit

    Open source ↗
  • GitHub PoCLe1a/CVE-2023-51385
    Published Dec 25, 2023

    OpenSSH ProxyCommand RCE

    Open source ↗
  • GitHub PoCLtmThink/CVE-2023-51385_test
    Published Dec 25, 2023

    一个验证对CVE-2023-51385

    Open source ↗
  • GitHub PoCvin01/poc-proxycommand-vulnerable
    Published Sep 28, 2023

    Proof of conept to exploit vulnerable proxycommand configurations on ssh clients (CVE-2023-51385)

    Open source ↗

Frequently asked(5)

What is CVE-2023-51385?
CVE-2023-51385 is a critical-severity vulnerability; its CVE record was published on December 18, 2023. In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host name has shell metacharacters, and this name is referenced by an expansion token in certain situations. For example, an untrusted Git repository can have a submodule with shell metacharacters in a user name or…
When was the CVE record for CVE-2023-51385 published?
The CVE record for CVE-2023-51385 was published on December 18, 2023. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of October 15, 2026; the record at its source may have been updated since.
Is CVE-2023-51385 actively exploited?
CVE-2023-51385 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 20% probability of exploitation in the next 30 days (97th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2023-51385?
CVE-2023-51385 has a CVSS v3 base score of 6.5 (NVD). EchelonGraph synthesises NVD + FIRST EPSS + GHSA into a combined EG score of 9.8 (CRITICAL).
How do I remediate CVE-2023-51385?
A fix for CVE-2023-51385 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2023-51385 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2023-51385

Explore →

Is Your Infrastructure Affected by CVE-2023-51385?

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