{"id":"CVE-2026-3227","state":"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.","publishedAt":"2026-03-13T21:38:31.666Z","updatedAt":"2026-07-01T17:31:49.401Z","severity":{"score":8.5,"label":"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","source":"TPLink"},"assigner":"TPLink","products":["TP-Link Systems Inc. TL-WR802N v4","TP-Link Systems Inc. TL-WR841N v14","TP Link Systems Inc. TL-WR840N v6"],"affected":[{"vendor":"TP-Link Systems Inc.","product":"TL-WR802N v4","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"V4_260304","versionType":"custom"}],"platforms":["Linux"]},{"vendor":"TP-Link Systems Inc.","product":"TL-WR841N v14","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"V14_260303","versionType":"custom"}],"platforms":["Linux"]},{"vendor":"TP Link Systems Inc.","product":"TL-WR840N v6","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"V6_260304","versionType":"custom"}],"platforms":["Linux"]}],"references":["https://www.tp-link.com/en/support/download/tl-wr802n/v4/#Firmware","https://www.tp-link.com/us/support/download/tl-wr802n/v4/#Firmware","https://www.tp-link.com/en/support/download/tl-wr841n/v14/#Firmware","https://www.tp-link.com/us/support/download/tl-wr841n/v14/#Firmware","https://www.tp-link.com/en/support/download/tl-wr840n/v6/#Firmware","https://www.tp-link.com/us/support/faq/5018/"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:11:50.837Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/3xxx/CVE-2026-3227.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-3227","state":"PUBLISHED","datePublished":"2026-03-13T21:38:31.666Z","dateUpdated":"2026-07-01T17:31:49.401Z","assignerShortName":"TPLink","assignerOrgId":"f23511db-6c3e-4e32-a477-6aa17d310630","dateReserved":"2026-02-25T20:03:19.802Z"},"containers":{"cna":{"title":"Authenticated Command Injection on TP-Link TL-WR802N, TL-WR841N and TL-WR840N","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"TP-Link Systems Inc.","product":"TL-WR802N v4","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"V4_260304","versionType":"custom"}],"platforms":["Linux"]},{"vendor":"TP-Link Systems Inc.","product":"TL-WR841N v14","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"V14_260303","versionType":"custom"}],"platforms":["Linux"]},{"vendor":"TP Link Systems Inc.","product":"TL-WR840N v6","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"V6_260304","versionType":"custom"}],"platforms":["Linux"]}],"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"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"ADJACENT","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.5,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"TPLink","orgId":"f23511db-6c3e-4e32-a477-6aa17d310630","dateUpdated":"2026-03-16T16:16:25.873Z"},"impacts":[{"capecId":"CAPEC-88","descriptions":[{"lang":"en","value":"CAPEC-88 OS Command Injection"}]}],"credits":[{"lang":"en","value":"do4choo (github.com/do4choo)","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.5.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-01T03:55:43.165697Z","id":"CVE-2026-3227","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-01T17:31:49.401Z"}}]}}}