Skip to content
On CISA KEVMedium

CVE-2024-20399Nx-OS OS Command Injection

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.

Published Jul 2, 2024 · Updated Oct 21, 2025 · Also known as TR-24-0856

Key Facts

Patch immediately
  • CVE-2024-20399 is a medium-severity vulnerability (CVSS 6.7 v3.1) affecting Nx-OS (Cisco), Cisco NX-OS Software.
  • It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Jul 1, 2024. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 0.9% probability of exploitation in the next 30 days.
  • No fixed version is listed yet; check the vendor advisory for mitigations.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

6.7

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

0.9%

Higher than 59.6% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

43/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Jul 2, 2024

0 days after publication

Federal due date

Jul 23, 2024

Overdue

Ransomware use

Not reported

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

10

Reports of active use

Required action (CISA): Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

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

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CISA KEVJul 2, 2024Jul 23, 2024Not reported
Industry KEV feedJul 1, 2024Jul 23, 2024Not reported
CIRCL KEVJul 2, 2024Jul 23, 2024Not reported
ENISA EUVDJul 2, 2024n/aNot reported

Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Affected Products

264 affected entries in total
ProductAffected versionsFixed in
Nx-OSCisco10.1\(1\), 10.1\(2\), 10.2\(1\), 10.2\(1q\), 10.2\(2\), 10.2\(3\), 10.2\(4\), 10.2\(5\)n/a
Cisco NX-OS Software>= 8.2(5)n/a

Timeline

  1. Added to Industry KEV feed

    Jul 1, 2024

  2. Publicly disclosed

    Jul 2, 2024

  3. Added to CISA KEV

    Jul 2, 2024

  4. Added to CIRCL KEV

    Jul 2, 2024

  5. Added to ENISA EUVD

    Jul 2, 2024

  6. Last updated

    Oct 21, 2025

Weakness Type

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

9 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2024-20399 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 1, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.