CVE-2023-51385

published 18 Dec 2023 · updated 15 Oct 2026

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.

7.0HighCVSS 6.5EPSS 20%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 20%. No fixed version is recorded.

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.

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-51385 severity on Zeptric[![CVE-2023-51385](https://zeptric.io/badge/cve/CVE-2023-51385.svg)](https://zeptric.io/cve/CVE-2023-51385)