CVE-2024-20399
CVE-2024-20399 is a medium-severity vulnerability in Cisco Nx-os with a CVSS 3.x base score of 6.0. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2024-07-02). The underlying weakness is classified as CWE-78.
Key facts
- Severity: Medium (CVSS 3.x base score 6.0)
- EPSS exploit prediction: 4% (90th percentile)
- Actively exploited: Yes — listed in CISA KEV (added 2024-07-02)
- EU (EUVD) id: EUVD-2024-18114
- EU exploitation: Flagged exploited in the ENISA EU Vulnerability Database (since 2024-07-02)
- Weakness: CWE-78
- Affected product: Cisco Nx-os
- Published:
- Last modified:
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
Frequently asked questions
- What is CVE-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 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
- How severe is CVE-2024-20399?
- CVE-2024-20399 has a CVSS 3.x base score of 6.0, rated medium severity. It is exploitable over local access with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2024-20399 being actively exploited?
- Yes. CVE-2024-20399 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2024-07-02, which means active exploitation has been confirmed. It should be prioritised for remediation.
- What products are affected by CVE-2024-20399?
- CVE-2024-20399 primarily affects Cisco Nx-os. In total, 262 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-20399?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
- Does CVE-2024-20399 have an EU (EUVD) identifier?
- Yes. CVE-2024-20399 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-18114. It is also flagged as exploited in the EUVD (since 2024-07-02).
- When was CVE-2024-20399 published?
- CVE-2024-20399 was published on 2024-07-01 and last updated on 2026-06-17.
References
- https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-nxos-cmd-injection-xD9OhyOP
- https://www.sygnia.co/threat-reports-and-advisories/china-nexus-threat-group-velvet-ant-exploits-cisco-0-day/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-20399
Affected products (262)
- cpe:2.3:o:cisco:nx-os:6.2\(2\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(2a\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(6\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(6a\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(6b\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(8\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(8a\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(8b\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(10\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(12\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(14\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(16\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(18\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(20\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(20a\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(22\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(24\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:6.2\(24a\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.2\(0\)d1\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.2\(1\)d1\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.2\(2\)d1\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.2\(2\)d1\(2\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.3\(0\)d1\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.3\(0\)dx\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.3\(1\)d1\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.3\(2\)d1\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.3\(2\)d1\(2\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.3\(2\)d1\(3\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.3\(2\)d1\(3a\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.3\(3\)d1\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.3\(4\)d1\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.3\(5\)d1\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.3\(6\)d1\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.3\(7\)d1\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.3\(8\)d1\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:7.3\(9\)d1\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:8.0\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:8.1\(1\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:8.1\(2\):*:*:*:*:*:*:*
- cpe:2.3:o:cisco:nx-os:8.1\(2a\):*:*:*:*:*:*:*
More vulnerabilities in Cisco Nx-os
- CVE-2021-1361 — Critical (CVSS 9.8): A vulnerability in the implementation of an internal file management service for Cisco Nexus 3000 Series Switches and…
- CVE-2018-0310 — Critical (CVSS 9.8): A vulnerability in the Cisco Fabric Services component of Cisco FXOS Software and Cisco NX-OS Software could allow an…
- CVE-2018-0301 — Critical (CVSS 9.8): A vulnerability in the NX-API feature of Cisco NX-OS Software could allow an unauthenticated, remote attacker to craft…
- CVE-2016-1453 — Critical (CVSS 9.8): Buffer overflow in the Overlay Transport Virtualization (OTV) GRE feature in Cisco NX-OS 5.0 through 7.3 on Nexus 7000…
- CVE-2016-1341 — Critical (CVSS 9.8): Cisco NX-OS 7.0(1)N1(1), 7.0(1)N1(3), and 7.0(4)N1(1) on Nexus 2000 Fabric Extender devices has a blank root password,…
- CVE-2015-4235 — Critical (CVSS 9.0): Cisco Application Policy Infrastructure Controller (APIC) devices with software before 1.0(3o) and 1.1 before 1.1(1j)…
All CVEs affecting Cisco Nx-os →
Other CWE-78 (OS Command Injection) vulnerabilities
- CVE-2026-56004 — Critical (CVSS 10.0): A shellcode injection in the mercurial handler of the obs tar_scm source service before version 0.12.4 could be used by…
- CVE-2026-56415 — Critical (CVSS 10.0): Storage Concentrator (SC & SCVM) contains a command injection vulnerability within the debug.pl script that is…
- CVE-2026-56413 — Critical (CVSS 10.0): Storage Concentrator (SC & SCVM) contains a command injection vulnerability in the ms_service.pl service, which listens…
- CVE-2026-49869 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, AuthenticationFilter in…
- CVE-2026-49261 — Critical (CVSS 10.0): MariaDB server is a community developed fork of MySQL server. Versions 10.6.1 through 10.6.26, 10.11.1 through…
- CVE-2026-10520 — Critical (CVSS 10.0): An OS Command Injection vulnerability in Ivanti Sentry before the R10.5.2, R10.6.2 and R10.7.1 versions allows a…