Skip to content
VulniPulse
Medium6.8Cisco

CVE-2026-20171: Cisco Nexus 3000 and 9000 Series Switches Border Gateway Protocol Denial of Service Vulnerability

This Cisco advisory covers CVE-2026-20171. Related products: Nexus, NX-OS Software.

Open the Cisco advisory

Key facts

Vendor rating
Medium, CVSS 6.8
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H · base score 6.8, scored by ciscoAttack vector: network. Attack complexity: high. Privileges required: none. User interaction: none. Scope: changed. Confidentiality impact: none. Integrity impact: none. Availability impact: high.
Weakness
  • CWE-670 Always-Incorrect Control Flow Implementation
EPSS
0.47% chance of exploitation in the next 30 days (41st percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
CISA KEV
Not listed (catalogue checked )
Versions named
Scope: At the time of publication, this vulnerability affected Cisco Nexus 3000 Series Switches and Cisco Nexus 9000 Series Switches in standalone NX-OS mode if they had the BGP routing protocol configured.
Advisory id
cisco-sa-bgp-iefab-3hb2pwtx
Source published
Listed by VulniPulse

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Related products & platforms

CiscoSwitchesNexusNX-OSNexus 3000

Description

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.

Cisco has released software updates that address this vulnerability. There are workarounds that address this vulnerability.

Affected products named by the advisory: NX-OS Software.

Text from the source record.

Versions named by the source
  • Scope: At the time of publication, this vulnerability affected Cisco Nexus 3000 Series Switches and Cisco Nexus 9000 Series Switches in standalone NX-OS mode if they had the BGP routing protocol configured.

Official advisory · high-confidence parse· fetched ·verify at source

How to fix CVE-2026-20171

Vendor guidance

  • 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.

Workarounds

  • There are two workarounds that address this vulnerability. If an affected device does not need to use the ATTR_SET attribute to carry customer edge (CE) attributes across the ISP network, RFC 6368 states that it is an optional attribute that can be discarded.
  • To discard the attribute and add or update the prefixes that are contained in the update to the routing table, add the path-attribute discard 128 in configuration command under the neighbor configuration that is sending it, as shown in the following example:
  • router bgp 64550
  • neighbor 10.0.0.2
  • path-attribute discard 128 in
  • Alternatively, to discard the attribute and remove the prefixes that are contained in the update from the routing table, add the path-attribute treat-as-withdraw 128 in configuration command under the neighbor configuration that is sending it, as shown in the following example:
  • router bgp 64550
  • neighbor 10.0.0.2
  • path-attribute treat-as-withdraw 128 in
  • There is also a mitigation. To disable the enforce-first-as global BGP feature on the provider edge (PE) that is receiving the ATTR_SET attribute, configure the no enforce-first-as command, as shown in the following example. This will disable first Autonomous System Number (ASN) checking.

End-of-life dates for Cisco Switches

Cisco advisories, May 2026All Cisco advisories

Get an email when Cisco Switches publishes the next one.

See Cisco Switches's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.

Alert me about Cisco Switches