← Vulnerability feed

Vulnerability record · CVE-2018-14847 · published 2 August 2018

CVE-2018-14847: MikroTik RouterOS WinBox directory traversal allows file read and write

Mikrotik · Routeros

MikroTik RouterOS through 6.42 contains a directory traversal flaw in the WinBox interface. Unauthenticated remote attackers can read arbitrary files, and authenticated attackers can write arbitrary files. Because WinBox is a management interface, this exposes sensitive configuration and credential material on internet-facing routers.

9.1 CVSS 3.1 Critical CISA KEV since 1 Dec 2021 EPSS 96% · top 0.1% CWE-22 · Path traversal
9.1CVSS 3.1 base score, v2 6.4
96%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
16References, 14 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 16 September 2026. Confidence: high.

critical priorityCVSS 9.1, CISA KEV listing, near-maximum EPSS, and public exploit code make this an actively exploited critical flaw.

What it is

MikroTik RouterOS through 6.42 contains a directory traversal flaw in the WinBox interface. Unauthenticated remote attackers can read arbitrary files, and authenticated attackers can write arbitrary files. Because WinBox is a management interface, this exposes sensitive configuration and credential material on internet-facing routers.

Impact

An unauthenticated attacker can read arbitrary files, including router configuration and stored credentials, enabling full device compromise. An authenticated attacker can write arbitrary files, which can lead to code execution or persistent modification of the device.

Attack surface

Reachable over the network through the WinBox interface (TCP 8291) with no authentication required for the file-read path; the file-write path requires valid credentials. No user interaction is needed per the CVSS vector (AV:N/AC:L/PR:N/UI:N).

Exploitation

CVE-2018-14847 is listed in CISA KEV (added 2021-12-01) and has an EPSS 30-day probability of 0.96087 (99.875th percentile), with multiple public exploit references tagged Exploit. This indicates active, widespread exploitation and readily available exploit code.

What to do

  • Upgrade MikroTik RouterOS to a version later than 6.42 per the vendor advisory.
  • Disable or restrict the WinBox service on untrusted networks; block TCP 8291 from the internet.
  • Restrict management access to a dedicated management VLAN or trusted IP allowlist.
  • Rotate credentials and review router configuration for unauthorized changes after exposure.
  • Monitor vendor advisories and apply updates promptly for any remaining RouterOS devices.

Detection

  • Monitor network traffic to TCP 8291 for unexpected or external connections to WinBox.
  • Audit RouterOS logs and configuration for unauthorized file access or modification events.
  • Search for known exploit artifacts or indicators associated with public WinBox PoCs.
  • Inventory RouterOS devices and verify versions are above 6.42.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2018-14847 to the Known Exploited Vulnerabilities catalog on 1 December 2021 as "MikroTik Router OS Directory Traversal Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 1 June 2022.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-14847 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2018-7445MikroTik RouterOS SMB pre-auth buffer overflow enabling code executionMikroTik RouterOS contains a stack-based buffer overflow in its SMB service when handling NetBIOS session request messages. The overflow occurs befor…KEVEPSS 61%analysed9.2CVE-2026-86060MikroTik RouterOS SSH login argument injection privilege escalationRouterOS mishandles arguments in the SSH login path when a username begins with a prohibited character, allowing the trusted policy mask to be altere…KEVEPSS 1.8%analysed8.8CVE-2026-67277MikroTik RouterOS btest missing authentication leaks kernel memory and crashes kernelRouterOS accepts a "related" btest connection before the primary session is authenticated, letting an unauthenticated client start an IPv4 UDP test. …KEVEPSS 1.6%analysed6.9CVE-2026-67279Mikrotik routeros vulnerabilityRouterOS SSH enters the connection protocol after a client-requested rekey even though user authentication was never attempted, allowing an unauthent…KEVEPSS 1.0%9.8CVE-2022-45315Mikrotik routeros out-of-bounds read vulnerabilityMikrotik RouterOs before stable v7.6 was discovered to contain an out-of-bounds read in the snmp process. This vulnerability allows authenticated att…EPSS 1.3%9.8CVE-2017-20149Mikrotik routeros out-of-bounds write vulnerabilityThe Mikrotik RouterOS web server allows memory corruption in releases before Stable 6.38.5 and Long-term 6.37.5, aka Chimay-Red. A remote and unauthe…EPSS 2.0%9.8CVE-2022-34960Mikrotik routeros link following vulnerabilityThe container package in MikroTik RouterOS 7.4beta4 allows an attacker to create mount points pointing to symbolic links, which resolve to locations …EPSS 1.5%9.2CVE-2026-67276Mikrotik routeros improper verification of cryptographic signature vulnerabilityRouterOS does not compare the complete RSA public key when matching an SSH authentication request to an authorized user key, checking the key type an…EPSS 6.5%

Source: NIST National Vulnerability Database (record CVE-2018-14847), CISA KEV, FIRST EPSS (scores of 2026-09-22). This page is refreshed as NVD updates the record.