{"id":"CVE-2025-14931","aliases":["CVE-2025-14931","GHSA-q9r5-6hrr-9ph7","PYSEC-2026-543"],"related":[],"kind":"vulnerability","state":"published","title":"Hugging Face smolagents Remote Python Executor Deserialization of Untrusted Data Remote Code Execution Vulnerability","summary":"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.\n\nThe 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nThe 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.","source":"cvelist"},{"lang":"es","text":"Vulnerabilidad de ejecución remota de código por deserialización de datos no confiables en el Ejecutor remoto de Python de Hugging Face smolagents. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en instalaciones afectadas de Hugging Face smolagents. No se requiere autenticación para explotar esta vulnerabilidad.\\n\\nEl fallo específico existe dentro del análisis de datos pickle. El problema se debe a la falta de validación adecuada de los datos suministrados por el usuario, lo que puede provocar la deserialización de datos no confiables. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de la cuenta de servicio. Fue ZDI-CAN-28312.","source":"nvd"}],"published":"2025-12-23T21:04:58.265Z","modified":"2026-10-19T22:10:00.130Z","severity":{"scorer":"zdi","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"zdi","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"1.22.0","status":"affected"}],"vendor":"Hugging Face","product":"smolagents","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.23.0"}],"ecosystem":"PyPI","package":"smolagents","purl":"pkg:pypi/smolagents","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.23.0"}],"ecosystem":"PyPI","package":"smolagents","purl":"pkg:pypi/smolagents","source":"pysec"}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-25-1143/","tags":["x-research-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14931","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/huggingface/smolagents","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-25-1143","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/smolagents","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-q9r5-6hrr-9ph7","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"zdi","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-12-26T14:34:12.847Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-14931","url":"https://www.cve.org/CVERecord?id=CVE-2025-14931","licence":"CVE Terms of Use","modified":"2025-12-26T14:34:20.664Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q9r5-6hrr-9ph7","url":"https://github.com/advisories/GHSA-q9r5-6hrr-9ph7","licence":"CC-BY-4.0","modified":"2026-06-29T12:26:39.927Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-14931","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14931","licence":"Public domain","modified":"2026-10-19T22:10:00.130Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-543","url":"https://osv.dev/vulnerability/PYSEC-2026-543","licence":"CC-BY-4.0","modified":"2026-07-01T20:23:05.184Z"}],"updatedAt":"2026-11-25T22:59:09.823Z","epss":{"score":0.01534,"percentile":0.75176,"date":"2026-11-30T12:00:22.000Z"}}