Description
RouterOS contains an argument-handling flaw in the SSH login
path involving usernames that begin with a prohibited character, allowing for the trusted RouterOS policy mask to be changed, leading to privilege escalation. Exploitation requires an unauthenticated SSH session to reach the RouterOS login helper.This issue was fixed in versions: 6.49.21 (Long-term), 7.23.4 (Long-term) and 7.24.2 (Stable)
Published: 2026-09-05
Score: 9.2 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

RouterOS contains an argument‑handling flaw in the SSH login path involving usernames that begin with a prohibited character, allowing for the trusted RouterOS policy mask to be changed, leading to privilege escalation. Exploitation requires an unauthenticated SSH session to reach the RouterOS login helper. This flaw permits an unauthenticated user to alter internal policy settings and elevate privileges on the device, potentially achieving full control. The description confirms that the attacker only needs to craft a malicious username, without any prior authentication.

Affected Systems

All Mikrotik RouterOS installations using firmware versions earlier than 6.49.21 (long‑term 6.x branch), 7.23.4 (long‑term 7.x branch) or 7.24.2 (stable 7.x branch) remain vulnerable. The vulnerability is not limited by deployment location but by firmware revision, so any device running an affected version and exposed to SSH traffic is at risk.

Risk and Exploitability

The CVSS score of 9.2 places this vulnerability in the high‑severity range, and although the EPSS score is currently unavailable, references report active exploitation. The KEV catalog does not list it yet, but the presence of real‑world attacks and the low barrier to entry—only an open SSH port and a specially crafted username—make the risk substantial. An attacker can reach the vulnerable path through a standard unauthenticated SSH connection, highlighting the importance of rapid remediation.

Generated by OpenCVE AI on September 5, 2026 at 22:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade RouterOS to at least version 6.49.21, 7.23.4, or 7.24.2, according to the device’s branch.
  • If an immediate firmware update cannot be applied, temporarily disable the SSH service or block all external SSH traffic until the patch is available.
  • Alternatively, restrict SSH access via a firewall or access‑control list to a known, trusted IP pool to reduce the attack surface.

Generated by OpenCVE AI on September 5, 2026 at 22:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 05 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
Description RouterOS contains an argument-handling flaw in the SSH login path involving usernames that begin with a prohibited character, allowing for the trusted RouterOS policy mask to be changed, leading to privilege escalation. Exploitation requires an unauthenticated SSH session to reach the RouterOS login helper.This issue was fixed in versions: 6.49.21 (Lont-term), 7.23.4 (Lont-term) and 7.24.2 (Stable) RouterOS contains an argument-handling flaw in the SSH login path involving usernames that begin with a prohibited character, allowing for the trusted RouterOS policy mask to be changed, leading to privilege escalation. Exploitation requires an unauthenticated SSH session to reach the RouterOS login helper.This issue was fixed in versions: 6.49.21 (Long-term), 7.23.4 (Long-term) and 7.24.2 (Stable)

Sat, 05 Sep 2026 20:15:00 +0000

Type Values Removed Values Added
Description RouterOS contains an argument-handling flaw in the SSH login path involving usernames that begin with a prohibited character, allowing for the trusted RouterOS policy mask to be changed, leading to privilege escalation. Exploitation requires an unauthenticated SSH session to reach the RouterOS login helper.This issue was fixed in versions: 6.49.21 (Lont-term), 7.23.4 (Lont-term) and 7.24.2 (Stable)
Title SSH session privilege manipulation via a crafted username in Mikrotik RouterOS
First Time appeared Mikrotik
Mikrotik routeros
Weaknesses CWE-88
CPEs cpe:2.3:a:mikrotik:routeros:*:*:*:*:*:*:*:*
Vendors & Products Mikrotik
Mikrotik routeros
References
Metrics cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Mikrotik Routeros
cve-icon MITRE

Status: PUBLISHED

Assigner: CERT-PL

Published:

Updated: 2026-09-05T20:41:30.072Z

Reserved: 2026-09-04T19:32:24.461Z

Link: CVE-2026-86060

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T20:17:18.703

Modified: 2026-09-05T21:16:51.400

Link: CVE-2026-86060

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T22:30:17Z

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')