LiveActive security incident?Get immediate response
CVE Record

CVE-2026-24747: PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files

PyTorch is a Python package that provides tensor computation. Prior to version 2.10.0, a vulnerability in PyTorch's `weights_only` unpickler allows an attacker to craft a malicious checkpoint file (`.pth`) that, when loaded with `torch.load(..., weights_only=True)`, can corrupt memory and potentially lead to arbitrary code execution. Version 2.10.0 fixes the issue.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

PyTorch before 2.10.0 can be compromised when an untrusted checkpoint file is loaded with the supposedly safer weights_only=True mode. A malicious .pth file could corrupt memory and potentially run attacker-controlled code. The victim still has to load the file, so risk is highest in ML workflows that ingest external models or checkpoints.

Executive priority

Treat this as high priority for teams running ML platforms, research environments, or automated model ingestion. The business risk is not broad internet wormability, but compromise through poisoned model artifacts in trusted workflows.

Technical view

The issue is in PyTorch's weights_only unpickler before 2.10.0. Crafted checkpoint files can trigger memory corruption during torch.load(..., weights_only=True), with potential arbitrary code execution. The CVSS 3.1 score is 8.8 and maps to CWE-502 and CWE-94. Sources name PyTorch 2.10.0 as the fixed version.

Likely exposure

Organizations using PyTorch versions below 2.10.0 are exposed when they load checkpoint files from third parties, model hubs, user uploads, research collaborators, or automated ML pipelines. Systems that never load untrusted .pth files have lower practical exposure, but should still upgrade.

Exploitation context

The source bundle does not state active exploitation, and KEV is false. Exploitation requires a user or workflow to load a malicious checkpoint file. The impact can be severe because successful exploitation may allow code execution in the context of the process loading the model.

Researcher notes

Focus review on checkpoint loading boundaries and assumptions around weights_only=True. The advisory indicates this safer mode was still vulnerable. Avoid treating weights_only=True as a complete trust boundary for untrusted files; validate version, provenance, sandboxing, and downstream package status.

Mitigation direction

  • Upgrade PyTorch to version 2.10.0 or later.
  • Do not load untrusted .pth checkpoint files.
  • Restrict model ingestion to trusted, verified sources.
  • Isolate model loading in least-privileged environments.
  • Check Red Hat guidance for packaged dependency fixes.

Validation and detection

  • Inventory deployed PyTorch versions across development and production.
  • Find uses of torch.load with externally supplied checkpoint files.
  • Review model and checkpoint provenance controls.
  • Confirm PyTorch reports version 2.10.0 or later.
  • Check vendor advisories for distribution-specific status.
Prepared
Confidence
high
Sources
9

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-502: Code execution behavior lookup

Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · medium confidence lookup

CWE-94: Code execution behavior lookup

Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-24747 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
5Timeline events
2ADP providers
9Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H2.85.9GitHub_M
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H2.85.9redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

8.8High
CVSS 3.1 vector shape for CVE-2026-24747Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPpytorch: PyTorch: Arbitrary code execution via malicious checkpoint file loading
other:Red Hat severity ratingcvssV3_1
  • 2026-01-27T22:01:52.649Z: Reported to Red Hat.
  • 2026-01-27T21:13:46.878Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
pytorchpytorch< 2.10.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-502 · source CWE mapping

Deserialization of Untrusted Data

Deserialization of Untrusted Data represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-94 · source CWE mapping

Improper Control of Generation of Code ('Code Injection')

Improper Control of Generation of Code ('Code Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.