Skip to navigation

Threat reportVulnerabilityTL-2026-7193

CVE-2026-67280: MikroTik RouterOS outbound SSH client accepts unrelated valid server host keys (CWE-322)

mediumACTIVE

CERT Polska reports that the outbound SSH client in MikroTik RouterOS (/system ssh and /system ssh-exec) accepts cryptographically valid server host keys without verifying that they belong to the requested endpoint. An attacker who can intercept or redirect the connection can impersonate the server and capture the submitted credentials.

By

Key facts

IdentifiersTL-2026-7193, CVE-2026-67280
SeverityMEDIUM
CVSS6 (CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N)
First disclosed
Affected productsMikroTik RouterOS
Weaknesses (CWE)CWE-322
MITRE ATT&CK techniquesT1021.004 Remote Services: SSH, T1078 Valid Accounts, T1557 Adversary-in-the-Middle, T1565.002 Data Manipulation: Transmitted Data Manipulation
MotivationUNKNOWN
Target sectorstelecoms, technology, government administration, enterprise
Target regionsGlobal
Detection rules9 (1 shown free)
Sources6 cited sources

Detection coverage

As of 2026-12-01, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7193 across Splunk SPL, Microsoft KQL and Sigma, covering 7 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: CVE-2026-67280 RouterOS Outbound SSH to First-Seen Destination (/system ssh, /system ssh-exec) — Exploitation Phase

Detects a MikroTik RouterOS device (6.0.0 to before 7.25) originating an SSH (TCP/22) connection from its own output chain to a destination it has not contacted in the prior 30 days. CVE-2026-67280 (CWE-322): the /system ssh and /system ssh-exec client accepts any cryptographically valid host key, so a redirected or intercepted session lets an adjacent attacker impersonate the server and capture the credentials the router submits. A router suddenly reaching a new SSH endpoint is the best network-side signal of redirection. Requires RouterOS firewall logging on chain=output (for example: /ip firewall filter add chain=output protocol=tcp dst-port=22 action=log) forwarded to syslog. SPL is the primary flavor.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1557, T1021.004, T1565.002
  • Data sources: mikrotik_routeros_syslog, routeros_firewall_output_chain_log
  • Severity: medium
  • Confidence: medium

Splunk SPL

index=network sourcetype="mikrotik:routeros" "output:" "proto TCP" earliest=-30d@d latest=now ```Router-originated TCP/22 to a destination not seen in the prior 30 days - CVE-2026-67280 AiTM redirect lead```
| rex field=_raw "proto TCP [(][A-Z,]+[)],[ ]*(?<src_ip>[0-9]{1,3}(?:[.][0-9]{1,3}){3}):(?<src_port>[0-9]+)->(?<dest_ip>[0-9]{1,3}(?:[.][0-9]{1,3}){3}):(?<dest_port>[0-9]+)"
| where dest_port="22"
| stats min(_time) as first_seen max(_time) as last_seen count as syn_count by host src_ip dest_ip
| where first_seen >= relative_time(now(), "-24h@h")
| convert ctime(first_seen) ctime(last_seen)
| table host src_ip dest_ip syn_count first_seen last_seen

Microsoft KQL

Syslog
| where TimeGenerated > ago(30d)
| where SyslogMessage has "output:" and SyslogMessage has "proto TCP"
| extend SrcIP = extract(@"proto TCP [(][A-Z,]+[)],[ ]*([0-9.]+):[0-9]+->", 1, SyslogMessage),
         DestIP = extract(@"->([0-9.]+):[0-9]+", 1, SyslogMessage),
         DestPort = toint(extract(@"->[0-9.]+:([0-9]+)", 1, SyslogMessage))
| where DestPort == 22 and isnotempty(DestIP)
| summarize FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), SynCount = count() by Computer, SrcIP, DestIP
| where FirstSeen > ago(24h)
| project Computer, SrcIP, DestIP, SynCount, FirstSeen, LastSeen

Sigma

title: RouterOS Outbound SSH From Router Output Chain (CVE-2026-67280)
id: 7f3c2a64-5b1e-4d8a-9c07-3e2b6a1d4f81
status: experimental
description: Detects MikroTik RouterOS originating TCP/22 traffic from its own output chain, the path used by /system ssh and /system ssh-exec. Vulnerable versions (6.0.0 to before 7.25) do not verify the server host key (CVE-2026-67280), so a redirected session can capture submitted credentials. Stateless building block; apply a first-seen or allowlist baseline in the SIEM.
references:
  - https://cert.pl/en/posts/2026/12/CVE-2026-67280/
  - https://nvd.nist.gov/vuln/detail/CVE-2026-67280
author: Threadlinqs Team
date: 2026-12-01
tags:
  - attack.credential-access
  - attack.t1557
  - attack.lateral-movement
  - attack.t1021.004
  - attack.impact
  - attack.t1565.002
  - cve.2026-67280
logsource:
  category: firewall
  product: mikrotik
  service: routeros
detection:
  selection:
    chain: output
    protocol: tcp
    dst_port: 22
  condition: selection
falsepositives:
  - Administrators legitimately using /system ssh or /system ssh-exec to managed hosts
  - Scheduled RouterOS scripts that run remote commands over SSH
level: medium

Known false positives:

  • Administrators legitimately using /system ssh or /system ssh-exec against a newly added managed host
  • Newly deployed automation or a renumbered management server appearing as a first-seen destination

