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