Home / Cisco IOS and IOS XE / Cisco IOS and IOS XE / CVE-2018-0123
CVE-2018-0123: is it exploited, and which versions of Cisco IOS and IOS XE are affected and fixed?
CVE-2018-0123 is a path traversal (reading or writing files outside the intended folder) vulnerability in Cisco IOS and IOS XE. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: Cisco IOS and IOS XE Cisco IOS and IOS XE (CVE record by cisco). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:35 UTC.
What is CVE-2018-0123?
A Path Traversal vulnerability in the diagnostic shell for Cisco IOS and IOS XE Software could allow an authenticated, local attacker to use certain diagnostic shell commands that can overwrite system files. These system files may be sensitive and should not be able to be overwritten by a user of the diagnostic shell. The vulnerability is due to lack of proper input validation for certain diagnostic shell commands. An attacker could exploit this vulnerability by authenticating to the device, entering the diagnostic shell, and providing crafted user input to commands at the local diagnostic shell CLI. Successful exploitation could allow the attacker to overwrite system files that should be restricted. Cisco Bug IDs: CSCvg41950.
From the CVE record by cisco, last updated December 2, 2024, 21:22 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Cisco IOS and IOS XE | Cisco IOS and IOS XE |
As the CVE record by cisco states it, last updated December 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cisco | ios | 16.7\(1\) | operating system |
| cisco | ios xe | all versions | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 01:29 UTC.
How severe is CVE-2018-0123?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 4.9 | CVSS 2.0 | AV:L/AC:L/Au:N/C:N/I:C/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-0123 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 2, 2024)
- EPSS
- 0.41% probability of exploitation activity in the next 30 days, percentile 36.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- 1040346 vdb-entry, x_refsource_SECTRACK
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180207-ios x_refsource_CONFIRM
- 102967 vdb-entry, x_refsource_BID
When was it published, and where is the official record?
- Reserved
- November 27, 2017
- Published
- February 8, 2018, 07:00 UTC
- CVE record updated
- December 2, 2024, 21:22 UTC by cisco
- NVD
- Modified, last modified June 17, 2026, 01:29 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:35 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Cisco IOS and IOS XE?
- Mar 28, 2018CVE-2018-0174 Cisco IOS and IOS XE: improper input validation exploited
- Mar 28, 2018CVE-2018-0173 Cisco IOS and IOS XE: improper input validation exploited
- Mar 28, 2018CVE-2018-0172 Cisco IOS and IOS XE: improper input validation exploited
- Mar 28, 2018CVE-2018-0159 Cisco IOS and IOS XE: improper input validation exploited
- Mar 28, 2018CVE-2018-0158 Cisco IOS and IOS XE: improper input validation exploited
- Mar 28, 2018CVE-2018-0156 Cisco IOS and IOS XE: improper input validation exploited
- Mar 28, 2018CVE-2018-0155 Cisco IOS and IOS XE: exceptional condition mishandled exploited
- Mar 28, 2018CVE-2018-0151 Cisco IOS and IOS XE: memory corruption (buffer overflow) exploited
Every CVE in Cisco IOS and IOS XE
Questions about CVE-2018-0123
Is CVE-2018-0123 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 0.41% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Cisco IOS and IOS XE are affected by CVE-2018-0123?
Cisco IOS and IOS XE Cisco IOS and IOS XE, per the CVE record by cisco. The tables above give every range the sources list.
Which version fixes CVE-2018-0123?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2018-0123?
Medium (5.5, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-0123?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.