RCE in Unitree B2 Firmware
CVE-2025-35027
Multiple robotic products by Unitree sharing a common firmware, including the Go2, G1, H1, and B2 devices, contain a command injection vulnerability. By setting a malicious string when configuring the on-board WiFi via a BLE module of an affected robot, then triggering a restart of the WiFi service, an attacker can ultimately trigger commands to be run as root via the wpa_supplicant_restart.sh shell script. All Unitree models use firmware derived from the same codebase (MIT Cheetah), and the two major forks are the G1 (humanoid) and Go2 (quadruped) branches.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.027, 86.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Unitree B2 Firmware
- Unitree G1 — versions 0
- Unitree G1 Firmware
- Unitree Go2 — versions 0
- Unitree Go2 Firmware
- Unitree H1 Firmware
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (Bin4ry/UniPwn, fkie-cad/nvd-json-data-feeds, fromgabyaaye/UniPwn). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- takeonme.org/cves/cve-2025-35027 (Exploit, Third Party Advisory, third-party-advisory)
- github.com/Bin4ry/UniPwn (Technical Description, Exploit, technical-description)
- spectrum.ieee.org/unitree-robot-exploit (media-coverage, Press/Media Coverage)
- x.com/committeeonccp/status/1971250635548033311 (government-resource, Press/Media Coverage)
- www.cve.org/cverecord (related, Third Party Advisory)
- www.cve.org/cverecord (related, Third Party Advisory)