SSH session privilege manipulation via a crafted username in Mikrotik RouterOS
Mikrotik RouterOS
Actively exploited in the wild
Added to CISA's Known Exploited Vulnerabilities catalog on Sep 10, 2026. US federal agencies must patch by Sep 13, 2026.
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Mikrotik RouterOS |
| No fix yet |
Original 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)
From the CVE record · CERT-PL