CVE-2025-7154 TOTOLINK N200RE cstecgi.cgi sub_41A0F8 os command injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary OS commands via the Hostname argument in cstecgi.cgi on TOTOLINK N200RE routers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-7154?

CVE-2025-7154 is a medium-severity command injection vulnerability in TOTOLINK N200RE, published on 8 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability, which was classified as critical, has been found in TOTOLINK N200RE 9.3.5u.6095_B20200916/9.3.5u.6139_B20201216. Affected by this issue is the function sub_41A0F8 of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument Hostname leads to os command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2025-7154?

It affects 1 product.

Products include Totolink N200re Firmware.

How do I fix CVE-2025-7154?

No fix has been published for CVE-2025-7154 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-7154 being exploited?

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

Sources

Also known as GHSA-8phr-4rr8-jx8r.

Is CVE-2025-7154 in your software?

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

Check your SBOMs for free