# CVE-2025-14931: Hugging Face smolagents Remote Python Executor Deserialization of Untrusted Data Remote Code Execution Vulnerability

> CVE-2025-14931: Hugging Face smolagents Remote Python Executor Deserialization of Untrusted Data Remote Code Execution Vulnerability. CVSS 10.0 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2025-14931
Last updated: 2026-10-19T22:10:00Z

- Published: 2025-12-23 21:04 UTC · Updated: 2026-10-19 22:10 UTC · Assigner: zdi
- CVSS: 10.0 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS: 1.2%, 69th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-502

## Description

Hugging Face smolagents Remote Python Executor Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face smolagents. Authentication is not required to exploit this vulnerability. The specific flaw exists within the parsing of pickle data. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-28312.

## Affected vendors and products

- Hugging Face: smolagents

## Tracked companies

- [Hugging Face](https://rewindex.com/company/hugging-face.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-14931)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-14931)
- [https://www.zerodayinitiative.com/advisories/ZDI-25-1143/](https://www.zerodayinitiative.com/advisories/ZDI-25-1143/)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-14931 · Markdown: https://rewindex.com/cve/CVE-2025-14931.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-14931 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:10:49.829Z
