CVE-2025-6299 TOTOLINK N150RT formWSC os command injection

Medium 5.1 Published Updated

Remote attackers can execute arbitrary OS commands on TOTOLINK N150RT routers via the formWSC endpoint, requiring authentication.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-6299?

CVE-2025-6299 is a medium-severity command injection vulnerability in TOTOLINK N150RT, published on 20 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability classified as critical has been found in TOTOLINK N150RT 3.4.0-B20190525. This affects an unknown part of the file /boa/formWSC. The manipulation of the argument targetAPSsid leads to os command injection. It is possible to initiate the attack 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-6299?

It affects 1 product.

Products include Totolink N150rt Firmware.

How do I fix CVE-2025-6299?

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

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

Sources

Also known as GHSA-pmq9-x3vc-v6f7.

Is CVE-2025-6299 in your software?

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

Check your SBOMs for free