Medium severity · published Jul 1, 2024
CVE-2024-20399
Cisco NX-OS Software CLI Command Injection Vulnerability
In wildKEV
6.7
CVSS
4.3%
EPSS
Yes
On KEV
Description
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 vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)4.3% · higher than 91% of CVEs
Exploited in the wildYes
CISA KEVListed Jul 2, 2024
Federal remediation dueJul 23, 2024
Ransomware campaign useNot known
Affected products
Which versions
CN
Cisco NX-OS Software · Cisco
8.2(5); 7.3(6)N1(1a); 7.3(5)D1(1); 8.4(2); 7.3(6)N1(1); 6.2(2); +34 more · source: vendor
NX
Nx-os · Cisco
6.2(2); 6.2(2a); 6.2(6); 6.2(6a); 6.2(6b); 6.2(8); +34 more · source: NVD, CISA, KEV
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-20399
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-20399
CISA KEV catalogue
https://www.cisa.gov/known-exploited-vulnerabilities-catalog
sec.cloudapps.cisco.com
https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-nxos-cmd-injection-xD9OhyOP
More from Cisco NX-OS Software
9.8
CVE-2026-76501
Cisco Nexus 9000 Series Switches SRv6 OAM (NGOAM) Remote Code Execution Vulnerability
9.8
CVE-2026-76486
Cisco Nexus 3000 and 9000 Series Switches VXLAN OAM (NGOAM) Remote Code Execution Vulnerability
9.8
CVE-2026-76485
Cisco Nexus 3000 and 9000 Series Switches VXLAN OAM (NGOAM) Remote Code Execution Vulnerability
9.8
CVE-2026-76459
Cisco NX-OS Software Security Hardening Release: October 2026 - Out-of-bounds Write Vulnerabilities
9.8
CVE-2026-76471
Cisco NX-OS Software NX-API Remote Code Execution Vulnerability
