CVE-2024-20399Cisco NX-OS Software CLI Command Injection Vulnerability
Updated under an hour ago ()
Does this affect you?
It affects Cisco NX-OS Software and 1 other product. Add what you run to find out whether that includes you.
CISA lists it as known exploited since Jul 2, 2024; federal agencies had to remediate by Jul 23, 2024. Treat that date as your deadline.
Do this next
Free account, 1 product
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
- CVSS
- 6.0 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
- Weakness (CWE)
- CWE-78
- Known exploited
- Added to CISA KEV Jul 2, 2024; federal remediation due Jul 23, 2024Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- EPSS (exploitation in the next 30 days)
- 4.31% (percentile 91)
- Assigned by
- cisco
- NVD analysis
- Analyzed
- Record last updated
- Oct 21, 2025
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Cisco Cisco NX-OS Software cisco:nx_os_software (from the name) | 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); and 193 more ranges | CNA record |
cisco nx-os cisco:nx-os | 6.0\(2\)a6\(1\); 6.0\(2\)A6\(1a\); 6.0\(2\)A6\(2\); 6.0\(2\)A6\(2a\); 6.0\(2\)A6\(3\); 6.0\(2\)A6\(3a\); 6.0\(2\)A6\(4\); 6.0\(2\)A6\(4a\); and 193 more ranges | CISA ADP |
cisco nx-os cisco:nx-os | 6.2(2); 6.2(2a); 6.2(6); 6.2(6a); 6.2(6b); 6.2(8); 6.2(8a); 6.2(8b); and 193 more ranges | NVD |
References
- https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-nxos-cmd-injection-xD9OhyOPvendor-advisory
- https://www.sygnia.co/threat-reports-and-advisories/china-nexus-threat-group-velvet-ant-exploits-cisco-0-day/third-party-advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-20399us-government-resource
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.