CVE-2025-6542 OS command injection in multiple parameters

Critical 9.3 Published Updated

Remote unauthenticated attackers can execute arbitrary OS commands on TP-Link Festa and Omada gateways.

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

What is CVE-2025-6542?

CVE-2025-6542 is a critical command injection vulnerability in TP-Link Systems Inc. Festa gateways, published on 21 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An arbitrary OS command may be executed on the product by a remote unauthenticated attacker.

Weakness: CWE-78

Which versions are affected by CVE-2025-6542?

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

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

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

Sources

Also known as GHSA-v223-4hv2-g25q.

Is CVE-2025-6542 in your software?

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

Check your SBOMs for free