CVE-2025-6541 OS command injection using information obtained from the web management interface

High 8.6 Published Updated

Authenticated users can execute arbitrary OS commands via the web management interface on TP-Link gateways.

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

CVE-2025-6541 is a high-severity command injection vulnerability in TP-Link Systems Inc. Festa gateways, published on 21 Oct 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

An arbitrary OS command may be executed on the product by the user who can log in to the web management interface.

Weakness: CWE-78

Which versions are affected by CVE-2025-6541?

It affects 13 products.

Products include Tp-Link Er605 Firmware, Tp-Link Er706w-4g Firmware, Tp-Link Er706w Firmware, Tp-Link Er707-M2 Firmware, Tp-Link Er7206 Firmware, Tp-Link Er7212pc Firmware and 7 more.

How do I fix CVE-2025-6541?

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

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

Sources

Also known as GHSA-x52x-mhfj-w7qq.

Is CVE-2025-6541 in your software?

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

Check your SBOMs for free