SecurityContext

CVE-2025-14920: Hugging Face Transformers - Remote Code Execution

  • Cve: CVE-2025-14920
  • Name: Hugging Face Transformers - Remote Code Execution
  • Description: Hugging Face Transformers Perceiver Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of model files. 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 current user. Was ZDI-CAN-25423.
  • Impact: Remote attackers can execute arbitrary code as the current user, potentially compromising the system.
  • Remediation: Update to the latest version of Hugging Face Transformers.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to open a malicious file or visit a malicious page
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00391
  • Epss percentile: 0.33963
  • Assignee: [email protected]
  • Published at: 2025-12-23T21:15:47Z
  • Age in days: 336
  • Modified at: 2026-10-19T22:10:00Z
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-14920
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-502Deserialization of Untrusted Data

References

UrlSourceTags
https://www.zerodayinitiative.com/advisories/ZDI-25-1150/nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
huggingface:transformers= 4.54.1nonvd/v1/products/huggingface/transformers

Index

  • Repositories: 2237
  • Repositories high signal: 1230
  • Packages: 1

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts