CVE-2025-50428 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands on RaspAP web interface via unsanitized interface parameter in hostapd script.

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

CVE-2025-50428 is a critical command injection vulnerability in n/a, published on 27 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In RaspAP raspap-webgui 3.3.2 and earlier, a command injection vulnerability exists in the includes/hostapd.php script. The vulnerability is due to improper sanitizing of user input passed via the interface parameter.

Weakness: CWE-77

Which versions are affected by CVE-2025-50428?

It affects 1 product.

Products include Raspap Raspap-Webgui.

How do I fix CVE-2025-50428?

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

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-mqhg-76g5-3rxv.

Is CVE-2025-50428 in your software?

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

Check your SBOMs for free