CVE-2026-44484: Compromise of PyTorch Lightning PyPi Package Versions

Published May 7, 2026
·
Updated

Security Advisory: Compromise of PyTorch Lightning PyPI Package Versions

Published: 2026-04-30 Last Updated: 2026-04-30

Lightning AI has identified a security incident affecting certain versions of a PyPI package.

What happened

Lightning AI has determined that one or more released versions of this package have been compromised and include malicious code.

The current investigation indicates that the affected versions have introduced functionality consistent with a credential harvesting mechanism. There is a continuing analysis the scope and behaviour of the code.

At this stage, the root cause of the compromise is still under investigation.

What versions are affected

Lightning AI is currently working to confirm the exact set of impacted versions.

The following versions are determined as affected, and developers should delete them from their systems:

- 2.6.2 - 2.6.3

Lightning AI will update this advisory if the versions impacted by this vulnerability change.

What you should do immediately

If developers have installed or are running any potentially affected versions on their application:

- Assume the environment may be compromised - Immediately rotate all credentials and secrets that may have been exposed, including: - API keys - Access tokens - SSH keys - Service account credentials - Rebuild affected systems from a known clean state - Pin PyTorch Lightning to version 2.6.1 - Review logs for any suspicious or unauthorised activity

Actions Lightning AI has taken

- Quarantined malicious versions from PyPI - Recommended using version 2.6.1: https://github.com/Lightning-AI/pytorch-lightning/releases/tag/2.6.1 - Revoked and rotated all internal credentials associated with our release process - Initiated a full investigation into the compromise

Ongoing investigation

Lightning AI is actively working to:

- Identify the exact mechanism of compromise - Confirm the full set of affected versions - Determine the behaviour and impact of the malicious code - Assess any downstream impact to users

Lightning AI will provide updates as soon as more information becomes available.

Commitment to transparency

Lightning AI takes the security of users and the integrity of the software supply chain extremely seriously.

Lightning AI will continue to share timely and accurate updates as the investigation progresses.

Contact

If there are any questions or if there are concerns that a consuming project may be impacted, please send an email to:

security@lightning.ai

Other sources

PyTorch Lightning is a deep learning framework to pretrain and finetune AI models. Versions 2.6.2 and 2.6.2 have introduced functionality consistent with a credential harvesting mechanism.

MITRE

Affected Software

4 affected components
pip/pytorch-lightning=2.6.3
pip/pytorch-lightning=2.6.2
Lightningai Pytorch Lightning Python=2.6.2
Lightningai Pytorch Lightning Python=2.6.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pytorch-lightning to a version that resolves this vulnerability.

    Fixed in 2.6.1
  2. Remove

    Remove pytorch-lightning/2.6.2 from your environment.

    Delete/quarantine the compromised PyTorch Lightning version 2.6.2 from your systems (the advisory states these versions were determined as affected and should be deleted from their systems).

  3. Remove

    Remove pytorch-lightning/2.6.3 from your environment.

    Delete/quarantine the compromised PyTorch Lightning version 2.6.3 from your systems (the advisory states these versions were determined as affected and should be deleted from their systems).

  4. Operational

    Assume the environment may be compromised; immediately rotate all credentials and secrets that may have been exposed, including API keys, access tokens, SSH keys, and service account credentials.

  5. Operational

    Rebuild affected systems from a known clean state.

  6. Operational

    Review logs for any suspicious or unauthorised activity.

  7. Operational

    Revoked and rotated all internal credentials associated with the release process.

Event History

May 7, 2026
Advisory Published
via GitHub·12:52 AM
Data Sourced
via GitHub·12:52 AM
DescriptionWeaknessAffected Software
May 14, 2026
CVE Published
via MITRE·02:59 PM
Data Sourced
via MITRE·02:59 PM
DescriptionWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·04:02 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-44484?

CVE-2026-44484 is classified as a high-severity vulnerability due to its potential to compromise systems using affected PyTorch Lightning versions.

2

How do I fix CVE-2026-44484?

To fix CVE-2026-44484, upgrade to a secure version of the PyTorch Lightning package, specifically versions greater than 2.6.3.

3

Which versions of PyTorch Lightning are affected by CVE-2026-44484?

CVE-2026-44484 affects PyTorch Lightning versions 2.6.2 and 2.6.3.

4

What type of vulnerability is CVE-2026-44484?

CVE-2026-44484 is related to a compromise arising from malicious code in specific releases of the PyTorch Lightning PyPI package.

5

Is CVE-2026-44484 associated with any specific software products?

Yes, CVE-2026-44484 specifically affects the PyTorch Lightning framework used for machine learning in Python.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203