Findings

CVE-2024-20399

Cisco NX-OS Command Injection Vulnerability

Published Jul 1, 2024 · updated Jun 17, 2026 · 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

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

Required action

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

CISA due date Jul 23, 2024

Affected

  • 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

Sources

  • CISA KEVCVE-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.orgCVE-2024-20399

    Official CVE identifier

    cve.org
  • FIRST EPSSCVE-2024-20399

    30-day exploitation probability 4.3%

    first.org
  • NIST NVDCVE-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

References