CVE-2026-44484: Pytorch lightning Compromise Of PyTorch Lightning PyPi Vulnerability
CRITICALCVE-2026-44484 is a CRITICAL (CVSS 9.8) compromise of pytorch lightning pypi vulnerability (CWE-506: Embedded Malicious Code) affecting Pytorch lightning libraries in the PyPI ecosystem. The issue involves compromise of pytorch lightning pypi package versions. Remediation is available in the latest vendor maintenance releases.
CVE-2026-44484 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-44484
To remediate this vulnerability, upgrade all affected Pytorch lightning dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install pytorch-lightning>=Latest secure release
pip install pytorch-lightning>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pytorch-lightning
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-44484, inspect your installed packages using pip:
pip show pytorch-lightning
Analyze the terminal output to locate any version of Pytorch lightning in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show pytorch-lightning command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-506: Embedded Malicious Code, where the product contains code that appears to be malicious in nature. In Pytorch lightning, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-44484 Affected Pytorch lightning Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pytorch-lightning
|
PyPI |
2.6.2
All 1 versions
2.6.2
|
None specified
|
|
pytorch-lightning
|
PyPI |
2.6.3
All 1 versions
2.6.3
|
None specified
|
References
Frequently Asked Questions
What is CVE-2026-44484?
Which Pytorch lightning versions are affected?
What version fixes CVE-2026-44484?
Is pytorch-lightning affected?
What is the CVSS score of CVE-2026-44484?
What CWE is associated with CVE-2026-44484?
How can I check PyPI dependencies for CVE-2026-44484?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w37p-236h-pfx3",
"modified" : "2026-06-08T23:12:39Z",
"published" : "2026-05-07T00:52:55Z",
"aliases" : [ "CVE-2026-44484" ],
"summary" : "Compromise of PyTorch Lightning PyPi Package Versions",
"details" : "# Security Advisory: Compromise of PyTorch Lightning PyPI Package Versions\n\n**Published:** 2026-04-30 \n**Last Updated:** 2026-05-12 \n\n**Github Advisory:** [CVE-2026-44484](https://github.com/advisories/GHSA-w37p-236h-pfx3)\n\nWe have identified a security incident affecting certain versions of one of our PyPI packages.\n\n## What happened\n\nWe have determined that one or more released versions of this package have been compromised and include malicious code.\n\nOur current investigation indicates that the affected versions have introduced functionality consistent with a credential harvesting mechanism. We are still actively analysing the scope and behaviour of the code.\n\nAt this stage, the root cause of the compromise is still under investigation.\n\n## What versions are affected\n\nWe are currently working to confirm the exact set of impacted versions.\n\nWe have determined the following versions as affected and ask that you delete them from your systems:\n\n- `2.6.2`\n- `2.6.3`\n\nWe will update this advisory if the versions impacted by this vulnerability change.\n\n## What you should do immediately\n\nIf you have installed or are running any potentially affected versions:\n\n- Assume the environment may be compromised \n- Immediately rotate all credentials and secrets that may have been exposed, including: \n - API keys \n - Access tokens \n - SSH keys \n - Service account credentials \n- Rebuild affected systems from a known clean state \n- Pin PyTorch Lightning to version `2.6.1` \n- Review logs for any suspicious or unauthorised activity \n\n## Actions we have taken\n\n- Quarantined malicious versions from PyPI \n- Recommend using version `2.6.1`: https://github.com/Lightning-AI/pytorch-lightning/releases/tag/2.6.1 \n- Revoked and rotated all internal credentials associated with our release process \n- Initiated a full investigation into the compromise \n\n## Ongoing investigation\n\nWe are actively working to:\n\n- Identify the exact mechanism of compromise \n- Confirm the full set of affected versions \n- Determine the behaviour and impact of the malicious code \n- Assess any downstream impact to users \n\nWe will provide updates as soon as more information becomes available.\n\n## Commitment to transparency\n\nWe take the security of our users and the integrity of our software supply chain extremely seriously.\n\nWe will continue to share timely and accurate updates as our investigation progresses.\n\n## Contact\n\nIf you have questions or believe you may be impacted, please contact us at:\n\n**security@lightning.ai**",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pytorch-lightning"
},
"versions" : [ "2.6.2" ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "pytorch-lightning"
},
"versions" : [ "2.6.3" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Lightning-AI/pytorch-lightning/security/advisories/GHSA-w37p-236h-pfx3"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-44484"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Lightning-AI/pytorch-lightning"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-506" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-07T00:52:55Z",
"nvd_published_at" : "2026-05-14T15:16:48Z"
}
}