CVE-2025-20138 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.
A vulnerability exists in the Command Line Interface (CLI) of Cisco IOS XR Software, allowing authenticated, local attackers to execute arbitrary commands as root on the underlying operating system of affected devices. This issue arises from inadequate validation of user arguments in specific CLI commands. Attackers with low-privileged accounts can exploit this vulnerability by sending crafted commands at the prompt, potentially leading to unauthorized privilege escalation and execution of arbitrary commands.
Cisco has released free software updates to address this vulnerability. Customers with service contracts should obtain these updates through their usual channels. For information on specific fixed releases, consult the Cisco IOS XR Software Security Advisory.
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 13, 2025References 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://blog.apnic.net/2024/09/02/crafting-endless-as-paths-in-bgp/ | [email protected] | Technical Description |
| https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-priv-esc-GFQjxvOF | [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 | < 24.2.21 >= 24.3, < 24.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 31, 2025 | Initial Analysis | [email protected] |
| Mar 12, 2025 | New CVE Received | [email protected] |