LeRobot flaw exposes robotics AI servers

Hugging Face’s LeRobot robotics framework is facing scrutiny after disclosure of a critical remote code execution vulnerability that could allow unauthenticated attackers to run arbitrary commands on affected systems through exposed inference services.

The flaw, tracked as CVE-2026-25874, affects LeRobot versions up to 0.5.1 and carries a critical CVSS 4.0 score of 9.3. The issue centres on unsafe deserialisation in the framework’s asynchronous inference pipeline, where Python’s pickle. loads() is used to process data received over gRPC channels that lack authentication and TLS protection. A fix is planned for version 0.6.0, leaving operators of affected deployments under pressure to restrict access and review exposure until a patched release is available.

LeRobot, developed under Hugging Face’s open-source ecosystem, is designed to provide models, datasets and tools for real-world robotics in PyTorch. Its appeal has grown with the wider adoption of imitation learning, reinforcement learning and low-cost robotic experimentation. The project has attracted tens of thousands of GitHub stars, making the vulnerability significant not only for researchers but also for organisations using the framework in laboratories, proof-of-concept deployments and early production robotics systems.

The vulnerable components include the policy server and robot client elements of the async inference system. Attackers able to reach the relevant network service can send crafted pickle payloads through gRPC calls such as SendPolicyInstructions, SendObservations or GetActions. Successful exploitation could compromise the server or client host, giving attackers the ability to execute operating system commands, access stored credentials, steal model files, disrupt inference pipelines or move further into connected infrastructure.

The use of pickle has long been treated as a high-risk pattern in security-sensitive machine learning environments. The format can execute code during deserialisation, making it unsafe for untrusted input. That risk becomes sharper when combined with unauthenticated network services, as it shifts the weakness from a local file-handling hazard to a remotely reachable attack path. In robotics, the consequences can extend beyond data loss because compromised control or inference systems may affect connected devices, experiments and automated workflows.

Security researcher Valentin Lobstein validated the issue against LeRobot 0.4.3 and published technical details showing how the vulnerability could be exploited. The weakness had also been raised earlier by another researcher using the alias chenpinji, with maintainers acknowledging that parts of the relevant codebase originated as experimental implementation and would require broader refactoring. That history highlights a familiar open-source challenge: tools created for research and prototyping often gain wider adoption before their security model matures.

Hugging Face has positioned LeRobot as a way to lower barriers to robotics development by offering pretrained models, datasets with human demonstrations and support for simulated and real-world environments. That openness has helped accelerate experimentation, but it also increases the responsibility on adopters to treat research frameworks carefully when placing them on shared networks, cloud infrastructure or systems connected to physical devices.

The immediate risk is highest where LeRobot’s policy server or robot client services are reachable from untrusted networks. Systems running behind firewalls, virtual private networks or tightly controlled lab networks face lower exposure, though not zero risk if internal networks are compromised. Administrators are being urged to avoid exposing gRPC endpoints publicly, apply network segmentation, disable or isolate vulnerable async inference services where possible, and monitor for unexpected process execution, outbound connections or unusual access to model and credential files.

The disclosure also fits into a broader pattern of security concerns around artificial intelligence infrastructure. Machine learning systems increasingly rely on complex chains of model files, serializers, inference servers, package dependencies and orchestration tools. Attackers have shown growing interest in exploiting these layers because AI workloads often sit close to valuable data, expensive compute resources and credentials for cloud services, repositories and model hubs.



Notice an issue?

Arabian Post strives to deliver the most accurate and reliable information to its readers. If you believe you have identified an error or inconsistency in this article, please don't hesitate to contact our editorial team at editor[at]thearabianpost[dot]com. We are committed to promptly addressing any concerns and ensuring the highest level of journalistic integrity.


ADVERTISEMENT