| Title | Unitree Robotics Unitree Go2 (voice assistant component `chat_go`) 1.1.4/1.1.7/1.1.7.2 OS Command Injection |
|---|
| Description | Unitree Go2 chat_go command injection via set_volume function-call value (CWE-78), executed as root
[SUMMARY]
The chat_go voice-assistant service of the Unitree Go2 robot (running as root) interpolates the remotely-provided set_volume function-call value into the shell command "amixer set Speaker {value}" and executes it via subprocess.run(shell=True), with no validation. Any party able to influence the upstream model response can inject arbitrary OS commands that execute as root.
[VULNERABILITY DETAILS]
chat_go accepts structured function calls from its cloud LLM upstream (wss://gpt-proxy.unitree.com:6080/ws/chat). The vulnerable code is identical in firmware 1.1.4, the tested 1.1.7 device, and the x.x.x.x package (confirmed by cryptographic file hashes) and is not fixed in the newest independently verifiable package:
# gpt_thread.py, lines 331-332 and 211-213
elif response['state'] == 'function_call':
text = self._call_function(response, msg['tts_id'])
...
elif req['function'] == 'set_volume':
cmd = f"amixer set Speaker {req['value']}"
perform_cmd(cmd)
# shell_manger.py, line 8
result = subprocess.run(cmd, shell=True, stdout=subprocess.PIPE)
There is no type parsing, range validation, allow-listing, or shell escaping.
The input vector was demonstrated in an authorized on-device test as a complete chain: DNS control -> self-signed certificate acceptance -> forged function_call frame -> shell injection -> root execution, triggered by a single voice command/App message and repeated in multiple rounds. Standing alone, this injection requires only that the attacker can influence the robot's model-response content; in our demonstration that influence came from a companion flaw submitted separately - the robot's voice client accepts any TLS certificate for its cloud model server, so a network-adjacent attacker who controls DNS resolution can pose as that server. This entry concerns only the command injection itself; the certificate flaw is its own entry (please do not merge - different root causes, fixed in different code).
Suggested CVSS 3.1 (researcher's, for reference): demonstrated chain basis AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H = 7.7 High; sink-only basis (response-control precondition granted) AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H = 8.9 High.
[AFFECTED VERSIONS]
- Firmware package 1.1.4 (chat_go x.x.x.x): vulnerable (source-confirmed)
- Firmware 1.1.7 (on-device runtime test, Go2 EDU): demonstrated end-to-end
- Firmware package x.x.x.x Max Pro (chat_go x.x.x.x): identical code (diff=0), not fixed
- Fixed version: unknown. The vendor's ticket tracker shows both related reports (#474 and #616) have passed their internal "fix confirmation" workflow stage; however, no fixed version has been communicated to the researcher (the 2026-09-08 email follow-up remains unanswered).
[REPRODUCTION]
Authorized on-device test on a researcher-owned Go2 (firmware 1.1.7), about 5 minutes: generate a self-signed certificate, redirect the hardcoded upstream hostname to the test host, run a test upstream on port 6080 that answers within the 3-second first-frame window with a benign marker payload (value = "50; touch /tmp/fc_pwned; id; uname -a"), then trigger one conversation turn. Device log result: "cmd: amixer set Speaker 50; touch /tmp/fc_pwned; id; uname -a, Returned code: 0"; /tmp/fc_pwned created with Uid/Gid 0/root; 21 executions logged that day (19 return code 0). Full minimal writeup available on request.
[EVIDENCE / PROOF OF CONCEPT]
A complete CNA-ready technical report, attacker-side and device-side session logs (msg_id-correlated), the 21-entry device execution log, the root-owned artifact stat, hash-proven vulnerable source files, and a demonstration video (web-panel full-chain recording) are available to moderators on request. All materials are kept private pending coordinated disclosure; no public advisory or exploit has been released.
[VENDOR NOTIFICATION]
Yes - vendor-first disclosure completed:
- 2026-07-18: submitted to the Unitree Security Response Center portal, ticket #474
- 2026-07-21: vendor replied that the issue had already been submitted by another researcher
- 2026-09-03: ticket comment presented the on-device verification and asked for CVE status and fixed versions
- 2026-09-08: follow-up email with six questions (duplicate scope, fixed version, CVE status); no substantive reply as of 2026-09-18
[CVE REQUEST]
We request CVE assignment. The vendor stated that the issue had previously been reported by another researcher (ticket #474), but no CVE identifier, public advisory, or fixed version was provided. Please perform duplicate/CNA coordination before assigning a new identifier. We have not requested IDs from any other CNA for this issue.
[RELATED SUBMISSION]
A companion submission for the WSS certificate-validation flaw in the same component (CWE-295, vendor ticket #616) is being submitted simultaneously. The two flaws are independently fixable (different root causes, different code locations); please do not merge them into one entry.
Credit: Junye Xiong (Xiong Junye), Sichuan University |
|---|
| User | JasperXJY (UID 101367) |
|---|
| Submission | 09/18/2026 13:51 (2 months ago) |
|---|
| Moderation | 10/24/2026 11:18 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 426093 [Unitree Robotics Unitree Go2 up to 1.1.11.4 chat_go gpt_thread.py set_volume value os command injection] |
|---|
| Points | 17 |
|---|