9.2Critical

CVE-2026-67276SSH user impersonation possible in Mikrotik RouterOS

Mikrotik RouterOS Published: (2 months ago)

Description

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)

Weakness (CWE): CWE-347

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Mikrotik RouterOS 7.24 – < 7.24.2, 7.9 – < 7.23.4

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:o:mikrotik:routeros:*:*:*:*:*:*:*:* ≥ 7.9 < 7.23.4
  • cpe:2.3:o:mikrotik:routeros:*:*:*:*:*:*:*:* ≥ 7.24 < 7.24.2