CVE-2018-14847 is a directory traversal (CWE-22) in the Winbox management service of MikroTik RouterOS through 6.42: without logging in, an attacker can read files such as the router's user database, and with a login can write files. NVD scores it 9.1 and CISA KEV lists it. MikroTik fixed it in RouterOS 6.42.1 and 6.40.8.
Vulnerability summary
CVSS base score
9.1
Critical severity
EPSS score (FIRST)
96.0%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2018-14847 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| MikroTik RouterOS (Winbox service) | cpe:2.3:o:mikrotik:routeros:*:*:*:*:*:*:*:* | NVD: through 6.42. MikroTik: current 6.29 to 6.42 (fixed 6.42.1), bugfix 6.30.1 to 6.40.7 (fixed 6.40.8), release candidates 6.29rc1 to 6.43rc3 (fixed 6.43rc4) |
What does this mean for affected devices?
NVD describes the flaw: "MikroTik RouterOS through 6.42 allows unauthenticated remote attackers to read arbitrary files and remote authenticated attackers to write arbitrary files due to a directory traversal vulnerability in the WinBox interface." NVD's Primary score is CVSS v3.1 9.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) and NVD CVSS v2 6.4; CISA ADP gives the same 9.1. Both classify it as CWE-22. MITRE is the CNA and the record was published on 2018-08-02 (NVD, CVE record).
Which RouterOS versions are affected and which fix it?
MikroTik's own summary says the bug was "discovered and fixed in RouterOS on April 23, 2018" and that, although Winbox was the point of attack, the vulnerability was in RouterOS; it let a special tool connect to the Winbox port and request the system user database file (MikroTik: Winbox vulnerability). MikroTik lists three affected trains, all fixed on 2018-04-23:
- current releases 6.29 to 6.42, fixed in 6.42.1;
- bugfix releases 6.30.1 to 6.40.7, fixed in 6.40.8;
- release candidates 6.29rc1 to 6.43rc3, fixed in 6.43rc4.
The 6.42.1 and 6.40.8 changelogs both open with "winbox - fixed vulnerability that allowed to gain access to an unsecured router" (RouterOS 6.42.1 changelog, RouterOS 6.40.8 changelog). NVD's single "through 6.42" CPE range marks the fixed 6.40.8 as affected and leaves out the affected 6.43rc1 to 6.43rc3, so check the release train as well as the version number.
Is CVE-2018-14847 exploited?
Yes. CISA added it to the KEV catalog on 2021-12-01 with the required action "Apply updates per vendor instructions." (due date 2022-06-01; known ransomware campaign use: Unknown); it is still listed as of 2026-11-24 in catalog version 2026.11.23 (CISA KEV). FIRST EPSS gives 0.95981, the 99.876th percentile, in the 2026-11-23 dataset (FIRST EPSS).
What should you do?
MikroTik's advice: upgrade Winbox and RouterOS, change all passwords after the upgrade (the stolen user database makes the old ones unsafe), and firewall the Winbox port from public and untrusted networks, or use IP > Services "Allowed From" to limit every service to known addresses. MikroTik also says there is no sure way to tell whether a router was hit; if Winbox was open to untrusted networks, assume it was, and use the Export command to look for unknown SOCKS proxy settings and scripts. Our CISA BOD 23-02 guide covers taking management services off the internet, and how to fix path traversal in embedded firmware covers the code fix. Later RouterOS flaws in KEV: CVE-2026-67279 (SSH authentication bypass) and CVE-2026-86060 (SSH privilege escalation); see also CVE-2018-7445, the 2018 SMB overflow.
Evidence
- RouterOS through 6.42: unauthenticated arbitrary file read and authenticated file write via directory traversal in WinBox; NVD Primary CVSS v3.1 9.1, CWE-22. — NVD
- Fixed on 2018-04-23 in 6.42.1 (current 6.29-6.42), 6.40.8 (bugfix 6.30.1-6.40.7) and 6.43rc4 (6.29rc1-6.43rc3); upgrade, change passwords, firewall the Winbox port, inspect Export output. — MikroTik
- RouterOS 6.42.1 and 6.40.8 changelogs: winbox - fixed vulnerability that allowed to gain access to an unsecured router. — MikroTik changelogs
- In CISA KEV since 2021-12-01, due 2022-06-01, ransomware use Unknown; listed in catalog 2026.11.23. — CISA KEV
- EPSS 0.95981 (99.876th percentile) in the 2026-11-23 dataset. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which RouterOS version fixes CVE-2018-14847?
RouterOS 6.42.1 for the current train, 6.40.8 for the bugfix train and 6.43rc4 for release candidates, all released on 2018-04-23. Any later RouterOS release also contains the fix (per MikroTik's Winbox advisory and the 6.42.1 and 6.40.8 changelogs).
Is upgrading enough after CVE-2018-14847?
No. The flaw exposed the router's user database, so MikroTik says to change passwords after upgrading, firewall the Winbox port from untrusted networks and inspect the exported configuration for unknown SOCKS proxy settings and scripts (per MikroTik).
Does CVE-2018-14847 need credentials?
Reading files does not: NVD describes unauthenticated remote attackers reading arbitrary files through Winbox. Writing files needs an authenticated session. NVD scores it CVSS v3.1 9.1 (per NVD).
Is CVE-2018-14847 exploited in the wild?
Yes. CISA added it to KEV on 2021-12-01 and it is listed in catalog version 2026.11.23; FIRST EPSS gives 0.95981, the 99.876th percentile, in the 2026-11-23 dataset (per CISA KEV and FIRST EPSS).
Questions about this page?