CVE-2026-86060

SSH session privilege manipulation via a crafted username in Mikrotik RouterOS

State
Published
Severity
9.2 Critical
Published
Sep 5, 2026
Updated
Sep 11, 2026
Reserved
Sep 4, 2026

Read the record on cve.org

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)

Scores

CVSSScoreVectorSource
4.09.2 CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NCERT-PL

Weaknesses

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

Affected Products

ProductVersions
RouterOSMikrotik
  • 7.24 to before 7.24.2Affected
  • 7.0.0 to before 7.23.4Affected
  • 6.0.0 to before 6.49.21Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.