GHSA-W37P-236H-PFX3

Vulnerability from github – Published: 2026-05-07 00:52 – Updated: 2026-05-14 20:49
VLAI
Summary
Compromise of PyTorch Lightning PyPi Package Versions
Details

Security Advisory: Compromise of PyTorch Lightning PyPI Package Versions

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

Github Advisory: CVE-2026-44484

We have identified a security incident affecting certain versions of one of our PyPI packages.

What happened

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

Our 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.

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

What versions are affected

We are currently working to confirm the exact set of impacted versions.

We have determined the following versions as affected and ask that you delete them from your systems:

  • 2.6.2
  • 2.6.3

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

What you should do immediately

If you have installed or are running any potentially affected versions:

  • 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 we have taken

  • Quarantined malicious versions from PyPI
  • Recommend 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

We are 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

We will provide updates as soon as more information becomes available.

Commitment to transparency

We take the security of our users and the integrity of our software supply chain extremely seriously.

We will continue to share timely and accurate updates as our investigation progresses.

Contact

If you have questions or believe you may be impacted, please contact us at:

security@lightning.ai

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "pytorch-lightning"
      },
      "versions": [
        "2.6.2"
      ]
    },
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "pytorch-lightning"
      },
      "versions": [
        "2.6.3"
      ]
    }
  ],
  "aliases": [
    "CVE-2026-44484"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-506"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-07T00:52:55Z",
    "nvd_published_at": "2026-05-14T15:16:48Z",
    "severity": "CRITICAL"
  },
  "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**",
  "id": "GHSA-w37p-236h-pfx3",
  "modified": "2026-05-14T20:49:43Z",
  "published": "2026-05-07T00:52:55Z",
  "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"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Compromise of PyTorch Lightning PyPi Package Versions"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…