CVE-2025-60017 Command injection in B2

High 8.2 Published Updated

Attackers can execute arbitrary OS commands with root privileges on Unitree robots via malicious Wi-Fi parameters.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-60017?

CVE-2025-60017 is a high-severity command injection vulnerability in Unitree B2, published on 26 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Unitree Go2, G1, H1, and B2 devices through 2025-09-20 allow root OS command injection via the hostapd_restart.sh wifi_ssid or wifi_pass parameter (within restart_wifi_ap and restart_wifi_sta).

Weakness: CWE-78

Which versions are affected by CVE-2025-60017?

How do I fix CVE-2025-60017?

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

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

Sources

Also known as GHSA-cmhh-362m-7qph.

Is CVE-2025-60017 in your software?

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

Check your SBOMs for free