Under active attack

Cisco NX-OS: CVE-2024-20399

Cisco NX-OS Command Injection Vulnerability. CISA added it to its list of flaws being exploited in the wild on 2 Jul 2024.

CVE
CVE-2024-20399
Vendor
Cisco
Product
NX-OS
Added to CISA's exploited list
2 Jul 2024
US federal patch deadline
23 Jul 2024
Used in ransomware campaigns
Not known
Exploit likelihood, next 30 days
4.3% (higher than 91% of scored flaws)

What CISA says

Cisco NX-OS contains a command injection vulnerability in the command line interface (CLI) that could allow an authenticated, local attacker to execute commands as root on the underlying operating system of an affected device.CISA, Known Exploited Vulnerabilities catalog

In plain English: OS command injection

The software passes attacker-controlled input to the operating system's command line, so the attacker can run any command the service is allowed to run.

What to do

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

If you run Cisco NX-OS, treat this as urgent: attackers are already using it. If you're not sure whether you run it anywhere, start there.

References

Quick answers

Is CVE-2024-20399 being exploited?

Yes. CISA added CVE-2024-20399 (Cisco NX-OS) to its Known Exploited Vulnerabilities catalog on 2 Jul 2024, which means there is reliable evidence attackers are using it.

Is CVE-2024-20399 used in ransomware?

CISA does not currently mark CVE-2024-20399 as used in ransomware campaigns. That can change, and it is still being exploited.

When does CVE-2024-20399 have to be fixed?

US federal agencies had to fix it by 23 Jul 2024 under CISA's Binding Operational Directive 22-01. Everyone else should treat that date as a guide: the flaw is already being used.

How likely is CVE-2024-20399 to be exploited?

FIRST's EPSS model puts the chance of exploitation in the next 30 days at 4.3%, higher than 91% of all scored vulnerabilities (scored 2026-12-04).

How do I fix CVE-2024-20399?

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. If you're not sure whether you run Cisco NX-OS anywhere, find out first: an up-to-date inventory is the first step.

Know what's exposed before attackers do

Flaws like this are found by testing, not by waiting. Read the difference between a vulnerability scan and a pen test, what a pen test costs, or see AvalonX plans.

Other Cisco flaws under attack

Under active attack
Cisco Expressway Series

Cisco Expressway Series Use of Hard-coded Credentials Vulnerability

CVE-2026-76466US federal patch deadline 23 Nov 2026
Exploit likelihood, next 30 days 2.7%