CVE-2026-20040 Details
Description
A vulnerability in the CLI of Cisco IOS XR Software could allow an authenticated, local attacker to execute arbitrary commands as root on the underlying operating system of an affected device. This vulnerability is due to insufficient validation of user arguments that are passed to specific CLI commands. An attacker with a low-privileged account could exploit this vulnerability by using crafted commands at the prompt. A successful exploit could allow the attacker to elevate privileges to root and execute arbitrary commands on the underlying operating system.
A vulnerability exists in the Command Line Interface (CLI) of Cisco IOS XR Software, allowing an authenticated, local attacker to execute arbitrary commands as root on the underlying operating system of the affected device. This issue arises from inadequate validation of user arguments in specific CLI commands. An attacker with a low-privileged account could exploit this vulnerability by sending crafted commands at the prompt, potentially leading to unauthorized privilege escalation and execution of commands with root privileges.
Cisco has released software updates to address this vulnerability. Customers should upgrade to version 25.2.21 or 25.4.2, depending on their current release. For platforms or releases not covered by these updates, contact Cisco support for a Maintenance Update (SMU).
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-privesc-bF8D5U4W | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cisco ios xr | < 25.2.21 >= 25.3.1, < 25.4.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 1, 2026 | Initial Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 11, 2026 | New CVE Received | [email protected] |