CVE-2024-20399: Cisco NX-OS Software CLI Command Injection Vulnerability

CVE-2024-20399 affects 77 listed versions of Cisco NX-OS in the Dawnsentry catalogue. It is known to be exploited in the wild.

6.7CVSS medium
In CISA's KEV catalogue since 2024-07-02exploitation
4%EPSS (next 30 days)
1 July 2024published

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.

Cisco NX-OS

77 of 154 listed versions are affected. No fixed release is named. The newest release, 10.6(3s), is not affected.

10.4(2) 10.4(1) 10.3(99x) 10.3(99w) 10.3(5) 10.3(4g) 10.3(4a) 10.3(4) 10.3(3x) 10.3(3w) 10.3(3r) 10.3(3q) 9.4(2a) 9.4(2) 9.4(1a) 9.4(1) 9.3(13) 9.3(12) 9.3(11) 9.3(10) 9.3(9) 9.3(8) 9.3(7k) 9.3(7a) 9.3(7) 9.3(6) 9.2(4) 9.2(3y) 9.2(3) 9.2(2v) 9.2(2t) 9.2(2) 9.2(1a) 9.2(1) 8.5(1) 8.4(9) 8.4(8) 8.4(7) 8.4(6a) 8.4(6) 8.4(5) 8.4(4a) 8.4(4) 8.4(3) 8.4(2f) 8.4(2e) 8.3(2) 8.3(1) 8.2(11) 8.2(10) 8.2(9) 8.2(8) 8.2(7a) 8.2(7) 8.2(6) 8.2(5) 8.2(4) 8.2(3) 8.2(2) 8.2(1) and 17 more

What it is

A vulnerability in the CLI of Cisco NX-OS Software could allow an authenticated user in possession of Administrator credentials to execute arbitrary commands as root on the underlying operating system of an affected device. This vulnerability is due to insufficient validation of arguments that are passed to specific configuration CLI commands. An attacker could exploit this vulnerability by including crafted input as the argument of an affected configuration CLI command. A successful exploit could allow the attacker to execute arbitrary commands on the underlying operating system with the privileges of root. Note: To successfully exploit this vulnerability on a Cisco NX-OS device, an attacker must have Administrator credentials. The following Cisco devices already allow administrative users to access the underlying operating system through the bash-shell feature, so, for these devices, this vulnerability does not grant any additional privileges: Nexus 3000 Series Switches Nexus 7000 Series Switches that are running Cisco NX-OS Software releases 8.1(1) and later Nexus 9000 Series Switches in standalone NX-OS mode

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Cisco on 1 July 2024. Last changed 17 June 2026.

Sources

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

Updated 2 December 2026.