CVE-2025-20138: Cisco IOS XR - Command Injection
- Cve: CVE-2025-20138
- Name: Cisco IOS XR - Command Injection
- 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.
- Impact: Attackers can execute arbitrary commands as root, potentially leading to full system compromise and control.
- Remediation: Apply the latest security patches and updates provided by Cisco for IOS XR Software.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs to be authenticated with low privileges
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.00231
- Epss percentile: 0.14001
- Assignee: [email protected]
- Published at: 2025-03-12T16:15:21Z
- Age in days: 622
- Modified at: 2026-06-17T08:40:45Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-20138
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
References
| Url | Source | Tags |
|---|---|---|
| https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-priv-esc-GFQjxvOF | nvd | Vendor Advisory |
| https://blog.apnic.net/2024/09/02/crafting-endless-as-paths-in-bgp/ | nvd | Technical Description |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| cisco:ios_xr | >= 24.3, < 24.4; < 24.2.21 | no | nvd | /v1/products/cisco/ios_xr |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 1376
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports