CVE-2024-20399

published 1 Jul 2024 · updated 21 Oct 2025

Cisco NX-OS Software CLI Command Injection Vulnerability

8.0HighCVSS 6.0EPSS 4%CISA KEV · due 23 Jul 2024

Exploited in the wild, in CISA KEV since 2 Jul 2024 (due 23 Jul 2024). No fixed version is recorded.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
CiscoNX-OS=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), =7.0(3)I5(2), =8.2(1), =6.0(2)A8(7a), =7.0(3)I4(5), =6.0(2)A6(1), =7.3(1)D1(1), =6.2(14a), =7.0(3)I4(6), =7.3(4)N1(1), =7.0(3)I4(3), =9.2(2v), =6.0(2)A6(5b), =7.3(0)D1(1), =6.2(17a), =7.0(3)I4(7), =6.0(2)U6(1a), =7.1(5)N1(1b), =7.0(3)I4(1), =7.0(3)I4(8), =7.0(3)I4(2), =7.1(4)N1(1c), =7.0(3)IM3(1), =6.0(2)U6(5a), =6.0(2)A8(11), =6.0(2)A6(4a), =6.2(9), =6.2(5), =7.3(4)D1(1), =6.2(20), =9.2(1), =9.2(2t), =9.2(3y), =7.0(3)I4(1t), =6.0(2)U6(5c), =6.0(2)A6(4), =7.0(3)I7(6z), =9.3(2), =7.3(1)DY(1), =7.0(3)F3(3), =6.0(2)U6(6), =6.2(29), =7.0(3)I7(3z), =7.0(3)IM7(2), =6.0(2)A8(11b), =6.2(9a), =7.3(0)N1(1), =7.0(3)I7(5a), =6.2(11d), =8.1(1), =7.0(3)I6(1), =6.0(2)U6(10), =7.2(2)D1(2), =7.0(3)IM3(2), =6.0(2)A6(8), =8.2(2), =6.0(2)U6(1), =7.3(2)N1(1c), =7.0(3)I5(3b), =8.3(2), =7.3(5)N1(1), =6.0(2)A6(2a), =7.3(2)N1(1b), =6.2(27), =7.3(2)D1(3a), =7.3(1)N1(1), =6.0(2)U6(7), =9.2(4), =7.1(4)N1(1a), =7.1(3)N1(4), =7.0(3)IM3(2a), =6.2(8b), =6.0(2)A8(10), =7.1(3)N1(2), =6.2(13), =6.0(2)A8(2), =7.0(3)IC4(4), =6.2(1), =7.3(4)N1(1a), =8.1(2), =6.0(2)A6(3), =6.0(2)U6(5b), =7.0(3)F3(3c), =7.3(3)D1(1), =7.0(3)F3(1), =6.0(2)U6(5), =7.0(3)F3(5), =7.1(2)N1(1), =7.1(3)N1(3), =8.2(3), =6.0(2)A6(7), =7.0(3)I7(2), =6.2(5a), =6.2(18), =6.0(2)A6(5), =7.0(3)IM3(2b), =7.1(3)N1(1), =6.0(2)U6(4a), =7.0(3)I5(3), =7.0(3)I7(3), =6.0(2)A8(6), =7.0(3)I6(2), =8.3(1), =6.2(3), =6.2(22), =7.1(1)N1(1), =8.4(1), =8.1(1b), =7.3(0)N1(1b), =7.2(2)D1(4), =6.0(2)A8(5), =7.3(0)DX(1), =7.1(4)N1(1d), =7.3(2)D1(1), =7.3(2)N1(1), =6.0(2)U6(8), =7.1(1)N1(1a), =7.0(3)IM3(3), =9.3(1), =6.0(2)U6(2), =6.2(9b), =7.1(3)N1(2a), =7.3(0)N1(1a), =6.0(2)A8(7), =7.0(3)I7(6), =7.3(2)D1(2), =6.2(25), =6.0(2)U6(3a), =8.0(1), =6.0(2)A8(11a), =6.2(11e), =7.1(3)N1(5), =7.0(3)I4(8z), =6.2(11), =7.0(3)I4(9), =6.2(16), =6.2(19), =8.2(4), =6.2(2a), =7.2(2)D1(3), =7.1(0)N1(1b), =7.0(3)I7(4), =7.0(3)I7(7), =6.2(5b), =7.3(0)DY(1), =6.0(2)A8(9), =6.0(2)A8(1), =7.1(5)N1(1), =7.2(1)D1(1), =6.2(15), =6.0(2)A6(6), =6.0(2)A8(10a), =7.0(3)I5(1), =9.3(1z), =9.2(2), =6.2(7), =6.2(9c), =7.0(3)F3(4), =7.3(3)N1(1), =6.2(6b), =7.0(3)I4(8b), =8.1(2a), =7.3(2)D1(3), =6.2(8), =6.0(2)A8(3), =6.2(11b), =7.0(3)I4(6t), =7.0(3)I5(3a), =8.1(1a), =6.2(13a), =6.0(2)A8(8), =7.0(3)I7(5), =7.0(3)F3(3a), =7.1(0)N1(1a), =6.0(2)A8(4), =6.0(2)A6(3a), =6.0(2)A6(5a), =7.0(3)F2(1), =7.0(3)I4(8a), =6.0(2)U6(9), =7.0(3)F3(2), =6.0(2)U6(2a), =6.2(12), =6.2(17), =7.0(3)I4(4), =6.2(23), =6.2(13b), =6.0(2)U6(3), =6.2(10), =6.2(6a), =6.2(6), =7.1(2)N1(1a), =6.2(14)

Exploit evidence

1 public sources

kev

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in NX-OS, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-20399 severity on Zeptric[![CVE-2024-20399](https://zeptric.io/badge/cve/CVE-2024-20399.svg)](https://zeptric.io/cve/CVE-2024-20399)