CVE-2024-20399
Cisco NX-OS Software CLI Command Injection Vulnerability
- Medium 6.0
- Exploited: added to CISA KEV 2 Jul 2024
Description
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
Key facts
- Published
- 1 Jul 2024
- Last changed
- 21 Oct 2025
- Assigned by
- cisco
- KEV added
- 2 Jul 2024
- KEV fix due
- 23 Jul 2024
- EPSS
- 4.306% likely to be exploited in the next 30 days, higher than 91.303% of CVEs (scores for 15 Nov 2026)
- SSVC (CISA)
- Exploitation: active; Automatable: no; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 6.0CVSS 3.1, Mediumfrom the CNA (cisco)
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
What to do
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.CISA KEV required action
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Cisco | Cisco NX-OS Software |
|
Timeline
- 1 Jul 2024 Published
- 2 Jul 2024 CVE-2024-20399 added to CISA KEV
- 2 Jul 2024 Added to the CISA KEV catalogue
Weakness
Practice this bug class
HackZoneLabs has a hands-on lab on OS command injection (CWE-78).