CVE-2025-20338

Medium

Description

A vulnerability in the CLI of Cisco IOS XE Software could allow an authenticated, local attacker with administrative privileges 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 could exploit this vulnerability by logging in to the device CLI with valid administrative (level 15) credentials and using crafted commands at the CLI prompt. A successful exploit could allow the attacker to execute arbitrary commands as root.

SeverityMedium
CVSS6.0
Exploit probability22. percentile0.3%
ProductCisco Ios Xe
PublishedSep 24, 2025
First seenSep 24, 2025
Weakness typeCWE-141CWE-141

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
cisco ios_xe3.5.0e, 3.5.0sq, 3.5.1e, 3.5.1sq, 3.5.2e, 3.5.2sq, 3.5.3e, 3.5.3sq, 3.5.4sq, 3.5.5sq, 3.5.6sq, 3.5.7sq, 3.5.8sq, 3.6.0e, 3.6.1e, 3.6.2ae, 3.6.2e, 3.6.3e, 3.6.4e, 3.6.5ae, 3.6.5e, 3.6.6e, 3.6.7be, 3.6.7e, 3.6.8e, 3.6.9e, 3.6.10e, 3.7.0e, 3.7.1e, 3.7.2e, 3.7.3e, 3.7.4e, 3.7.5e, 3.8.0e, 3.8.1e, 3.8.2e, 3.8.3e, 3.8.4e, 3.8.5ae, 3.8.5e, 3.8.6e, 3.8.7e, 3.8.8e, 3.8.9e, 3.8.10e, 3.8.10ee, 3.9.0e, 3.9.1e, 3.9.2e, 3.10.0ce, 3.10.0e, 3.10.1e, 3.10.2e, 3.10.3e, 3.11.0e, 3.11.0s, 3.11.1ae, 3.11.1e, 3.11.1s, 3.11.2e, 3.11.2s, 3.11.3ae, 3.11.3e, 3.11.3s, 3.11.4e, 3.11.4s, 3.11.5e, 3.11.6e, 3.11.7e, 3.11.8e, 3.11.9e, 3.11.10e, 3.11.11e, 3.11.12e, 3.12.0as, 3.12.0s, 3.12.1s, 3.12.2s, 3.12.3s, 3.12.4s, 3.13.0as, 3.13.0s, 3.13.1s, 3.13.2as, 3.13.2s, 3.13.3s, 3.13.4s, 3.13.5as, 3.13.5s, 3.13.6as, 3.13.6s, 3.13.7as, 3.13.7s, 3.13.8s, 3.13.9s, 3.13.10s, 3.14.0s, 3.14.1s, 3.14.2s, 3.14.3s, 3.14.4s, 3.15.0s, 3.15.1cs, 3.15.1s, 3.15.2s, 3.15.3s, 3.15.4s, 3.16.0cs, 3.16.0s, 3.16.1as, 3.16.1s, 3.16.2as, 3.16.2bs, 3.16.2s, 3.16.3as, 3.16.3s, 3.16.4as, 3.16.4bs, 3.16.4ds, 3.16.4s, 3.16.5s, 3.16.6bs, 3.16.6s, 3.16.7as, 3.16.7bs, 3.16.7s, 3.16.8s, 3.16.9s, 3.16.10s, 3.17.0s, 3.17.1as, 3.17.1s, 3.17.2s, 3.17.3s, 3.17.4s, 3.18.0as, 3.18.0s, 3.18.0sp, 3.18.1asp, 3.18.1bsp, 3.18.1csp, 3.18.1s, 3.18.1sp, 3.18.2asp, 3.18.2s, 3.18.2sp, 3.18.3asp, 3.18.3bsp, 3.18.3s, 3.18.3sp, 3.18.4s, 3.18.4sp, 3.18.5sp, 3.18.6sp, 3.18.7sp, 3.18.8asp, 3.18.9sp, 16.6.1, 16.6.2, 16.6.3, 16.6.4, 16.6.4a, 16.6.5, 16.6.5a, 16.6.6, 16.6.7, 16.6.8, 16.6.9, 16.6.10, 16.7.1, 16.7.1a, 16.7.1b, 16.7.2, 16.7.3, 16.7.4, 16.8.1, 16.8.1a, 16.8.1b, 16.8.1c, 16.8.1d, 16.8.1e, 16.8.1s, 16.8.2, 16.8.3, 16.9.1, 16.9.1a, 16.9.1b, 16.9.1s, 16.9.2, 16.9.3, 16.9.3a, 16.9.4, 16.9.5, 16.9.5f, 16.9.6, 16.9.7, 16.9.8, 16.10.1, 16.10.1a, 16.10.1b—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.