{"id":"CVE-2026-3227","aliases":["EUVD-2026-12171","GHSA-7vvh-gmhq-282v"],"status":"published","title":"Authenticated Command Injection on TP-Link TL-WR802N, TL-WR841N and TL-WR840N","description":"A command injection vulnerability was identified in TP-Link TL-WR802N v4, TL-WR841N v14, and TL-WR840N v6 due to improper neutralization of special elements used in an OS command.  In the router configuration import function allows an authenticated attacker to upload a crafted configuration file that results in execution of OS commands with root privileges during port-trigger processing.  \nSuccessful exploitation allows an authenticated attacker to execute system commands with root privileges, leading to full device compromise.","severity":{"version":"4.0","score":8.5,"vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.03033,"percentile":0.87591,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-78"],"published":"2026-03-13T21:38:31Z","modified":"2026-07-01T18:16:32Z","exploits":[{"source":"pocgithub","id":"do4choo/CVE-2026-3227-TP-Link-authenticated-RCE","title":"do4choo/CVE-2026-3227-TP-Link-authenticated-RCE","date":"2026-06-25","url":"https://github.com/do4choo/CVE-2026-3227-TP-Link-authenticated-RCE"}],"products":[{"vendor":"tp link systems inc.","product":"tl-wr840n v6"},{"vendor":"tp-link","product":"tl-wr802n_firmware"},{"vendor":"tp-link","product":"tl-wr840n_firmware"},{"vendor":"tp-link","product":"tl-wr841n_firmware"},{"vendor":"tp-link systems inc.","product":"tl-wr802n v4"},{"vendor":"tp-link systems inc.","product":"tl-wr841n v14"}],"references":[{"url":"https://www.tp-link.com/en/support/download/tl-wr802n/v4/#Firmware","tags":["patch","Product"]},{"url":"https://www.tp-link.com/us/support/download/tl-wr802n/v4/#Firmware","tags":["patch","Product"]},{"url":"https://www.tp-link.com/en/support/download/tl-wr841n/v14/#Firmware","tags":["patch","Product"]},{"url":"https://www.tp-link.com/us/support/download/tl-wr841n/v14/#Firmware","tags":["patch","Product"]},{"url":"https://www.tp-link.com/en/support/download/tl-wr840n/v6/#Firmware","tags":["patch","Product"]},{"url":"https://www.tp-link.com/us/support/faq/5018/","tags":["vendor-advisory","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3227"},{"url":"https://www.tp-link.com/us/support/faq/5018"},{"url":"https://github.com/advisories/GHSA-7vvh-gmhq-282v"}],"sources":{"cve":[{"id":"CVE-2026-3227","title":"Authenticated Command Injection on TP-Link TL-WR802N, TL-WR841N and TL-WR840N","description":"A command injection vulnerability was identified in TP-Link TL-WR802N v4, TL-WR841N v14, and TL-WR840N v6 due to improper neutralization of special elements used in an OS command.  In the router configuration import function allows an authenticated attacker to upload a crafted configuration file that results in execution of OS commands with root privileges during port-trigger processing.  \nSuccessful exploitation allows an authenticated attacker to execute system commands with root privileges, leading to full device compromise.","status":"published","published":"2026-03-13T21:38:31.666Z","modified":"2026-07-01T17:31:49.401Z","cvss":[{"version":"4.0","score":8.5,"vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T13:49:09.229322Z"}],"euvd":[{"id":"EUVD-2026-12171","description":"A command injection vulnerability was identified in TP-Link TL-WR802N v4, TL-WR841N v14, and TL-WR840N v6 due to improper neutralization of special elements used in an OS command.  In the router configuration import function allows an authenticated attacker to upload a crafted configuration file that results in execution of OS commands with root privileges during port-trigger processing.  \nSuccessful exploitation allows an authenticated attacker to execute system commands with root privileges, leading to full device compromise.","status":"published","published":"2026-03-13T21:38:31Z","modified":"2026-07-01T17:31:49Z","cvss":[{"version":"4.0","score":8.5,"vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-11-02T18:20:19.066641Z"}],"ghsa":[{"id":"GHSA-7vvh-gmhq-282v","title":"A command injection vulnerability was identified in TP-Link TL-WR802N v4, TL-WR841N v14, and TL...","description":"A command injection vulnerability was identified in TP-Link TL-WR802N v4, TL-WR841N v14, and TL-WR840N v6 due to improper neutralization of special elements used in an OS command.  In the router configuration import function allows an authenticated attacker to upload a crafted configuration file that results in execution of OS commands with root privileges during port-trigger processing.  \nSuccessful exploitation allows an authenticated attacker to execute system commands with root privileges, leading to full device compromise.","status":"published","published":"2026-03-16T15:30:44Z","modified":"2026-04-07T03:30:24Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"},{"version":"4.0","score":8.5,"vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:07:11.075264Z"}],"nvd":[{"id":"CVE-2026-3227","description":"A command injection vulnerability was identified in TP-Link TL-WR802N v4, TL-WR841N v14, and TL-WR840N v6 due to improper neutralization of special elements used in an OS command.  In the router configuration import function allows an authenticated attacker to upload a crafted configuration file that results in execution of OS commands with root privileges during port-trigger processing.  \nSuccessful exploitation allows an authenticated attacker to execute system commands with root privileges, leading to full device compromise.","status":"published","published":"2026-03-16T14:19:47.257Z","modified":"2026-07-01T18:16:32.707Z","cvss":[{"version":"4.0","score":8.5,"vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:12:09.358914Z"}]}}
