Vulnerabilities

Vulnerability · CVE-2024-20399

Cisco NX-OS Command Injection Vulnerability

Published Jul 1, 2024 · catalog updated Jun 17, 2026 · Cisco NX-OS

Patch now

CVE-2024-20399 is in the CISA known-exploited catalog, due Jul 23, 2024. Confirm Cisco NX-OS against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Severity
Medium6.7
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
4.31%
Remediation
Remediation guidance
Affected products
cpe cisco/nx-os · vendor Cisco NX-OS

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

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe cisco/nx-os6.0\(2\)a6\(1\)
  • cpe cisco/nx-os6.2\(1\)
  • cpe cisco/nx-os6.2\(2\)
  • cpe cisco/nx-os6.2\(2a\)
  • cpe cisco/nx-os6.2\(6\)
  • cpe cisco/nx-os6.2\(6a\)
  • cpe cisco/nx-os6.2\(6b\)
  • cpe cisco/nx-os6.2\(8\)
  • cpe cisco/nx-os6.2\(8a\)
  • cpe cisco/nx-os6.2\(8b\)
  • cpe cisco/nx-os7.1\(0\)n1\(1\)
  • vendor Cisco NX-OSversion unspecified

How to fix CVE-2024-20399

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2024-20399 is in the CISA known-exploited catalog, due Jul 23, 2024. Confirm Cisco NX-OS against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Compare what you have installed with 6.0\(2\)a6\(1\), 6.2\(1\), 6.2\(2\), 6.2\(2a\), 6.2\(6\), 6.2\(6a\). Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

What should an analyst verify?

CWE-78: OS Command Injection. EPSS 4.31%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Jul 1, 2024 · Catalog

    Detected

    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 includ

  2. Jul 2, 2024 · CISA KEV

    Known exploited

    Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

  3. Jul 23, 2024 · CISA KEV

    Remediation due

    Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

  4. Jun 17, 2026 · Catalog

    Updated

    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 includ

Sources

  • CISA KEVConfirmed exploitationCVE-2024-20399

    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.

    cisa.gov
  • CVE.orgVulnerability recordCVE-2024-20399

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2024-20399

    30-day exploitation probability 4.3%

    first.org
  • NIST NVDVulnerability recordCVE-2024-20399

    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

    nvd.nist.gov
  • VulnCheck KEVConfirmed exploitationCVE-2024-20399

    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.

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.