SSH server impersonation possible in Mikrotik RouterOS
- CVE-2026-67280
- GHSA-55mp-j66j-8prw
- EUVD-2026-140427
Description
The RouterOS outbound SSH client in "/system ssh" and "/system ssh-exec" accepts unrelated cryptographically valid server host keys during key exchange without verifying that the key belongs to the requested endpoint, persisting trust on first use, comparing against a known-host entry, or requiring a pinned fingerprint. An attacker positioned to receive or redirect an outbound RouterOS SSH connection can impersonate the intended server, capture the supplied username and password, and return attacker-selected command output with a false success status.This issue was fixed in version 7.25
Text from the CVE.org record.
Recommendation
Mikrotik RouterOS
- If you run a version from 6.0.0 to before 7.25update to 7.25 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Mikrotik RouterOS
Affected versions Fixed in from 6.0.0 to before 7.25 7.25
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.