CVE-2026-5351: Trendnet TEW-657BRM OS command injection in setup.cgi

CVE-2026-5351 · Severity: medium · CVSS 6.3 · Published 2026-04-02

A security vulnerability exists in the Trendnet TEW-657BRM wireless router, a device used to provide internet connectivity and networking for homes and small offices. An attacker can exploit this flaw to take control of the router's operating system, potentially leading to unauthorized access to network traffic or a complete service outage. This product reached its end-of-life in 2011 and is no longer supported by the manufacturer, meaning no official security updates will be released.

Technologies: TRENDnet Tew-657brm, TRENDnet Tew-657brm Firmware. Vendors: TRENDnet.

Quick answers

Is CVE-2026-5351 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-5351 being exploited in the wild.
How severe is CVE-2026-5351?
Medium severity, with a CVSS score of 6.3, published 2 April 2026.
Which products and versions are affected?
TRENDnet Tew-657brm 1.00.1.
Is there a fix for CVE-2026-5351?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-5351 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-5351?
Check whether you run TRENDnet Tew-657brm or TRENDnet Tew-657brm Firmware at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An OS command injection vulnerability exists in the Trendnet TEW-657BRM router firmware version 1.00.1. The flaw is located within the 'add_wps_client' function in '/setup.cgi', where the 'wl_enrolee_pin' POST parameter is passed directly to a system shell call without sufficient sanitization. A remote attacker with low-level authentication can exploit this by sending a specially crafted HTTP request to execute arbitrary commands on the underlying Linux operating system. A public proof-of-concept exploit is available. The vendor has stated the product is end-of-life (EOL) as of June 2011 and will not receive a patch.

Affected products

  • Trendnet TEW-657BRM 1.00.1

Timeline

  • 2011-06-23: other: Product reached End-of-Life (EOL) status
  • 2026-04-02: disclosed: Vulnerability disclosed and CVE assigned

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.