CVE-2026-86060

SSH session privilege manipulation via a crafted username in Mikrotik RouterOS

Published Sep 5, 2026 CVSS 4.0 · 9.2 Critical EPSS 35.5% KEV · Listed
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)

Analysis

AI-generated

Technical impact

RouterOS contains an argument‑handling flaw in the SSH login process that is triggered by usernames beginning with a prohibited character. The flaw causes the trusted policy mask to be altered, enabling an attacker to modify internal policy settings and elevate privileges on the device. This defect is classified as a CWE‑88 input validation error and can allow an attacker to gain higher-level control of the router’s configuration and operations.

Affected Systems

Devices running Mikrotik RouterOS firmware versions earlier than 6.49.21 (Long‑term 6.x), 7.23.4 (Long‑term 7.x), or 7.24.2 (Stable 7.x) are exposed to this vulnerability. Routers that expose the SSH service to external or untrusted networks are at higher risk.

Risk and Exploitability

The CVSS score of 9.2 places this vulnerability in the critical category. The EPSS score of 36% indicates that exploitation is likely in the wild, and the vulnerability is listed in CISA’s KEV catalog. Based on the description, the attacker can reach the login helper through an unauthenticated SSH session and supply a specially crafted username, giving the exploit a low barrier to entry. This combination of high severity, publicly known exploitation trends, and easy deployment makes the risk significant for exposed devices.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to RouterOS 6.49.21, 7.23.4, 7.24.2, or any later version that includes the fix.
  • If a firmware upgrade cannot be performed immediately, disable external access to the SSH service until the vulnerability is patched.
  • Configure firewall or access‑control rules to restrict SSH connections only to trusted IP addresses.

Generated by OpenCVE AI on November 26, 2026 at 14:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:o:mikrotik:routeros:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'active', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics kev

{'dateAdded': '2026-09-10T00:00:00+00:00', 'dueDate': '2026-09-13T00:00:00+00:00'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

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)
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'}

Weaknesses
  • CWE-88

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

Sources

Status
PUBLISHED
Assigner
CERT-PL
Published
Updated
Sep 11, 2026, 3:55 AM
Reserved
Sep 4, 2026, 7:32 PM
Status
Analyzed
Published
Sep 5, 2026, 8:17 PM
Modified
Sep 11, 2026, 12:52 PM