Actively exploited vulnerability / CVE-2024-20399
Cisco NX-OS: an administrator account can take full control of the switch
This flaw lets someone who already has administrator login details run any commands with full privileges on the operating system underneath a Cisco device. In practice, an attacker who has obtained an administrator password can go beyond the normal limits of the management interface and fully control the switch, from where they could watch or disrupt traffic on your company network. It is on the lists of vulnerabilities used in real attacks kept by CISA (the US cybersecurity agency) and ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2024-20399 · EUVD-2024-18114
- Severity
- Medium (6/10)
- On the CISA list (US)
- yes, since 2 July 2024
- Deadline given to US federal agencies
- 23 July 2024
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 0.9% (FIRST's estimate for the next 30 days)
Does it concern you?
Cisco NX-OS is the operating system of Cisco Nexus switches, network equipment used mainly in data centers and larger company networks. If you have a server room or a provider that manages your network, you may have such devices.
The NX-OS version is shown in the switch's management interface, and whoever manages your network can check it quickly. Ask them whether you use Cisco Nexus switches and whether Cisco lists them as affected by this vulnerability.
Affected products and versions
- Cisco NX-OS
What to do
Apply the updates or mitigations recommended by Cisco, and if none are available, consider taking the device out of use. In the meantime, make sure administrator passwords are strong and known only to the people who need them.
The official description
The text below is the description from the public database.
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
Sources
- CVE Program
- GitHub Advisory Database
- Vendor advisory: sec.cloudapps.cisco.com
- Vendor advisory: nvd.nist.gov
- NVD
- ENISA EUVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.