CVE-2024-20399: Cisco NX-OS Command Injection Vulnerability
Yes. CVE-2024-20399 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 2 July 2024. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 4.3%.
- Exploited in real attacks
- Yes. On CISA's exploited list since 2 July 2024
- Used in ransomware
- Not known
- Public exploit code
- None found in Exploit-DB, Metasploit or Nuclei
- Chance of exploitation (EPSS)
- 4.3% in the next 30 days, higher than 91.4% of scored vulnerabilities. Scored 5 December 2026
- Severity (CVSS)
- 6.0 Medium (version 3.1)
- Affects
- Cisco NX-OS
- Type of flaw
- OS command injection (CWE-78)
- Published
- 1 July 2024
- US federal patch deadline
- 23 July 2024
What it is
Cisco NX-OS contains a command injection vulnerability in the command line interface (CLI) that could allow an authenticated, local attacker to execute commands as root on the underlying operating system of an affected device.
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
Description from the CVE record.
Is CVE-2024-20399 being exploited?
Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2024-20399 on 2 July 2024. That was 1 day after the CVE was published.
Affected products
- Cisco NX-OS Software: 8.2(5); 7.3(6)N1(1a); 7.3(5)D1(1); 8.4(2); 7.3(6)N1(1); 6.2(2); 8.4(3); 9.2(3)
From the CVE record. Check the vendor advisory for the full list of fixed versions.
What to do
CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.
How to check whether you are exposed
- Find every copy. List each place Cisco NX-OS runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
HackDrill
Find out whether this is reachable in your systems.
A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in NX-OS. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.
Other tracked vulnerabilities in Cisco products
| CVE | What it affects | Status | EPSS | Published |
|---|---|---|---|---|
| CVE-2026-76466 | Cisco Expressway Series | No public exploit found | 2.7% | 21 October 2026 |
| CVE-2026-20320 | Cisco BroadWorks | No public exploit found | 2.7% | 19 August 2026 |
| CVE-2026-76418 | Cisco Secure Firewall ASA Software and Cisco Secure FTD Software | No public exploit found | 9.0% | 28 October 2026 |
| CVE-2026-76519 | Cisco Secure Email Gateway | Public exploit | 6.6% | 14 October 2026 |
| CVE-2026-76504 | Cisco Catalyst SD-WAN Manager | Public exploit | 64.0% | 30 September 2026 |
| CVE-2026-76460 | Cisco Identity Services Engine | Public exploit | 76.0% | 16 September 2026 |
Sources
- CVE record for CVE-2024-20399
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- sec.cloudapps.cisco.com
Machine-readable: /api/cve/CVE-2024-20399.json