draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

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

Exploited in attacks

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

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

  1. Find every copy. List each place Cisco NX-OS runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. 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

CVEWhat it affectsStatusEPSSPublished
CVE-2026-76466Cisco Expressway SeriesNo public exploit found2.7%21 October 2026
CVE-2026-20320Cisco BroadWorksNo public exploit found2.7%19 August 2026
CVE-2026-76418Cisco Secure Firewall ASA Software and Cisco Secure FTD SoftwareNo public exploit found9.0%28 October 2026
CVE-2026-76519Cisco Secure Email GatewayPublic exploit6.6%14 October 2026
CVE-2026-76504Cisco Catalyst SD-WAN ManagerPublic exploit64.0%30 September 2026
CVE-2026-76460Cisco Identity Services EnginePublic exploit76.0%16 September 2026

Sources

Machine-readable: /api/cve/CVE-2024-20399.json