Skip to main content

Cisco NX-OS CVE-2026-20171

| EUVDEUVD-2026-31135 MEDIUM
Always-Incorrect Control Flow Implementation (CWE-670)
2026-05-20 cisco GHSA-h75f-8f3x-9m8c
6.8
CVSS 3.1 · Vendor: cisco
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Establish or compromise BGP peer on propagation path
  2. Delivery
    Craft BGP UPDATE with malformed transitive attribute
  3. Exploit
    Inject crafted UPDATE into established peer session
  4. Install
    UPDATE propagates transitively toward target NX-OS switch
  5. C2
    enforce-first-as parser hits incorrect control flow
  6. Execute
    BGP session drops and enters flap loop
  7. Impact
    Routing table destabilization causes DoS

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Always-incorrect control flow
Exploitation Conditions

Two specific conditions must both be satisfied: first, the BGP enforce-first-as feature must be configured and active on the target Cisco NX-OS device; second, there must be an established BGP peer session between the attacker (or an intermediate BGP speaker forwarding the attacker's crafted UPDATE) and the target device or a device that will propagate the UPDATE toward it. The attacker does not need to peer directly with the target - the transitive nature of BGP attributes means a crafted UPDATE injected anywhere along a BGP path can propagate to and affect the target. What limits exploitation: devices where enforce-first-as is not configured are not affected; switches operating in Cisco ACI fabric mode rather than standalone NX-OS mode are not listed as affected; the High attack complexity (AC:H per CVSS) reflects that the attacker must either have or control a BGP peering session on the propagation path, which is not trivially achievable against well-secured BGP infrastructure with strict peer authentication and prefix filtering.

Impact

The CVSS 6.8 score with vector AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H presents a nuanced risk profile. The Changed scope (S:C) is the most operationally significant element: a single crafted BGP UPDATE can traverse BGP peering relationships and destabilize switches beyond the directly targeted peer, making the blast radius larger than a localized vulnerability. The High availability impact (A:H) is credible given BGP session flapping directly disrupts dynamic routing, potentially causing traffic blackholing or route withdrawal across a data-center fabric. The High complexity (AC:H) is the primary risk-reduction signal - exploitation requires specific conditions to be satisfied: an established BGP peer session must exist on the propagation path, and enforce-first-as must be configured on the target. This rules out opportunistic mass scanning but does not deter a motivated attacker with knowledge of the target's BGP topology. No EPSS score was provided in the source data, so exploitation probability cannot be quantitatively assessed. No KEV listing and no reported public POC further support treating this as a targeted rather than opportunistic threat. The overall real-world priority is elevated for organizations running BGP on Nexus 3000/9000 switches in internet-facing or multi-tenant environments, but lower for fully internal, non-BGP deployments.

Exploit ScenarioDerived

An attacker with a BGP peering relationship - either a directly peered malicious AS or a compromised upstream provider - crafts a BGP UPDATE message containing a transitive attribute structured to trigger the incorrect parsing code path in NX-OS enforce-first-as processing. The attacker injects this UPDATE into an established BGP session; because the attribute is transitive, downstream NX-OS switches that receive and process the propagated UPDATE also drop their BGP sessions and begin flapping, potentially cascading route withdrawals across the data-center fabric. No public proof-of-concept code has been identified, but the attack requires only a valid BGP session and knowledge of the crafted attribute structure, which is derivable from the advisory description.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 20, 2026

BGP session flapping denial-of-service in Cisco NX-OS on Nexus 3000 and 9000 Series Switches exposes data-center routing infrastructure to disruption from unauthenticated remote attackers. The flaw resides in the enforce-first-as BGP feature, where incorrect parsing of a transitive BGP attribute causes an affected switch to drop its BGP peer session and enter a flap loop upon receiving a crafted BGP UPDATE message. No active exploitation has been confirmed (not in CISA KEV), and no public exploit code has been identified at time of analysis, though the Changed scope in the CVSS vector reflects that the instability can propagate beyond the directly attacked peer, amplifying network-wide impact.

RemediationAI

The primary remediation is to apply the Cisco-released patch for NX-OS Software, with the exact fixed version to be confirmed directly from the Cisco Security Advisory at https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-bgp-iefab-3hb2pwtx - a specific fixed release version was not included in the available intelligence data and should not be inferred. As an immediate compensating control where patching is not immediately possible, disabling the BGP enforce-first-as feature on affected devices will remove the vulnerable code path; however, this trade-off reduces AS_PATH origin validation and may expose the device to certain BGP route manipulation techniques, so it should only be applied as a temporary measure with compensating monitoring in place. Additionally, implementing BGP route filtering and prefix-list policies to restrict which peers can send UPDATE messages, and enforcing BGP session authentication via MD5 (or TCP-AO where supported), reduces the pool of sessions through which a crafted update could be injected, though these controls do not address the underlying parsing flaw. Restricting BGP peering to known, trusted peers via ACLs on the BGP port (TCP/179) limits lateral propagation risk.

Affected VersionsENISA

Cisco NX-OS Software 10.4(1)
Cisco NX-OS Software 10.3(3w)
Cisco NX-OS Software 10.3(7)
Cisco NX-OS Software 10.5(3t)
Cisco NX-OS Software 10.2(7)
Cisco NX-OS Software 10.3(2)
Cisco NX-OS Software 10.3(4)
Cisco NX-OS Software 10.5(3e)
Cisco NX-OS Software 10.4(4)
Cisco NX-OS Software 10.4(3)
Cisco NX-OS Software 10.5(3)
Cisco NX-OS Software 10.5(1)
Cisco NX-OS Software 10.4(6)
Cisco NX-OS Software 10.2(2)
Cisco NX-OS Software 10.3(4g)
Cisco NX-OS Software 10.5(2)
Cisco NX-OS Software 10.5(3s)
Cisco NX-OS Software 10.5(3p)
Cisco NX-OS Software 10.3(8)
Cisco NX-OS Software 10.3(4a)
Cisco NX-OS Software 10.3(3)
Cisco NX-OS Software 10.4(2)
Cisco NX-OS Software 10.2(3t)
Cisco NX-OS Software 10.3(3x)
Cisco NX-OS Software 10.2(3)
Cisco NX-OS Software 10.2(8)
Cisco NX-OS Software 10.3(4h)
Cisco NX-OS Software 10.3(5)
Cisco NX-OS Software 10.2(1q)
Cisco NX-OS Software 10.3(3o)
Cisco NX-OS Software 10.3(3q)
Cisco NX-OS Software 10.2(1)
Cisco NX-OS Software 10.4(5)
Cisco NX-OS Software 10.3(99x)
Cisco NX-OS Software 10.3(99w)
Cisco NX-OS Software 10.4(4g)
Cisco NX-OS Software 10.2(6)
Cisco NX-OS Software 10.2(9)
Cisco NX-OS Software 10.3(6)
Cisco NX-OS Software 10.6(1)
Cisco NX-OS Software 10.2(3v)
Cisco NX-OS Software 10.3(3p)
Cisco NX-OS Software 10.2(2a)
Cisco NX-OS Software 10.2(4)
Cisco NX-OS Software 10.2(5)
Cisco NX-OS Software 10.3(3r)
Cisco NX-OS Software 10.3(1)
Cisco NX-OS Software 10.6(1s)
Cisco NX-OS Software 10.5(3o)

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the Border Gateway Protocol enforce-first-as feature in Cisco NX-OS Software (CPE: cpe:2.3:a:cisco:cisco_nx-os_software), running on Nexus 3000 and 9000 Series Switches exclusively in standalone NX-OS mode (not ACI fabric mode). The enforce-first-as feature validates that the first AS number in the BGP AS_PATH attribute matches the expected peer AS, a security control against route hijacking. The root cause is classified as CWE-670 (Always-Incorrect Control Flow Implementation), meaning the code path triggered when parsing a specific transitive BGP attribute does not follow the correct control flow, leading to an unhandled or improperly handled state that crashes the BGP session rather than discarding the malformed attribute. Because BGP UPDATE messages are transitive by nature - routers forward them to downstream peers - a single malicious injection can propagate across multiple BGP hops and trigger flaps on any NX-OS device in the propagation path that has enforce-first-as configured.

Know when Cisco Nx Os Software gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (cisco) PRIMARY 6.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H

Primary rating from Vendor (cisco) · only source for this CVE.

CVSS VectorVendor: cisco

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

A vulnerability in the Border Gateway Protocol (BGP) enforce-first-as feature of Cisco Nexus 3000 Series Switches and Cisco Nexus 9000 Series Switches in standalone NX-OS mode could allow an unauthenticated, remote attacker to trigger BGP peer flaps, resulting in a denial of service (DoS) condition.

This vulnerability is due to incorrect parsing of a transitive BGP attribute. An attacker could exploit this vulnerability by sending a crafted BGP update through an established BGP peer session. If the update propagates to an affected device, it could cause the device to drop the BGP session and flap with the BGP peer that is forwarding this update, resulting in a DoS condition.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-76485 CRITICAL POC
9.8 Oct 07

Unauthenticated remote attackers with IP reachability to an affected Cisco NX-OS device can achieve arbitrary code execu

CVE-2026-76471 CRITICAL
9.8 Oct 07

Unauthenticated remote code execution in the NX-API feature of Cisco NX-OS Software lets a remote attacker who can reach

CVE-2026-76501 CRITICAL
9.8 Oct 07

Remote code execution and denial of service in Cisco NX-OS Software are possible when the SRv6 OAM (NGOAM) and SRv6 feat

CVE-2026-76486 CRITICAL
9.8 Oct 07

Remote code execution with root privileges and denial-of-service in Cisco NX-OS Software can be triggered by unauthentic

CVE-2026-76465 CRITICAL
9.8 Oct 07

Unauthenticated, remote code execution with root privileges and denial of service in Cisco NX-OS Software on Nexus 3000

CVE-2026-76455 CRITICAL
9.8 Oct 07

Improper access control in Cisco NX-OS - including NX-OS running in ACI mode and the NX-OS component of managed Cisco Un

CVE-2026-76459 CRITICAL
9.8 Oct 07

Out-of-bounds write defects in Cisco NX-OS Software - spanning standalone NX-OS switches, NX-OS System Software running

CVE-2026-20212 CRITICAL
9.8 Sep 02

Remote code execution in the Silicon One integration of Cisco Nexus 9000 Series Switches (Cisco NX-OS Software) lets an

CVE-2026-76453 HIGH
8.8 Oct 07

Improper neutralization of input in Cisco NX-OS software, NX-OS System Software running in ACI mode, and Cisco Unified C

CVE-2026-76458 HIGH
8.6 Oct 07

Remotely triggerable denial-of-service conditions in Cisco NX-OS Software - including NX-OS System Software running in A

CVE-2026-76457 HIGH
8.6 Oct 07

Out-of-bounds read issues in Cisco NX-OS, NX-OS in ACI mode, and managed Cisco UCS software can be triggered by remote,

CVE-2026-76456 HIGH
8.6 Oct 07

Unauthenticated, network-reachable input-validation flaws in Cisco NX-OS Software command processing can disrupt affecte

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy