CriticalVulnerability
MAL-2026-3201: Malicious code in lightning (PyPI)
- Source
- OSV(opens in a new tab)
- Published
- Record updated
- Affected
- lightning = 2.6.2, = 2.6.3
- Fixed in
- No fixed version was stated when the source was last read.
Summary
Versions 2.6.2 and 2.6.3 of the lightning package on PyPI were compromised with injected code. The code runs automatically on import, downloads a legitimate JavaScript runtime, and executes a bundled JavaScript infostealer that harvests credentials, cryptocurrency data and shell history. It also attempts to spread to other repositories and packages using the credentials it finds.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- lightningPyPILLM dependency since 2025-10-26, 3 tracked dependents
Related items
- HighCVE-2026-128877: IBM Langflow OSS 1.0.0 through 1.13.0 agentic MCP endpoint uses an internal client to send requests to the server's own…Similar attack, NVD/CVE Database
- MediumCVE-2026-120038: IBM Langflow OSS credential exposure via attacker-controlled OpenAI base_urlSimilar attack, NVD/CVE Database
- MediumCVE-2026-136957: Sonatype Nexus Repository 3 HuggingFace proxy download token verification flawSimilar attack, NVD/CVE Database
- HighCVE-2026-142134 - Uncontrolled search path element in the workflow linting tools in AWS HealthOmics MCP ServerSimilar attack, AWS Security Bulletins
- HighCVE-2026-142134: AWS HealthOmics MCP Server uncontrolled search path in workflow linting toolsSimilar attack, NVD/CVE Database