CVE-2025-65202 Command injection in n/a

High 8.0 Published Updated

Authenticated attackers can execute arbitrary OS commands with root privileges on TRENDnet TEW-657BRM routers via setup.cgi parameters.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-65202?

CVE-2025-65202 is a high-severity command injection vulnerability in n/a, published on 26 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

TRENDnet TEW-657BRM 1.00.1 has an authenticated remote OS command injection vulnerability in the setup.cgi binary, exploitable via the HTTP parameters "command", "todo", and "next_file," which allows an attacker to execute arbitrary commands with root privileges.

Weakness: CWE-78

Which versions are affected by CVE-2025-65202?

It affects 1 product.

Products include Trendnet Tew-657brm Firmware.

How do I fix CVE-2025-65202?

No fix has been published for CVE-2025-65202 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-65202 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-65202 exists.

Sources

Also known as GHSA-m8p9-q9xx-54j2.

Is CVE-2025-65202 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free