Cisco NX-OS Python sandbox escape flaw (CVE-2026-20032) allows local privilege escalation
Cisco disclosed a medium-severity vulnerability (CVSS 4.4) in the Python interpreter of NX-OS Software affecting MDS 9000, Nexus 3000, Nexus 7000, and standalone-mode Nexus 9000 switches. An authenticated local attacker with low-privilege Python execution rights could escape the Python sandbox and run arbitrary commands on the underlying OS with their own privilege level. No workarounds exist; Cisco has released fixed software and a temporary 'Live Protect' shield mitigation for new CLI sessions. No public exploitation has been observed.
SECURITY · NETWORK · VULNERABILITY · SECURITY ADVISORY
PUBLISHED OCT 9, 2026 17:22 UTC
WHAT CHANGED
Cisco published advisory cisco-sa-nxos-mppe-dhKZAFgb (CVE-2026-20032, CWE-653) describing insufficient validation of user-supplied input in the NX-OS Python interpreter, which could be exploited by manipulating specific interpreter functions to escape the Python sandbox and access the underlying operating system. Affected products are MDS 9000 Series Multilayer Switches, Nexus 3000 Series Switches, Nexus 7000 Series Switches, and Nexus 9000 Series Switches running in standalone NX-OS mode, provided a vulnerable NX-OS release is in use and a low-privileged user has been configured with Python execution privileges. Firepower, Secure Firewall, UCS Fabric Interconnect series, and Nexus 9000 in ACI mode are confirmed not vulnerable. No permanent workaround exists; Cisco released fixed software and an optional Live Protect shield that mitigates new CLI sessions only (not existing sessions) until upgrade can be scheduled.
WHY IT MATTERS
Administrators running NX-OS on affected MDS or Nexus switches with Python execution privileges granted to low-privilege users face a path to full OS-level command execution, undermining the intended privilege separation of the Python sandbox. Because there is no workaround beyond the temporary Live Protect shield (which only covers new sessions), timely upgrade to fixed software is the only complete remediation. Exposure depends on whether Python execution privileges are actually configured for lower-privileged accounts.
WHO IS AFFECTED
- ROLES
- Authenticated local user with Python execution privileges
- PRODUCTS
- Cisco MDS 9000 Series Multilayer SwitchesCisco Nexus 3000 Series SwitchesCisco Nexus 7000 Series SwitchesCisco Nexus 9000 Series Switches (standalone NX-OS mode)
- FEATURES
- Python interpreter / Python sandbox in NX-OS
- CONFIGURATIONS
- Low-privileged user configured with Python execution privileges
- ENVIRONMENTS
- Cisco NX-OS Software
- EXCLUSIONS
- Firepower 1000 SeriesFirepower 2100 SeriesFirepower 4100 SeriesFirepower 9300 Security AppliancesNexus 9000 Series Fabric Switches in ACI modeSecure Firewall 200 SeriesSecure Firewall 1200 SeriesSecure Firewall 3100 SeriesSecure Firewall 4200 SeriesSecure Firewall 6100 SeriesUCS 6300 Series Fabric InterconnectsUCS 6400 Series Fabric InterconnectsUCS 6500 Series Fabric InterconnectsUCS 6600 Series Fabric InterconnectsUCS X-Series Direct Fabric Interconnect 9108 100G
WHAT TO DO
- 01HIGH
Upgrade affected MDS 9000, Nexus 3000, Nexus 7000, and Nexus 9000 (standalone NX-OS mode) switches to the fixed NX-OS software release identified via the Cisco Software Checker for CVE-2026-20032.
DOCUMENTATION - 02HIGHAUTOMATABLE
Use the Cisco Software Checker tool to determine exposure and the earliest fixed release for each affected device's current NX-OS version.
DOCUMENTATION - 03MEDIUM
Deploy the Cisco Live Protect shield for CVE-2026-20032 as a temporary mitigation for new CLI sessions on affected NX-OS devices until an upgrade can be scheduled.
DOCUMENTATION - 04MEDIUM
Audit which local users have Python execution privileges configured on affected Cisco NX-OS devices and restrict as needed.
TIMELINE
- ANNOUNCED
- OCT 7, 2026
SOURCES
- PRIMARY SOURCECISCO
Cisco NX-OS Software Python Sandbox Escape Vulnerability
PUBLISHED OCT 7, 2026VIEW SOURCE
VERIFICATION
ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.