Security mailing lists by PureSourceCode

CVE-2025-14931

CRITICAL 10.0CVSS 3.0

Hugging Face smolagents: Unsafe deserialization in Remote Python Executor leads to RCE

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.

Published
23 Dec 2025
Last modified
19 Oct 2026
Assigned by
zdi-disclosures@trendmicro.com
NVD status
Deferred
Weakness
CWE-502
Also known as
GHSA-q9r5-6hrr-9ph7PYSEC-2026-543
Sources
NVDJSONOSV GHSA-q9r5-6hrr-9ph7JSONOSV PYSEC-2026-543JSON

Scores

SourceScored byVersionScoreVector / decision
NVD zdi-disclosures@trendmicro.com (Secondary) CVSS 3.0 CRITICAL 10.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 10.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV PyPA CVSS 3.0 CRITICAL 10.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI smolagents <= 1.23.0

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 23 Dec 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Dec 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.