SSH session privilege manipulation via a crafted username in Mikrotik RouterOS
At a glance
Severity
CRITICAL 9.2
Exploitation
Known exploited (CISA KEV) · added 2026-09-10 Exploited per ENISA since 2026-09-05
EPSS
EPSS 6.39 % · percentile 94 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
CERT-PL
NVD status
Analyzed
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)