From DDS Packets to Robot Shells: Two RCEs in Unitree Go2 Robot Dog
Two remote code execution flaws were found in the Unitree Go2 robot dog. An unauthenticated attacker on the same network could publish messages to a DDS topic to upload and run arbitrary Python as root, and a second flaw let tampered Blockly action blocks in the Android app's local database reach the same vulnerable code.
Published on boschko.ca
This is a lengthy technical write-up of CVE-2026-27509 and CVE-2026-27510, found alongside @Ruikai, founder of Pwn0. We both threw in cash for the robot, and I invaded his living space for seven days of chipotle-fueled hacking.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the programming service trusted every DDS participant, routed requests by an operation ID without any authorisation check, and wrote and executed the supplied Python without validating its content.
Impact
An attacker on the same network could run arbitrary code as root on the robot, and because the binding persists across reboots the code runs again whenever the controller hotkey is pressed; the text notes the original DDS proof of concept stopped working on V1.1.11 because DDS topics were suppressed.
What the attacker needed
Network access to the robot; DDS client able to reach internal address; controller hotkey pressed to trigger
The fix
Unitree pushed OTA patches in V1.1.13 to address the second flaw and added stricter review of uploaded marketplace scripts, though the text says the DDS flaw will likely not be addressed in EDU versions.
How it was found
- Join DDS domain 0 and discover the robot's programming topics.
- Configure the DDS client to reach the robot's internal service address.
- Publish a request with the code-upload operation ID containing the Python code, a program identifier and a controller hotkey.
- The robot caches the code and writes it to a Python file under its programming directory.
- The robot records the hotkey binding in its hotkey list file.
- Pressing the bound controller combination runs the uploaded script as root.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
The robot dog runs small programs that let its owner bind actions to controller buttons. The service that accepts these programs trusted anyone who could send it a message on the local network, and it never checked the code before saving and running it. So anyone on the same network could quietly plant a program that runs with the robot's highest privileges whenever a button is pressed.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.