# CVE-2026-86060: MikroTik RouterOS Improper Neutralization of Argument Delimiters in a Command

> Attackers can escalate privileges by manipulating SSH usernames to alter policy masks, requiring an upgrade to secure RouterOS devices.

- **Severity:** Critical 9.2 (`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`)
- **Exploited in the wild:** Yes, since 10 Sep 2026 (CISA KEV)
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 5 Sep 2026
- **Updated:** 11 Sep 2026
- **Also known as:** GHSA-6425-cjxv-52gp

## What is CVE-2026-86060?

CVE-2026-86060 is a critical vulnerability in Mikrotik Routeros, published on 5 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

RouterOS contains an argument-handling flaw in the SSH login
path involving usernames that begin with a prohibited character, allowing for the trusted RouterOS policy mask to be changed, leading to privilege escalation. Exploitation requires an unauthenticated SSH session to reach the RouterOS login helper.This issue was fixed in versions: 6.49.21 (Long-term), 7.23.4 (Long-term) and 7.24.2 (Stable)

Weakness: CWE-88 (Improper Neutralization of Argument Delimiters in a Command)

## Which versions are affected by CVE-2026-86060?

It affects 1 product.


Products: Mikrotik Routeros.

## How do I fix CVE-2026-86060?

No fix has been published for CVE-2026-86060 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 13 Sep 2026.

## Is CVE-2026-86060 being exploited?

Yes. Attackers have exploited CVE-2026-86060 in the wild since at least 10 Sep 2026.

Public exploit code:

- cve-2026-86060 PoC (github_poc): https://github.com/digiprosec/MicroTrick
- MikroTik RouterOS PoC Collection - CVE-2026-86060 - CVE-2026-67279 - CVE-2026-67276 RouterOS SSH (github_poc): https://github.com/gagaltotal/CVE-2026-mikrotik-poc
- Mikrotik CVE-2026-86060 Score 9.2 Critical (github_poc): https://github.com/bahirul/cve-2026-86060
- MikroTrick_ 7.24_ 7.24.2_ 7.0.0_ 7.23.4_ 6.0.0_ 6.49.21 - RCE (exploitdb)

## Other vulnerabilities in Mikrotik Routeros

- [CVE-2018-7445](https://insights.sbomify.com/CVE-2018-7445/): MikroTik RouterOS Stack-Based Buffer Overflow (critical 9.8, exploited in the wild)
- [CVE-2018-14847](https://insights.sbomify.com/CVE-2018-14847/): MikroTik Router OS Directory Traversal (critical 9.1, exploited in the wild)
- [CVE-2026-67277](https://insights.sbomify.com/CVE-2026-67277/): MikroTik RouterOS Missing Authentication for Critical Function (high 8.8, exploited in the wild)
- [CVE-2026-67279](https://insights.sbomify.com/CVE-2026-67279/): Mikrotik RouterOS Improper Enforcement of Behavioral Workflow (medium 6.9, exploited in the wild)
- [CVE-2017-20149](https://insights.sbomify.com/CVE-2017-20149/): Memory corruption in n/a (critical 9.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-86060 and fix it if it is affected.

What it is: CVE-2026-86060 is a critical vulnerability in Mikrotik Routeros, published on 5 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: Yes. Attackers have exploited CVE-2026-86060 in the wild since at least 10 Sep 2026.

Affected product: Mikrotik Routeros. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-86060/ (Markdown: https://insights.sbomify.com/CVE-2026-86060/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-86060
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-86060
- OSV: https://osv.dev/vulnerability/CVE-2026-86060

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-86060/
Summaries are generated and may contain mistakes; the official description above is the record.
