CVE-2024-20399: Cisco NX-OS Command Injection Vulnerability
CVE-2024-20399 is a medium-severity flaw (CVSS 6.0) affecting nx-os, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 affecte
Why this priority
- EPSS top 9%: very likely to be exploited
- Exploited in the wild (CISA KEV)
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.0 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 4.3% (top 9%) |
| CISA exploited list | Yes, fix due 2024-07-23 |
| Weakness | CWE-78 |
| Published | 2024-07-01 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: HORKimhab/CVE-2024-20399 (0 stars)
- GitHub PoC: Blootus/CVE-2024-20399-Cisco-RCE
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-20399?
nx-os: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-20399 being exploited?
Yes. CVE-2024-20399 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2024-20399 affect?
CVE-2024-20399 affects nx-os. Severity is medium (CVSS 6.0). 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 vulnerab
How urgent is CVE-2024-20399?
Priority 69/100. EPSS top 9%: very likely to be exploited; Exploited in the wild (CISA KEV)
Software pages
Related CVEs
- CVE-2024-20321 HIGH 8.6 MITIGATE A vulnerability in the External Border Gateway Protocol (eBGP) implementation of Cisco NX-OS Software could al
- CVE-2024-20294 MEDIUM 6.6 MITIGATE MITIGATE A vulnerability in the Link Layer Discovery Protocol (LLDP) feature of Cisco FXOS Software and Cisco NX-OS Sof
- CVE-2024-20291 MEDIUM 5.8 MITIGATE A vulnerability in the access control list (ACL) programming for port channel subinterfaces of Cisco Nexus 300
- CVE-2024-20286 MEDIUM 5.3 MITIGATE A vulnerability in the Python interpreter of Cisco NX-OS Software could allow an authenticated, low-privileged
- CVE-2024-20285 MEDIUM 5.3 MITIGATE A vulnerability in the Python interpreter of Cisco NX-OS Software could allow an authenticated, low-privileged