Eminence Growth Solutions, home
Menu

AI failures · Security or operational lapse

Lightning AI: Compromised Versions of the lightning Package Were Available on PyPI for 42 Minutes

Verified Checked against its sources on 1 source quoted

Where it happened
International or several countries
Organization
Lightning AI
Date
Compromised versions were installable between 12:45:20 and 13:27:30 UTC on April 30, 2026
Function
AI developer tooling (open-source package)
Work stage
Software package distribution
System
lightning (PyTorch Lightning) Python package, versions 2.6.2 and 2.6.3
Technology
Conventional software (not AI)
Type of failure
Security or operational lapse
Caught by
The public

Summary

Lightning AI says that on April 30, 2026, an attacker captured PyPI credentials and used them to publish compromised versions 2.6.2 and 2.6.3 of its lightning package (PyTorch Lightning) to PyPI. It says the versions were installable for about 42 minutes, until community members alerted it and PyPI quarantined the package, and that its GitHub source repository was never compromised because the attack targeted the distribution layer. Lightning AI says the malicious builds contained a credential-harvesting payload that ran when the package was imported and sent stolen data to an attacker-controlled server. In the same post, Lightning AI says it has revoked and is rotating the compromised credentials, has regained control of its PyPI publishing access, and is still assessing how many downloads and environments were affected.

Consequence

  • PyPI quarantined the package after about 42 minutes
  • Lightning AI says it revoked and is rotating the compromised credentials
  • Lightning AI says it regained control of its PyPI publishing access

Who caught it The publicFound outside the organization

This is a security or operational lapse at an AI company or in an AI tool, not a failure of AI output or action. It is tracked here, kept separate from incident counts, and carries no lesson.

Key dates

  1. April 30, 2026Event
  2. November 3, 2026Checked against sources

Developments are added when the record is reviewed. Next review: February 3, 2027.

Evidence

Each passage is quoted from its source. The record shows the date it was last checked.

  1. The attack targeted the distribution layer, not the source code repository.

    Supports: route

    Affected Versions: lightning 2.6.2, 2.6.3 (via PyPI only)

    Supports: versions

    On April 30, 2026, an attacker captured PyPI credentials and used them to push compromised versions of PyTorch Lightning (PTL). These versions were live for 42 minutes before PTL community members alerted us and PyPI quarantined the package.

    Supports: what happened, duration, detection

    Timeline: Affected versions were installable between 12:45:20 and 13:27:30 UTC on April 30, 2026

    Supports: window

    The PyTorch Lightning GitHub source code repository was never compromised.

    Supports: source repository

    The malicious builds contained a credential harvesting payload that executed silently the moment the package was imported.

    Supports: payload

    Stolen data was exfiltrated to an attacker-controlled command-and-control server.

    Supports: exfiltration

    We have revoked and are rotating all compromised credentials.

    Supports: response

    We have regained control of our PyPI publishing access.

    Supports: response

    We are actively working to understand how many downloads happened, which environments were affected, and the full scope of credential exposure.

    Supports: scope not yet known

    How the PyTorch Lightning Community Discovered a Supply Chain Attack and Fixed it in 42 Minutes Lightning AI Primary source

Suggested citation. Eminence Scan, “Lightning AI: Compromised Versions of the lightning Package Were Available on PyPI for 42 Minutes”, Eminence Growth Solutions, last verified November 3, 2026, https://eminencegrowthsolutions.com/tools/eminence-scan/record/fail-156/.

Using our research: you may read and quote Eminence Scan with credit to “Eminence Scan, Eminence Growth Solutions” and a link; all other rights reserved. Terms: Using our research.

Spotted an error, or a development we have missed? Report a correction. How we check records: research methodology.

Stay Connected

Follow what matters
to you and your work.

AI Cost & Governance | AI Talent & People | Vendor Intelligence
Eminence Scan | EmTrace | Eminence Edge

Choose updates by center and tool.

Choose your alerts

Research and practical tools, chosen by you.

Sign in with your email address. There is no password.