CVSS 4.0
8.4 highCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NHigh (8.4) in lightningai pytorch lightning. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in lightning 2.6.6.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hlightning (PyPI): fixed in 2.6.6pytorch-lightning (PyPI): fixed in 2.6.6Explain CVE-2026-58659 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-58659?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-58659?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-58659 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Lightning-AI pytorch-lightning | through 2.6.5 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-qqmf-gpg7-g8gw | PyPI | lightning | <2.6.6 | 2.6.6 |
| PYSEC-2026-3624 | PyPI | lightning | <2.6.6 | 2.6.6 |
| PYSEC-2026-3967 | PyPI | pytorch-lightning | <2.6.6 | 2.6.6 |
Red Hat rates this Important.
This is an Important severity flaw in PyTorch Lightning that could lead to remote code execution. The vulnerability arises from the _load_state function's ability to import and execute attacker-controlled module names from maliciously crafted checkpoint files, even when weights_only=True is enabled. Exploitation requires a local attacker to trick a user into loading a specially crafted checkpoint file.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat AI Inference Server 3.3 | rhaiis/vllm-rocm-rhel9:1789504371 | Fixed 2026-09-17 | RHSA-2026:68698 |
| Red Hat AI Inference Server 3.3 | rhaiis/vllm-cuda-rhel9:1789582776 | Fixed 2026-09-17 | RHSA-2026:68699 |
| Red Hat AI Inference Server 3.4 | rhaii/vllm-cpu-rhel9:1789681128 | Fixed 2026-09-21 | RHSA-2026:69466 |
| Red Hat AI Inference Server 3.4 | rhaii/vllm-cuda-rhel9:1789681126 | Fixed 2026-09-21 | RHSA-2026:69467 |
| Red Hat AI Inference Server 3.4 | rhaii/vllm-cpu-rhel9:1790075793 | Fixed 2026-09-23 | RHSA-2026:70965 |
| Red Hat AI Inference Server 3.4 | rhaii/vllm-cuda-rhel9:1790090131 | Fixed 2026-09-23 | RHSA-2026:70979 |
| Red Hat AI Inference Server 3.5 | rhaii/vllm-cuda-rhel9:1791473631 | Fixed 2026-10-13 | RHSA-2026:82368 |
| Red Hat AI Inference Server 3.5 | rhaii/vllm-cpu-rhel9:1791473614 | Fixed 2026-10-13 | RHSA-2026:82415 |
| Red Hat Enterprise Linux AI 3.3 | rhelai3/bootc-aws-cuda-rhel9:1790936334 | Fixed 2026-10-05 | RHSA-2026:76041 |
| Red Hat Enterprise Linux AI 3.3 | rhelai3/bootc-azure-cuda-rhel9:1790936351 | Fixed 2026-10-05 | RHSA-2026:76041 |
| Red Hat Enterprise Linux AI 3.3 | rhelai3/bootc-azure-rocm-rhel9:1790850900 | Fixed 2026-10-05 | RHSA-2026:76041 |
| Red Hat Enterprise Linux AI 3.3 | rhelai3/bootc-cuda-rhel9:1790866732 | Fixed 2026-10-05 | RHSA-2026:76041 |
| Red Hat Enterprise Linux AI 3.3 | rhelai3/bootc-gcp-cuda-rhel9:1790936334 | Fixed 2026-10-05 | RHSA-2026:76041 |
| Red Hat Enterprise Linux AI 3.3 | rhelai3/bootc-rocm-rhel9:1790791893 | Fixed 2026-10-05 | RHSA-2026:76041 |
| Red Hat Enterprise Linux AI 3.3 | rhelai3/disk-image-cuda-rhel9:1790954179 | Fixed 2026-10-05 | RHSA-2026:76043 |
| Red Hat Enterprise Linux AI 3.4 | rhelai3/disk-image-cuda-rhel9:1790957417 | Fixed 2026-10-05 | RHSA-2026:76149 |
| Red Hat Enterprise Linux AI 3.4 | rhelai3/bootc-aws-cuda-rhel9:1790881122 | Fixed 2026-10-05 | RHSA-2026:76150 |
| Red Hat AI Inference Server | rhaiis/vllm-cpu-rhel9 | Will not fix | |
| Red Hat AI Inference Server | rhaiis/vllm-tpu-rhel9 | Will not fix | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-vllm-gaudi-rhel9 | Not affected | |
| 10 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-58659.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.