Skip to main content
EPSS 6.4%top 6.4%

CVE-2026-86060: CWE-88 Improper neutralization of argument delimiters in a command ('argument injection') in Mikrotik RouterOS

0
Critical
Published: 09/24/2026 (09/24/2026, 00:00:00 UTC)
Source: CVE Database V5
Vendor/Project: Mikrotik
Product: RouterOS

Description

CVE-2026-86060 is a critical vulnerability in Mikrotik RouterOS involving improper neutralization of argument delimiters during SSH login. Attackers can exploit this flaw by manipulating usernames starting with prohibited characters to alter the RouterOS policy mask, resulting in privilege escalation. Exploitation requires an unauthenticated SSH session to the RouterOS login helper. The vulnerability is fixed in RouterOS versions 6.49.21 (Long-term), 7.23.4 (Long-term), and 7.24.2 (Stable).

CVSS v4.0

Score 9.2critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

Mikrotik

RouterOS

Affected versions
>=7.24 <7.24.2>=7.0.0 <7.23.4>=6.0.0 <6.49.21

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/14/2026, 23:30:48 UTC

Technical Analysis

This vulnerability (CVE-2026-86060) in Mikrotik RouterOS is due to improper neutralization of argument delimiters (CWE-88) during the SSH login process. Specifically, usernames beginning with prohibited characters can be crafted to manipulate the RouterOS policy mask, enabling attackers to escalate privileges. The attack vector requires an unauthenticated SSH session to the RouterOS login helper. Mikrotik has addressed this issue in RouterOS versions 6.49.21, 7.23.4, and 7.24.2.

Potential Impact

Successful exploitation allows an unauthenticated attacker to escalate privileges on the affected RouterOS device by manipulating the policy mask via crafted usernames during SSH login. This can lead to unauthorized administrative control of the device. The CVSS 4.0 score is 9.2, indicating critical severity with high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

The vulnerability is fixed in Mikrotik RouterOS versions 6.49.21 (Long-term), 7.23.4 (Long-term), and 7.24.2 (Stable). Users should upgrade to these versions or later to remediate the issue. No additional mitigation steps are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CERT-PL
Date Reserved
2026-09-04T19:32:24.461Z
Cvss Version
4.0
State
PUBLISHED

Indicators of Compromise

Exploit Source Code

Exploit Code

Exploit code for MikroTrick, 7.24, 7.24.2, 7.0.0, 7.23.4, 6.0.0, 6.49.21 - RCE

#!/usr/bin/env python3
#
# Exploit Title: MikroTik RouterOS <= 7.23.3 - Unauthenticated SSH Session Policy-Mask Swap (Full Admin)
# Date: 2026-09-17
# Exploit Author: DigiProSec
# Vendor Homepage: https://mikrotik.com
# Software Link: https://mikrotik.com/download
# Version: RouterOS < 6.49.21, 7.0 < 7.23.4, 7.24.0 < 7.24.2 (fixed in 6.49.21 / 7.23.4 / 7.24.2)
# Tested on: MikroTik CHR 7.23.3 (x86_64), Kali Linux 2025.x, python3-paramiko
# CVE: CVE-2026-86060
#
# CVE-2026-86060 — Unauthenticated
... (8159 more characters)
Code Length: 8,659 characters

Threat ID: 6a9c76bdacd9273b49572671

Added to database: 09/05/2026, 20:08:29 UTC

Last enriched: 10/14/2026, 23:30:48 UTC

Last updated: 10/20/2026, 22:57:41 UTC

Views: 157

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses