{"id":"CVE-2026-3227","published":"2026-03-13T21:38:31Z","modified":"2026-07-01T17:31:49Z","title":"Authenticated Command Injection on TP-Link TL-WR802N, TL-WR841N and TL-WR840N","vendor":"TP-Link Systems Inc.","product":"TL-WR802N v4","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03033,"percentile":0.87831,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://www.tp-link.com/en/support/download/tl-wr802n/v4/#Firmware","tags":["patch"]},{"url":"https://www.tp-link.com/us/support/download/tl-wr802n/v4/#Firmware","tags":["patch"]},{"url":"https://www.tp-link.com/en/support/download/tl-wr841n/v14/#Firmware","tags":["patch"]},{"url":"https://www.tp-link.com/us/support/download/tl-wr841n/v14/#Firmware","tags":["patch"]},{"url":"https://www.tp-link.com/en/support/download/tl-wr840n/v6/#Firmware","tags":["patch"]},{"url":"https://www.tp-link.com/us/support/faq/5018/","tags":["vendor-advisory"]}],"priority":{"score":28.5,"factors":[{"name":"EPSS percentile","points":17.57},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.95}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-06-25","earliestUrl":"https://github.com/do4choo/CVE-2026-3227-TP-Link-authenticated-RCE","repos":[{"name":"do4choo/CVE-2026-3227-TP-Link-authenticated-RCE","url":"https://github.com/do4choo/CVE-2026-3227-TP-Link-authenticated-RCE","stars":46,"created":"2026-06-25"}]},"first":{"date":"2026-06-25","source":"PoC-in-GitHub","url":"https://github.com/do4choo/CVE-2026-3227-TP-Link-authenticated-RCE"},"provenance":"source"},"vendorSlug":"tp-link-systems","affectedVersions":[{"vendor":"TP-Link Systems Inc.","product":"TL-WR802N v4","versions":["< V4_260304"]},{"vendor":"TP-Link Systems Inc.","product":"TL-WR841N v14","versions":["< V14_260303"]},{"vendor":"TP Link Systems Inc.","product":"TL-WR840N v6","versions":["< V6_260304"]}],"capec":[{"id":"CAPEC-88","name":"OS Command Injection"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-01T03:55:43.165697Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-12171","exploited":false,"provenance":"source"}}