CVE-2026-67280 PUBLISHED

SSH server impersonation possible in Mikrotik RouterOS

Assigner: CERT-PL
Reserved: 29.07.2026 Published: 01.12.2026 Updated: 01.12.2026

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

Metrics

CVSS Vector: CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6

Product Status

Vendor Mikrotik
Product RouterOS
Versions Default: unaffected
  • affected from 6.0.0 to 7.25 (excl.)

Credits

  • Sławomir Rozbicki (CERT.PL) finder

References

Problem Types

  • CWE-322 Key exchange without entity authentication CWE