CVE-2026-67276 RouterOS SSH public-key authentication bypass lab PoC
Vulnerability
CVE-2026-67276
SSH user impersonation possible in Mikrotik RouterOS
Vulnerability details
- Score
- 9.2
- Severity
- critical
CVSS 4.0 · CERT-PL
Vector string
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NDescription
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 affects only 7.x branch was fixed in versions: 7.23.4 (Long-term) and 7.24.2 (Stable)
CVE ProgramExploit source choices
4 sourcesCVE-2026-67276 MikroTik RouterOS SSH Authentication Bypass Exploit
Testing tool for the Mikrotrick exploit (CVE-2026-67276)
CVE-2026-67276 - Draft or TODO