Skip to main content
HIGH

CVE-2026-58659

CVSS v3

7.8

HIGH

EPSS Score

0.6 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for lightning.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • lightningPyPIall versions · fixed in 2.6.6and 1 other package

Vendor advisories

  • CVE-2026-58659 Red Hat Product Security34 products fixed · 2 known affected

    pytorch-lightning: PyTorch Lightning: Remote code execution via malicious checkpoint files

    rhaiis/vllm-cpu-rhel9 as a component of Red Hat AI Inference Server · rhaiis/vllm-tpu-rhel9 as a component of Red Hat AI Inference Server

  • RHSA-2026:84734 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: RHOAI 3.4.5 - Red Hat OpenShift AI

  • RHSA-2026:82415 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat AI Inference 3.5.2 (cpu)

  • RHSA-2026:82368 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat AI Inference 3.5.2 (cuda)

  • RHSA-2026:76150 Red Hat Product Security5 products fixed

    Red Hat Security Advisory: Red Hat Enterprise Linux AI 3.4.5 security update

  • RHSA-2026:76149 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Enterprise Linux AI 3.4.5 security update

8 more advisories

Full record on NVD

Description

PyTorch Lightning through 2.6.5, fixed in commit d710d68, contains a remote code execution vulnerability in the _load_state function that imports and executes attacker-controlled module names from checkpoint _instantiator hyperparameters. Attackers can craft malicious checkpoint files that bypass weights_only=True protections to execute arbitrary code when LightningModule.load_from_checkpoint is called.

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2026-07-15
Last Modified
2026-07-15

Frequently asked questions

What is CVE-2026-58659?

PyTorch Lightning through 2.6.5, fixed in commit d710d68, contains a remote code execution vulnerability in the _load_state function that imports and executes attacker-controlled module names from checkpoint _instantiator hyperparameters. Attackers can craft malicious checkpoint files that bypass weights_only=True protections to execute arbitrary code when LightningModule.load_from_checkpoint is called.

Is CVE-2026-58659 actively exploited?

Active exploitation of CVE-2026-58659 has not been confirmed. Its EPSS score was 0.6% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-58659?

CVE-2026-58659 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running lightning? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month