Hugging Face smolagents Remote Code Execution Vulnerability via Deserialization of Untrusted Data

Vulnerability

A remote code execution vulnerability has been identified in Hugging Face smolagents. This issue arises from the improper validation of user-supplied data in the parsing of pickle files, allowing for the deserialization of untrusted data. As a result, remote attackers can execute arbitrary code on the affected system, using the service account's privileges. Notably, no authentication is required to exploit this vulnerability.

Impact

Exploitation of this vulnerability allows for arbitrary code execution on the affected system, with the executed code running in the context of the service account.

Remediation

Given the nature of the vulnerability, the recommended mitigation strategy is to limit interaction with the product.

Added: Dec 23, 2025, 9:21 PM
Updated: Dec 23, 2025, 9:21 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
10.0
exploitability
7.4
remediation
0.0
relevance
1.6
threat
0.1
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.