CVE-2026-14227: MikroTik RouterOS insufficient session expiration in API

CVE-2026-14227 · Severity: medium · CVSS 4.9 · Published 2026-07-30

MikroTik RouterOS, the operating system used in MikroTik routers and wireless systems, contains a flaw in how it manages API sessions. When an administrator reduces a user's permissions or when a session should time out due to inactivity, the system may fail to properly expire the old session, allowing the user to maintain their previous higher level of access. This could allow a user with downgraded permissions to continue accessing sensitive information, including private VPN keys, potentially leading to unauthorized network access and data decryption.

Technologies: MikroTik RouterOS. Vendors: MikroTik.

Quick answers

Is CVE-2026-14227 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-14227 being exploited in the wild.
How severe is CVE-2026-14227?
Medium severity, with a CVSS score of 4.9, published 30 July 2026.
Which products and versions are affected?
MikroTik RouterOS All versions.
Is there a fix for CVE-2026-14227?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-14227 attacked?
It is attacked over the network, in an operating system.
Am I affected by CVE-2026-14227?
Check whether you run MikroTik RouterOS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A vulnerability classified as Insufficient Session Expiration (CWE-613) exists in the MikroTik RouterOS API. The root cause is a failure in the session management logic to re-validate or terminate active API sessions when user permissions are modified or inactivity thresholds are met. An authenticated attacker with high-level privileges that have been subsequently revoked or downgraded can maintain their original access level. Exploitation can lead to the extraction of WireGuard private keys in plaintext, enabling VPN impersonation. As of the advisory date, MikroTik recommends manually logging out affected users after permission changes as a mitigation, as all versions are currently listed as affected.

Affected products

  • MikroTik RouterOS All versions

Timeline

  • 2026-07-30: disclosed: Initial publication of ICSA-26-211-01
  • 2026-07-30: advisory: NVD published CVE-2026-14227

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.