← Vulnerability feed

Vulnerability record · CVE-2022-25061 · published 25 February 2022

CVE-2022-25061: TP-Link TL-WR840N router command injection in oal_setIp6DefaultRoute

Tp Link · Tl Wr840n Firmware

The TP-Link TL-WR840N(ES) V6.20 firmware (build 180709) contains an OS command injection flaw in the oal_setIp6DefaultRoute component. Because the flaw is remotely reachable without authentication, it exposes the router to full compromise by anyone who can reach the interface.

9.8 CVSS 3.1 Critical EPSS 59% · top 0.9% CWE-78 · OS command injection
9.8CVSS 3.1 base score, v2 7.5
59%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
9 Jul 2026Last modified by NVD

Description

TP-LINK TL-WR840N(ES)_V6.20_180709 was discovered to contain a command injection vulnerability via the component oal_setIp6DefaultRoute.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

critical priorityCVSS 9.8 with network reachability, no authentication and no user interaction, combined with a public exploit reference and very high EPSS, makes this an urgent patch target.

What it is

The TP-Link TL-WR840N(ES) V6.20 firmware (build 180709) contains an OS command injection flaw in the oal_setIp6DefaultRoute component. Because the flaw is remotely reachable without authentication, it exposes the router to full compromise by anyone who can reach the interface.

Impact

An attacker can execute arbitrary OS commands on the device, gaining full control over confidentiality, integrity and availability of the router.

Attack surface

Reached over the network via the oal_setIp6DefaultRoute component; the CVSS vector indicates no privileges and no user interaction are required, so the request can be sent directly to the exposed interface.

Exploitation

A public exploit reference is tagged for this issue, and EPSS is high (0.587, ~99th percentile), though it is not listed in CISA KEV and no ransomware use is documented.

What to do

  • Apply the vendor firmware update for TL-WR840N(ES) V6.20 or later as soon as it is available.
  • If no patch exists, restrict management and IPv6-related interfaces to trusted networks and disable remote administration.
  • Segment or isolate the router from untrusted networks and place it behind a firewall that blocks inbound access to its web/management ports.
  • Monitor TP-Link advisories for a fixed firmware build and replace the device if support has ended.

Detection

  • Inspect router and upstream logs for unexpected or malformed requests to the oal_setIp6DefaultRoute handler or IPv6 default route configuration endpoints.
  • Alert on outbound connections or DNS lookups originating from the router to unknown hosts, which may indicate injected command callbacks.
  • Check for unexpected processes, files or configuration changes on the device via its management interface or serial console.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-25061 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

6.5CVE-2023-50224TP-Link router httpd authentication bypass exposes stored credentialsThe httpd service on affected TP-Link router firmware contains an improper authentication flaw (CWE-290) that lets a network-adjacent attacker bypass…KEVEPSS 16%analysed9.8CVE-2022-25060Tp-link tl-wr840n firmware os command injection vulnerabilityTP-LINK TL-WR840N(ES)_V6.20_180709 was discovered to contain a command injection vulnerability via the component oal_startPing.EPSS 40%9.8CVE-2022-25064Tp-link tl-wr840n firmware os command injection vulnerabilityTP-LINK TL-WR840N(ES)_V6.20_180709 was discovered to contain a remote code execution (RCE) vulnerability via the function oal_wan6_setIpAddr.EPSS 36%9.8CVE-2021-41653TP-Link TL-WR840N router PING function command injection RCEThe PING diagnostic function on the TP-Link TL-WR840N EU v5 router (firmware through TL-WR840N(EU)_V5_171211) fails to sanitize the IP address input …EPSS 76%analysed9.8CVE-2020-36178Tp-link tl-wr840n firmware os command injection vulnerabilityoal_ipt_addBridgeIsolationRules on TP-Link TL-WR840N 6_EU_0.9.1_4.16 devices allows OS command injection because a raw string entered from the web in…EPSS 9.7%9.8CVE-2018-11714TP-Link router CGI session handling bypass allows unauthenticated actionsTP-Link TL-WR840N v5 and TL-WR841N v13 routers mishandle sessions on the /cgi/ path. Sending a Referer header of http://192.168.0.1/mainFrame.htm cau…EPSS 68%analysed8.8CVE-2023-39471Tp-link tl-wr841n firmware os command injection vulnerabilityTP-Link TL-WR841N ated_tp Command Injection Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbi…EPSS 0.91%8.8CVE-2019-15060Tp-link tl-wr840n firmware os command injection vulnerabilityThe traceroute function on the TP-Link TL-WR840N v4 router with firmware through 0.9.1 3.16 is vulnerable to remote code execution via a crafted payl…EPSS 4.0%

Source: NIST National Vulnerability Database (record CVE-2022-25061), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.