Description
Hugging Face PyTorch Image Models checkpoint Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face PyTorch Image Models. 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 checkpoints. 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 process. Was ZDI-CAN-27987.
Published: 2026-08-20
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

This vulnerability arises from improper validation of user‑supplied checkpoint data in Hugging Face PyTorch Image Models. Deserialization of an untrusted checkpoint can lead to arbitrary code execution in the context of the current process, classified as CWE‑502. The impact is that a remote attacker, using a malicious checkpoint, can run code with the privileges of the process that loads the model.

Affected Systems

All installations of Hugging Face PyTorch Image Models are affected. Version details are not provided in the advisory, so any current release should be considered vulnerable until a patch is applied.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity. The EPSS score is 0.0017 (less than 1%), and the vulnerability is not listed in the CISA KEV catalog, suggesting limited publicly documented exploitation. However, the attack requires user interaction—such as visiting a page or opening a malicious file—which means the attacker can only compromise a target after social engineering or file delivery. Given these constraints, the overall risk remains high but exploitability is confined to contexts where an untrusted checkpoint is loaded.

Generated by OpenCVE AI on August 28, 2026 at 19:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Hugging Face PyTorch Image Models to the latest release that contains the deserialization fix.
  • If a patch is not yet available, avoid loading checkpoints from untrusted or unknown sources and consider disabling checkpoint loading where possible.
  • Ensure that users do not open or execute checkpoint files from untrusted origins, and restrict web access to repositories hosting malicious checkpoints by implementing web filtering or sandboxing.

Generated by OpenCVE AI on August 28, 2026 at 19:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important


Fri, 21 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 21 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
First Time appeared Hugging Face
Hugging Face pytorch Image Models
Vendors & Products Hugging Face
Hugging Face pytorch Image Models

Thu, 20 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Description Hugging Face PyTorch Image Models checkpoint Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face PyTorch Image Models. 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 checkpoints. 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 process. Was ZDI-CAN-27987.
Title Hugging Face PyTorch Image Models checkpoint Deserialization of Untrusted Data Remote Code Execution Vulnerability
Weaknesses CWE-502
References
Metrics cvssV3_0

{'score': 7.8, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

Hugging Face Pytorch Image Models
cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published:

Updated: 2026-08-21T20:08:39.421Z

Reserved: 2026-07-13T21:27:46.542Z

Link: CVE-2026-15679

cve-icon Vulnrichment

Updated: 2026-08-21T20:06:44.033Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-20T17:17:21.050

Modified: 2026-08-31T20:17:06.040

Link: CVE-2026-15679

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-20T16:24:53Z

Links: CVE-2026-15679 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T19:30:16Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data