CVE-2023-51385: Authenticated Remote Command Execution in the AOS-CX SSH Daemon

CVE-2023-51385 affects 231 listed versions of OpenSSH, Aruba AOS-CX, Aruba ArubaOS (Mobility Controllers) in the Dawnsentry catalogue.

6.5CVSS medium
Proof of concept publicexploitation
20%EPSS (next 30 days)
18 December 2023published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

OpenSSH

169 of 193 listed versions are affected. Fixed in 9.6. The newest release, 10.6 P2, is not affected.

9.5 P1 9.4 P1 9.3 P2 9.3 P1 9.3 9.2 P1 9.1 P1 9.1 9.0 P1 8.9 P1 8.9 8.8 P1 8.8 8.7 P1 8.7 8.6 P1 8.6 8.5 P1 8.5 8.4 P1 8.4 8.3 P1 8.3 8.2 P1 8.2 8.1 P1 8.1 8.0 P1 7.9 P1 7.9 7.8 P1 7.8 7.7 P1 7.7 7.6 P1 7.6 7.5 P1 7.4 P1 7.4 7.3 P1 7.3 7.2 P2 7.2 P1 7.2 7.1 P2 7.1 P1 7.1 7.0 P1 7.0 6.9 P1 6.9 6.8 P1 6.8 6.7 P1 6.7 6.6 P1 6.6 6.5 P1 6.5 6.4 P1 and 109 more

Aruba AOS-CX

44 of 111 listed versions are affected. Fixed in 10.13.1010, 10.12.1030, 10.10.1110. The newest release, 10.19.0000, is not affected.

10.13.1005 10.12.1021 10.12.0006 10.10.1100 10.10.1070 10.10.1060 10.10.1050 10.10.1030 10.10.1020 10.09.1040 10.09.1031 10.09.1030 10.09.1020 10.09.1010 10.09.0010 10.09.0002 10.09.0001 10.08.1080 10.08.1070 10.08.1060 10.08.1050 10.08.1040 10.08.1030 10.08.0130 10.08.0010 10.08.0001 10.07.0080 10.07.0070 10.07.0061 10.07.0050 10.07.0030 10.07.0020 10.07.0010 10.07.0009 10.06.0240 10.06.0230 10.06.0220 10.06.0210 10.06.0200 10.06.190 10.06.0180 10.06.0170 10.06.0130 10.06.0120

Aruba ArubaOS (Mobility Controllers)

18 of 183 listed versions are affected. Fixed in 10.6.0.1, 10.4.1.4, 8.12.0.2, 8.10.0.13. The newest release, 10.13.1.1, is not affected.

10.7.2.2 10.7.2.1 10.7.2.0 10.7.1.1 10.7.1.0 10.7.0.0 10.6.0.0 10.4.1.3 10.4.1.2 10.4.1.1 10.4.1.0 10.4.0.3 8.12.0.1 8.12.0.0 8.10.0.12 8.10.0.10 8.10.0.9 8.10.0.7

What it is

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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N (NVD)

Published by MITRE on 18 December 2023. Last changed 15 October 2026.

Sources

Check one version you run: look CVE-2023-51385 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.