Tuning notes: Adjust index/sourcetype to your RouterOS syslog ingestion (mikrotik:routeros is an assumed name). Verify the field extraction against a sample log line, as RouterOS log formats vary by logging action and prefix. Shorten or lengthen the 30-day baseline to fit how often management targets change, and suppress known management hosts with an allowlist lookup. Prioritise destinations outside your management ranges.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • CVE-2026-67280 SSH Server Host Key Changed for a Known Destination (Zeek/Corelight) — Exploitation Phase · unlock with TL Creds
  • CVE-2026-67280 Captured Password Replayed Across Multiple Linux Hosts From One Source (Sentinel) — Post-Exploitation · unlock with TL Creds
  • CVE-2026-67280 RouterOS Outbound SSH to a Public (Non-RFC1918) Destination (Sentinel Syslog) — C2 / Credential Exposure Lead · unlock with TL Creds
  • CVE-2026-67280 SSH Server Banner Change or Impostor SSH Library (Sigma/Zeek) — Exploitation Phase · unlock with TL Creds
  • CVE-2026-67280 RouterOS Script or Scheduler Change (ssh-exec Automation Inventory) — Post-Exploitation / Persistence Lead · unlock with TL Creds
  • CVE-2026-67280 RouterOS 7.25 SSH Host Key Regeneration Log (Patch Rollout Context / Alert Suppression) — Context · unlock with TL Creds
  • CVE-2026-67280 Router-Harvested Credential Reuse: Established SSH Account Logging In From a New Source — Post-Exploitation · unlock with TL Creds
  • CVE-2026-67280 RouterOS Outbound SSH Fan-Out to Multiple Destinations — Lateral Movement / Credential Harvest Lead · unlock with TL Creds

Indicators of compromise

As of 2026-12-01, Threadlinqs Intelligence tracks 7 indicators of compromise for TL-2026-7193.

7 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Affects RouterOS 6.0.0 up to but not including 7.25; fixed in 7.25.

CVE-2026-67280 is a key-exchange entity-authentication weakness (CWE-322) in the outbound SSH client of MikroTik RouterOS, used by the /system ssh and /system ssh-exec commands. During key exchange the client accepts any cryptographically valid server host key without checking that it belongs to the endpoint the operator asked to connect to. It does not persist trust on first use, does not compare against known-host entries, and does not require a pinned fingerprint.

An attacker who can receive or redirect an outbound RouterOS SSH connection (for example from a network-adjacent position) can present their own host key, impersonate the intended server, capture the username and password the router submits, and return attacker-chosen command output together with a false success status. This means automation that uses /system ssh-exec to run commands on remote hosts can be both credential-harvested and fed falsified results.

CERT Polska scored the issue CVSS v4.0 6.0 (Medium) with vector AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N, reflecting the adjacent-network position required. The flaw was discovered by Slawomir Rozbicki of CERT Polska during their own research and published on 2026-12-01. MikroTik fixed it in RouterOS 7.25 (stable, changelog dated 2026-10-22), whose changelog lists CVE-2026-67280 under 'system - improve stability' and separately adds host key verification for the SSH client. The sources do not report active exploitation, a public PoC, attribution, or any IOCs. This issue is distinct from the six RouterOS CVEs CERT Polska published on 2026-09-05 (CVE-2026-67276 through -67279, -67281, -86060), which mainly concern inbound SSH, btest, and WebFig.

MITRE ATT&CK techniques by tactic:

Lateral Movement

T1021.004 Remote Services: SSH

Initial Access

T1078 Valid Accounts

Credential Access

T1557 Adversary-in-the-Middle

Collection

T1557 Adversary-in-the-Middle

Impact

T1565.002 Data Manipulation: Transmitted Data Manipulation

Remediation

Patches

  • RouterOS 7.25 (stable, released 2026-10-22) adds host key verification for the SSH client

Immediate actions

  • Upgrade MikroTik RouterOS to 7.25 or later
  • Avoid using /system ssh and /system ssh-exec to untrusted or unverified paths until patched
  • Rotate any credentials that were supplied through RouterOS outbound SSH sessions over untrusted networks

Workarounds

  • CERT Polska lists no workaround beyond upgrading to 7.25 or later

Longer-term hardening

  • Use key-based authentication for automation instead of passwords
  • Inventory RouterOS devices and scripts that use /system ssh or /system ssh-exec
  • Restrict and monitor network paths between routers and the SSH servers they manage

Affected and fixed versions

  • MikroTik — RouterOS
    Vulnerable versions: 6.0.0 up to but not including 7.25
    Fixed in: 7.25

Timeline

  • CERT Polska publishes six separate MikroTik RouterOS CVEs (CVE-2026-67276 to -67279, -67281, -86060); context only, not this vulnerability
  • MikroTik RouterOS 7.25 stable changelog dated; lists CVE-2026-67280 under 'system - improve stability' and adds SSH client host key verification
  • MikroTik announces RouterOS 7.25 stable on its forum
  • CISA Coordinator SSVC v2.0.3 in NVD records Exploitation=none, Automatable=no, Technical Impact=partial; NVD status Received
  • CVE-2026-67280 published in NVD with CVSS v4.0 6.0 (Medium) from CERT Polska, CWE-322
  • CERT Polska publishes advisory for CVE-2026-67280, credited to Slawomir Rozbicki (own research)

Sources cited

AI-drafted from 6 cited sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats