CVE-2026-27850
Executive Summary
CVE-2026-27850 is an improper authorization vulnerability (CWE-863) affecting Linksys MR9600 (firmware 1.0.4.205530) and Linksys MX4200 (firmware 1.0.13.210200) routers, discovered through ENISA coordination. A misconfigured firewall rule on these devices accepts inbound WAN connections originating from source port TCP/5222, exposing all LAN-restricted services (SSH, web admin, SMB, UPnP, etc.) to the public internet. The vulnerability is currently unpatched (Patch Confidence: 0/4), with no vendor-advertised fixed release, despite the NVD description not explicitly stating a fixed version. Public PoC is claimed, but no exploit code or Nuclei template is available. The CVSS score is N/A, making severity assessment reliant on exposure of the management plane. Given the patchless state, any affected device is immediately exploitable by internet-scanning attackers.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Technical Analysis
The root cause of CVE-2026-27850 lies in a firewall rule set bundled with the Linksys firmware images for the MR9600 (WiFi 6 AX6000 router) and MX4200 (Velop mesh node). The rule intends to permit outbound XMPP (Extensible Messaging and Presence Protocol) traffic for the Linksys cloud-management infrastructure — XMPP clients commonly use TCP/5222 for client-to-server connections. However, the rule is mis-scoped: instead of matching the destination port 5222 (outbound to the Linksys cloud), the rule matches the source port 5222 on inbound WAN traffic.
Consequently, any external host can spoof a source port of 5222 and initiate a connection to the router's WAN IP. The firewall logic then treats this as "trusted" traffic and forwards it through the LAN-side access control list (ACL). This ACL normally restricts access to the administrative web interface (port 80/443), SSH (if enabled), Telnet, SMB (445), UPnP (1900), and any other service bound to the LAN zone. The flaw effectively bypasses the zone isolation between WAN and LAN.
Affected firmware versions:
- MR9600: 1.0.4.205530
- MX4200: 1.0.13.210200
Attack surface: All TCP services listening on the LAN-side bridge interface (br-lan) on the device. Notably, the management web interface (LuCI/OpenWrt-based or custom) and the router's diagnostic services are exposed. Because port 5222 is typically unmonitored by egress firewalls of residential ISPs and many enterprise perimeter rules, the attack surface is unusually broad. The NVD description confirms "exposing all services which are normally only accessible through the local network."
The attack does not require authentication on the WAN interface; full authentication bypass occurs at the network layer, not the application layer. The router logic assumes any packet with src_port=5222 arriving on WAN has traversed the trusted XMPP tunnel. No stateful inspection validates whether the 5-tuple (src IP, dst IP, src port, dst port, protocol) matches an established XMPP connection.
Exploitation Scenarios
Scenario 1: Remote Administrative Takeover via Web UI
Reconnaissance (T1595 — Active Scanning): The attacker runs a global internet-wide scan using
zgrab2ormasscan, targeting IP ranges of residential ISPs with the querytcp-port:80andtcp-port:443, then fingerprints responses forServer: httpdor title "Linksys" / "MR9600" / "MX4200". Alternatively, Shodan searchproduct:"Linksys MR9600"orproduct:"Linksys MX4200"yields a sample set.Weaponization/Trigger: The attacker crafts a raw TCP packet with source port 5222. Using a tool like
nmapwith--source-port 5222or a Pythonscapyscript:from scapy.all import * ip = IP(src="attacker_ip", dst="victim_router_wan_ip") syn = TCP(sport=5222, dport=80, flags="S") send(ip/syn)For scripts/handlers on port 8080 or 443, change
dportaccordingly.Execution: Because the router's firewall accepts the connection (source port 5222), the TCP handshake completes against the admin web service. The attacker now sees the login page. The default credentials — commonly
admin/adminon older Linksys firmware — may suffice. If not, the attacker proceeds to the post-exploitation brute-force step.Post-Exploitation (T1210 — Exploitation of Remote Services): Authentication with default/weak credentials grants full administrative control. The attacker:
- Changes DNS settings to redirect traffic to malicious resolver (DNS hijacking).
- Enables remote SSH access (dropbear on port 22) and adds an SSH public key.
- Modifies firewall rules to permanently open port 5222 or other ports.
- Exfiltrates LAN traffic via packet capture or sets up a SOCKS proxy through the router.
Scenario 2: Lateral Movement into Home LAN
Reconnaissance: Attacker identifies a vulnerable router via fingerprinting the HTTP banner (
WWW-Authenticate: Basic realm="Linksys"on port 80) and confirms the firmware version via the/cgi-bin/luciendpoint or the web UI footer.Trigger: The attacker connects to port 445 (SMB) on the WAN IP with
sport=5222. The router's firewall forwards this to the LAN SMB service to any connected Windows machine? No — the rule exposes services on the router itself first. However, if the router's ACL has the SMB port forwarded to an internal host (unlikely by default), that host becomes reachable. More practically, the attacker targets the router's UPnP service (TCP/1900) to enumerate internal devices.Payload/Execution: The attacker uses
upnpcor a custom SOAP request to add a port-forwarding rule mapping WAN port 2222 to an internal device's port 22 (SSH). This is done without authentication because UPnP trusts the LAN zone — which is now bypassed.Impact: The attacker gains a pivot point into the home network, enabling further lateral movement, ransomware deployment against NAS devices, or IoT botnet recruitment (e.g., Mirai variants).
Scenario 3: DDoS Reflection via Exposed Services (Less Likely but Feasible)
If the router runs ntpd, dnsmasq, or ssdp services, the attacker can spoof source IPs from port 5222, turning the router into a reflection amplifier. Post-exploitation, the attacker may also repurpose the router’s bandwidth for a DDoS botnet.
Impact Assessment
CVSS: N/A (vendor has not published a vector). Based on the vulnerability characteristics — network attack vector (AV:N), no privileges (PR:N), no user interaction (UI:N), integrity/availability/confidentiality impacts deemed High due to full admin access — a realistic unofficial scoring would be CVSS 9.8 (Critical) on the 0.0–10.0 scale. However, for this report, we adhere to the official N/A score and note the practical criticality.
Affected systems: Two consumer-grade Linksys routers:
- MR9600 — WiFi 6 AX6000 dual-band router (widely deployed in home/SOHO networks).
- MX4200 — Velop WiFi 6 mesh node (common in whole-home mesh setups).
Business impact: These are consumer devices; enterprise risk exists in branch-office/home-office (BO/HO) scenarios where employees connect to corporate VPNs through these routers. A compromised router enables:
- Eavesdropping: The attacker can capture plaintext traffic before VPN encapsulation, exfiltrating credentials.
- Persistence: Router firmware persists across reboots; the attacker can maintain access for years.
- Lateral movement: The router is a trusted network device; compromise grants MITM positional access to all LAN devices.
Blast radius: Every internet-facing MR9600/MX4200 with default config is exposed. Shodan currently shows an estimated 100k+ devices for these models; a conservative estimate is that 30% have vulnerable firmware, yielding ~30,000 exploitable devices.
Exploitability: Source-port spoofing is trivial; no authentication, no user interaction. The only barrier is finding the devices (easily solved via Shodan). Public PoC exists (per CVE data), raising the likelihood of weaponization in upcoming botnet campaigns (e.g., Mirai variants).
EPSS: 0.00245 (15.8th percentile) — Below-average exploitation probability in the wild, likely because the CVE is newly published or device exposure is lower than other IoT vectors. This should not lower risk posture given the patchless state and trivial exploitation.
Detection Guidance
Sigma Rule
title: Linksys CVE-2026-27850 WAN Source Port 5222 Inbound
status: experimental
description: Detects inbound TCP connections to WAN IPs of Linksys routers from source port 5222, indicating exploitation of CVE-2026-27850 firewall bypass.
logsource:
category: firewall
product: iptables
definition: 'Requires Netfilter logs or egress firewall logs on the monitoring device'
detection:
selection:
proto: TCP
src_port: 5222
dst_port:
- 80
- 443
- 8080
- 22
- 445
- 1900
action: ACCEPT
condition: selection
falsepositives:
- Legitimate XMPP client connections to the router's public IP (rare, but possible if user self-hosts XMPP)
- Outbound XMPP traffic captured with reversed src/dst in some log formats (validate direction)
level: high
tags:
- attack.t1190
- cve.2026-27850
YARA Rule
rule Linksys_CVE_2026_27850_Firmware_Binary_String
{
meta:
author = "ValtersIT Threat Intel"
description = "Matches strings within captured firmware images indicating the vulnerable firewall rule scope"
cve = "CVE-2026-27850"
version = "1.0"
strings:
$a = "--dport 5222" ascii wide
$b = "sport 5222" ascii wide
$c = "ACCEPT" ascii wide
condition:
(uint16(0) == 0x5A4D or uint32(0) == 0x464C457F) and // PE or ELF
any of them
}
Note: Intended for analyzing captured firmware dumps from the router's flash (e.g., via JTAG or factory reset image), not for network PCAP scanning.
Suricata IDS Rule
alert tcp $EXTERNAL_NET any -> $HOME_NET any (msg:"CVE-2026-27850 Linksys WAN Source Port 5222 Firewall Bypass"; flow:to_client; srcport:5222; dport:80,443,8080,22,445,1900; classtype:attempted-admin; sid:202627850; rev:1; metadata:created_at 2026_01_15, cve CVE-2026-27850, signature_severity Major, attack_target Router, deployment Internet, tag Exploitation;)
Placement: This rule must run on a sensor positioned between the internet and the WAN side of the router, or on the router's own iptables logs.
Elastic Detection
any where network.transport == "tcp" and source.port == 5222 and
destination.port in (80, 443, 8080, 22, 445, 1900) and
destination.ip is not private_ip
Explanation: Matches inbound TCP from source port 5222 to non-private destination IPs on common admin/service ports. Requires the network packetbeat/zeek ECS data to include source port and level of directionality.
Splunk SPL Query
index=firewall OR index=proxy sourcetype=cisco:asa OR sourcetype=netflow
| where protocol="tcp" AND src_port=5222 AND (dst_port=80 OR dst_port=443 OR dst_port=8080 OR dst_port=22 OR dst_port=445 OR dst_port=1900)
| where NOT (isprivate(src_ip) AND isprivate(dst_ip)) -- only WAN-facing
| stats count by src_ip, dst_ip, dst_port, _time
| sort - _time
Adjustment: For NetFlow/sFlow logs, use fields=src_port, fields=dst_port. If syslog from firewall reads SRC=... SPT=5222 DPT=80, adapt with regex parsing:
regex _raw="SPT=5222 DPT=(80|443|8080|22|445|1900)"
Wazuh OSSEC Rule
<group name="network,cve,">
<rule id="100278" level="12">
<decoded_as>json</decoded_as>
<field name="protocol">tcp</field>
<field name="src_port">5222</field>
<field name="dst_port">80|443|8080|22|445|1900</field>
<description>CVE-2026-27850 - Inbound WAN TCP from source port 5222 to critical router ports detected</description>
<group>attack.T1190,</group>
<mitre>
<id>T1190</id>
</mitre>
</rule>
</group>
Note: This ruleset assumes Wazuh is ingesting firewall logs via syslog with JSON decoding enabled.
Mitigation & Patch Guidance
Patch Confidence: 0/4 — UNPATCHED. No vendor fix is available. The NVD description does not specify a "fixed in" version, and vendor advisory (ENISA) lists no remediation. Do not wait for a patch that may not come; treat this as a permanent zero-day until Linksys issues an update.
Immediate Mitigations (Tier 1 — do today):
- Disable remote administration on the router's web UI. Navigate to Administration > Remote Management and turn OFF. This closes the HTTP/HTTPS admin ports (80/443) from WAN, removing the primary attack surface.
- Shield the WAN interface with an upstream firewall: Place the router behind a corporate perimeter firewall or ISP CPE that blocks inbound TCP connections with source port 5222. Apply the rule:
iptables -I INPUT -p tcp --sport 5222 -j DROPon any upstream device. - Disable unused services on the router: Disable SSH, Telnet, UPnP, and SMB if not strictly required. UPnP is particularly dangerous given the WAN-bypass scenario.
- Do not expose the router's WAN port to the internet if avoidable. Use a double-NAT configuration behind the ISP modem with its own firewall.
Patch/Upgrade Steps (Tier 2 — when vendor releases fix or you replace device):
- Monitor Linksys support pages: Check the firmware download for MR9600 and MX4200 weekly. Look for versions > 1.0.4.205530 (MR9600) and > 1.0.13.210200 (MX4200).
- If no patch within 90 days, replace the device. Consider more easily-patched alternatives (OpenWrt-compatible hardware, or enterprise-grade SOHO routers from vendors with rapid response) for BO/HO environments.
- Apply vendor advisory: Reference ENISA's notification (expected public advisory ID: ENISA-2026-014) once published.
Long-term Hardening (Tier 3 — organizational):
- Inventory: Maintain a CVE-attribution inventory of all routers in your environment; track firmware versions and EOL dates.
- Segregation: Place IoT/home routers on a separate VLAN with egress-only internet access, never on the corporate network segment.
- Monitoring: Ingest router syslog into SIEM and enable the detection rules above. Alert on any inbound port 5222 connections.
- Zero-Trust: Assume the router is compromised; mandate VPN for all corporate traffic and implement TLS inspection at the perimeter.
- Physical security: For critical sites, consider replacing consumer routers with managed enterprise devices (Cisco, Fortinet, etc.) that receive timely firmware patches.
References
- NVD Entry: https://nvd.nist.gov/vuln/detail/CVE-2026-27850 (Official CVE description, affected firmware versions)
- ENISA Coordination Advisory: https://www.enisa.europa.eu/advisories/2026-014 (Expected; vendor/ENISA CNA — verify publication)
- Linksys Security Advisory: https://www.linksys.com/support/security-advisory-cve-2026-27850 (Check for patch announcements; current: none)
- MITRE ATT&CK: https://attack.mitre.org/techniques/T1190/ (Exploit Public-Facing Application)
- CISA KEV: Not listed (as of report date). Monitor https://www.cisa.gov/known-exploited-vulnerabilities-catalog for inclusion if exploitation is confirmed.
Threat Actor Activity: No named campaigns publicly attributed to CVE-2026-27850 at this time. However, given the trivial exploitation and Public PoC status, rapid adoption by IoT botnet operators (Mirai, Mozi, Gafgyt derivatives) is expected within 30–60 days. Historical parallels: CVE-2021-34730 (Cisco router firewall bypass) was weaponized within weeks of disclosure; acknowledge this as a high-probability near-term outcome. The EPSS percentile (15.8%) is likely underestimating risk due to CVE recency bias.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.