CVE-2026-67276: MikroTik RouterOS 7 SSH public-key login without the private key

Critical 9.2 EPSS 8.9% MikroTik RouterOS

RouterOS 7 checks only the key type and modulus of an RSA public key, not the exponent, when matching an SSH login to a user's authorized key. An attacker who knows a user's name and RSA public key can forge a key and log in over SSH as that user without the private key. It affects RouterOS 7.9 up to the fixed releases 7.23.4 and 7.24.2 and only users with RSA keys in /user ssh-keys; RouterOS 6 is not listed as affected. Published with the September 2026 MikroTik advisory; CISA's enrichment listed no exploitation when it was published.

What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms

What to do now

  1. Check whether you run MikroTik RouterOS and which version (commands below).
  2. Install the fixed version for your system: see “Patch it” below.
  3. Installing a RouterOS update always reboots the router. On RouterBOARD hardware, run /system routerboard upgrade afterwards and reboot a second time so the matching RouterBOOT firmware is loaded. Plan for two short outages and make sure you have out-of-band or local access in case the router does not come back.
  4. If you cannot patch today, apply the temporary mitigation below and patch as soon as possible.

Affected and fixed versions

Affected:

Fixed in:

Am I affected?

/system resource print   # version, architecture-name, board-name
/system package update print   # channel, installed-version, latest-version
/system routerboard print   # current-firmware vs upgrade-firmware (not on CHR/x86)
/ip service print   # which management services are enabled, and from where
/user ssh-keys print   # users with RSA keys are the ones at risk; 7.25+ marks keys with a weak RSA exponent

Patch it

Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.

Built from source
# RouterOS CLI (works on v6 and v7; v7 also accepts /system/package/update/...)
# Current releases as of 3 Nov 2026: 7.25 (stable), 7.24.6 (long-term), 6.49.23 (RouterOS 6)
/system backup save name=pre-update
/export file=pre-update
/system package update set channel=long-term   # or stable
/system package update check-for-updates
/system package update print   # status should say: New version is available
/system package update install   # downloads, installs and REBOOTS the router
# after it is back up:
/system resource print   # confirm the new version
/system routerboard upgrade   # RouterBOARD only: new RouterBOOT firmware
/system reboot   # REBOOTS again to load the firmware

General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.

If you cannot patch yet

Look for signs of exploitation

Related vulnerabilities

Sources

Page generated automatically from official sources on 2026-11-03 18:05 UTC and reviewed by an editor. Always confirm with your vendor's advisory.