CVE-2026-67276 PUBLISHED

SSH user impersonation possible in Mikrotik RouterOS

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

RouterOS does not compare the complete RSA public key when matching an SSH authentication request to an authorized user key, checking the key type and modulus but omitting the exponent. Because signature verification uses the client-supplied key, an attacker knowing an authorized RSA modulus can supply a key with exponent one, forge a valid signature, and open an SSH command channel as the target user without the private key.This issue was fixed in versions: 6.49.21 (Long-term), 7.23.4 (Long-term) and 7.24.2 (Stable)

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 9.2

Product Status

Vendor Mikrotik
Product RouterOS
Versions Default: unaffected
  • affected from 7.24 to 7.24.2 (excl.)
  • affected from 7.0.0 to 7.23.4 (excl.)
  • affected from 6.0.0 to 6.49.21 (excl.)

Credits

  • Sławomir Rozbicki (CERT.PL) finder

References

Problem Types

  • CWE-347 Improper verification of cryptographic signature CWE