EUVD-2026-50017, CVE-2026-16347, GHSA-8v62-p5rj-72x6 - which RouterOS Version does fix that?

Hi!

Our Security Team send me following and can't find the info which versions should fix it.


Published: Jul 28, 2026, 9:31:33 PM
Updated: Jul 28, 2026, 9:31:33 PM
CVSS Base Score: 8.7 (v4.0) - CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

MikroTik RouterOS contains a weakness in its API authentication handling that lacks effective safeguards against excessive login attempts. The system does not enforce meaningful rate-limiting, account lockout, or source-based restrictions, allowing repeated authentication failures to proceed without defensive response. In some versions, a fixed per-connection delay is present, but it can be bypassed through concurrent sessions, resulting in continued high-volume attempts. This deficiency increases the risk that an attacker could eventually obtain valid credentials and gain unauthorized access to administrative services.

https://www.cisa.gov/news-events/ics-advisories/icsa-26-209-05

https://nvd.nist.gov/vuln/detail/CVE-2026-16347

You should ask MikroTik Support about this. There is currently no fixed version.

lol, this is known like for centuries. Nobody cared, noone from Mikrotik took measures. And now someone filed a CVE for this grandpa issue? Good job....

In the manual you can find a poor man's implementation of fail2ban. Bruteforce prevention | RouterOS Manual

Just guessing from the changelog, the current long term 7.21.5 should have mitigation for that, as well as anything >= 7.22.

RouterOS 7.20 introduced this:

But it appears to be buggy, so there are additional fixes in 7.22:

As well as in 7.21.4 long-term:

How can a "tiny delay" prevent a brute force attack?

As said:

And I would not classify "tiny delay" as meaningful.

I would expect something like a exponential backoff algorithm, instead of fixed "tiny delay".

You can implement connection rate limiting in the firewall.

The problem with "researchers" is: you can always think up another "vulnerability" and publish a CVE. Then some people panic and the developers have to start coding again.

And worse: after implementing some measures, the normal every-day use of the device, even in setups where a problem isn't important at all, is impacted.

And all that only for those "researchers" (often at some university) to get research budget...

If you don't use easily guessable passwords (dictionary attack) then with only 8 alpha-num character long passwords, on average 100 trillion attempts are needed. If MikroTik adds only a 10ms delay, and force serialization of the authentication attempts, then no more than 100 attempts can be made per second. That means the brute-forcing would need 35000 years on average :thinking:. That should be enough.

The delay is probably higher than 10ms though.

Fake...


The real problem is:
How did anyone manage to log in via API or whatever?
It's like asking door manufacturers to make like an unbreakable lock,
and then the door is on a public road, without even a guard.
Your team is ridiculous.
First of all, we need to prevent anyone from even trying, and then we can talk about the rest...

The first defense against any (alleged) bug is always the firewall.

The CVE states that the delay is per session and does not work if you make more sessions.

If something is written in the CVE that's false, everything else is automatically false.
Since it's more than obvious that it's possible to determine with absolute precision the IP(s) who accesses the API and everything else,
the entire CVE is a load of bullshit.

Like all things, if it is configured incorrectly, it is not the manufacturer's problem, but the user's.

Mikrotik shouldn't fix all your wrong decisions in life. No sane person keeps router adminpages and API ports in public.

As powerful as a RouterBOARD is in terms of speed,
it is not its strong point to do parallel or internal calculations,
a high volume of attempts saturates the CPU very easily...
More than a certain number at a time cannot be handled...

The calculation is "wrong"...
Presented this way, it's enough to say "I use multiple machines" or "multiple sessions in parallel"...

But just say "change password every 28 days" and... all change...

You'll never be sure that you haven't already tried the new password,
or that it'll be a password you'll try in the future...

And if you steal a device, even if you find the password sooner or later,
you'll never know the password for the other devices,
even if it was the same at the time of the theft,
because it changes over time...

In fact, passwords should usually change instantly in the event of a theft or a dismissal...

But isn’t that for a brute-force SSH attack from the inside (LAN)? … From the outside (WAN), can’t I just block SSH with a ‘drop’?

The problem always comes down to: "Who left the door open?"

That is just an example from the manual. It can be used for any firewall port.

If Mikrotik applies a delay that is shared between sessions, I'll submit a CVE for a DoS vulnerability, where a malicious actor can prevent authorized access and effective use of the API interface by simply performing a sufficint number of incorrect authentication attempts against the endpoint. :slight_smile:

BRAVO! Questo sì che è ragionare con la testa...

You perfectly understood how CVE industry works. :sweat_smile:

Yes I already wrote that above: EUVD-2026-50017, CVE-2026-16347, GHSA-8v62-p5rj-72x6 - which RouterOS Version does fix that? - #6 by pe1chl

There is another new CVE for something simular

CVE-2026-14227
Published: 2026-07-30T17:39:59.616Z
Updated: 2026-07-30T19:15:52.381Z
CVSS Base Score: 6.9 (v4.0) - CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

An API session‑management flaw in products with the MikroTik RouterOS API enabled are vulnerable to a Insufficient Session Expiration vulnerability. This could allow active sessions to retain their previous permission set after inactivity timeouts or user‑group changes. As a result, an authenticated user whose permissions have been reduced may continue accessing information.

https://www.cisa.gov/news-events/ics-advisories/icsa-26-211-01