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: 7.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
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 7.8 indicates a high severity. No EPSS score is available, 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 20, 2026 at 19:48 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 20, 2026 at 19:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published:

Updated: 2026-08-20T16:24:53.352Z

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

Link: CVE-2026-15679

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-15679

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T20:00:05Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data