CVE-2026-86060

Summary

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)

Affected Software

VendorProductVersion RangeStatus
MikrotikRouterOS7.24 < 7.24.2affected
MikrotikRouterOS7.0.0 < 7.23.4affected
MikrotikRouterOS6.0.0 < 6.49.21affected

Weaknesses

  • CWE-88: CWE-88 Improper neutralization of argument delimiters in a command ('argument injection')

References