# CVE-2024-20399: Cisco NX-OS Software CLI Command Injection Vulnerability

- Severity: Medium 6.0 (CVSS:3.1, scored by cisco) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: yes. In CISA's catalogue since 2024-07-02. Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 60% of CVEs (2026-11-30)
- Published: 2024-07-01T16:11:44.028Z
- Modified: 2026-06-17T07:06:56.067Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation active, automatable no, technical impact total
- Assigned by: cisco

## 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

(As written by CVE List.)

## Affected

- Cisco Cisco NX-OS Software: 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); and 306 more
- 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\); 6.0\(2\)A6\(5a\); 6.0\(2\)A6\(5b\); 6.0\(2\)A6\(6\); 6.0\(2\)A6\(7\); and 265 more

## Every score

- cisco: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-nxos-cmd-injection-xD9OhyOP> (kev, vendor-advisory)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-20399> (government-resource, us-government-resource)
- <https://www.sygnia.co/threat-reports-and-advisories/china-nexus-threat-group-velvet-ant-exploits-cisco-0-day/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-20399> (kev)

## Sources

- CVE List: [CVE-2024-20399](https://www.cve.org/CVERecord?id=CVE-2024-20399), CVE Terms of Use, modified 2025-10-21
- NVD: [CVE-2024-20399](https://nvd.nist.gov/vuln/detail/CVE-2024-20399), Public domain, modified 2026-06-17
- CISA KEV: [CVE-2024-20399](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2024-20399), CC0-1.0, modified 2024-07-02

---

Page: https://cve.day/CVE-2024-20399 · Whole record: https://cve.day/CVE-2024-20399.json · Rebuilt by cve.day 2026-11-25T22:58:42.406Z
