CVE-2025-4849 TOTOLINK N300RH cstecgi.cgi CloudACMunualUpdateUserdata command injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary commands on TOTOLINK N300RH routers via the CloudACMunualUpdateUserdata function in cstecgi.cgi.

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-4849?

CVE-2025-4849 is a medium-severity command injection vulnerability in TOTOLINK N300RH, published on 18 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in TOTOLINK N300RH 6.1c.1390_B20191101. It has been rated as critical. Affected by this issue is the function CloudACMunualUpdateUserdata of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument url leads to command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2025-4849?

It affects 1 product.

Products include Totolink N300rh Firmware.

How do I fix CVE-2025-4849?

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

There is no known exploitation of CVE-2025-4849 in the wild and no public exploit code.

Sources

Also known as GHSA-7f4f-7v48-7gv6.

Is CVE-2025-4849 in your software?

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

Check your SBOMs for free