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
Trending — 4 sources updated this weekElevated

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-01). 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-askpass-gnome (1:9.3p1-1ubuntu3.2) @ mantic2026-11-01ubuntu
ubuntussh-krb5 (1:7.2p2-4ubuntu2.10+esm6) @ xenial2026-11-01ubuntu
ubuntussh-krb5 (1:7.2p2-4ubuntu2.10+esm5) @ xenial2026-11-01ubuntu
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_8.22024-01-30redhat
redhatopenssh-0:8.0p1-19.el8_9.22024-01-30redhat
redhatopenssh-0:8.7p1-30.el9_2.32024-01-25redhat
redhatopenssh-0:8.0p1-15.el8_6.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 26× in last 7d / 98× 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 it from the CNA feed. 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). Most recent first.

Showing the most recent 100 of 282 refreshes 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 182 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

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

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.