RouterOS 6.x/7.x Privilege Escalation via Username Arg Flip in SSH
CVE-2026-86060 Published on September 5, 2026

SSH session privilege manipulation via a crafted username in Mikrotik RouterOS
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)

Vendor Advisory NVD

Vulnerability Analysis

CVE-2026-86060 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE

Weakness Type

What is an Argument Injection Vulnerability?

The software constructs a string for a command to executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.

CVE-2026-86060 has been classified to as an Argument Injection vulnerability or weakness.


Products Associated with CVE-2026-86060

Want to know whenever a new CVE is published for MikroTik Routeros? stack.watch will email you.

 

Affected Versions

Mikrotik RouterOS: