You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CVE-2026-58659 still reported for lightning 2.6.6 — suspected advisory-version mismatch #21970
After upgrading the PyPI package lightning to 2.6.6, our Anchore container scan continues to report CVE-2026-58659. Could you confirm whether this version contains the complete fix and whether the advisory’s affected/patched version metadata needs correction?
Our scan reports:
Field
Value
Package
lightning
Installed version
2.6.6
Package URL
pkg:pypi/lightning@2.6.6
Vulnerability
CVE-2026-58659
Scanner-reported fixed version
0!2022.6.15
Severity
High
Platforms
linux/amd64, linux/arm64
Scan date
September 21, 2026
There are two findings for this CVE, one per architecture. The package is detected through lightning-2.6.6.dist-info/METADATA.
However, [GHSA-qqmf-gpg7-g8gw](GHSA-qqmf-gpg7-g8gw) lists affected versions as < 2022.6.15 and the patched version as 2022.6.15, while its description says the vulnerability affects versions through 2.6.5.
This appears to be an advisory-version mismatch causing a false-positive match against 2.6.6.
Could you please:
Confirm that the PyPI distribution lightning==2.6.6 addresses CVE-2026-58659?
Confirm the correct affected-version range and first patched release?
Provide an authoritative reference we can share with our scanner/security team, and advise where the advisory metadata should be corrected?
We are requesting confirmation and metadata review.
Thank you.
What version are you seeing the problem on?
v2.6
Reproduced in studio
No response
How to reproduce the bug
Error messages and logs
# Error messages and logs here please
Environment
Current environment
#- PyTorch Lightning Version (e.g., 2.6.0):
#- PyTorch Version (e.g., 2.5):
#- Python version (e.g., 3.12):
#- OS (e.g., Linux):
#- CUDA/cuDNN version:
#- GPU models and configuration:
#- How you installed Lightning(`conda`, `pip`, source):
Yes, lightning==2.6.6 includes the fix for CVE-2026-58659 (#21832). We checked the published 2.6.6 wheels and sdists on PyPI, and they're identical to the 2.6.6 release assets.
Affected versions:< 2.6.6. First patched version:2.6.6. This applies to both lightning and pytorch-lightning. lightning-fabric is not affected.
You were right about the mismatch. The GHSA listed 2022.6.15 as the fixed version, which isn't a real lightning release. It was corrected to 2.6.6 on 2026-09-24. After your scanner's vulnerability database updates, the finding on 2.6.6 should clear.
It seems like there might be a mismatch between the reported fixed version and the version you're using. Have you checked if the advisory's metadata aligns with the latest release notes?
Activity
chore(release): ignore CVE-2026-58659 false positive in trivy scan
bhimrazy commentedon Sep 25, 2026
Hi @narasimha-123, thanks for the detailed report!
lightning==2.6.6includes the fix for CVE-2026-58659 (#21832). We checked the published 2.6.6 wheels and sdists on PyPI, and they're identical to the 2.6.6 release assets.< 2.6.6. First patched version:2.6.6. This applies to bothlightningandpytorch-lightning.lightning-fabricis not affected.lightning)pytorch-lightning)You were right about the mismatch. The GHSA listed
2022.6.15as the fixed version, which isn't a reallightningrelease. It was corrected to2.6.6on 2026-09-24. After your scanner's vulnerability database updates, the finding on 2.6.6 should clear.cc: @ethanwharris @justusschock
modelpath-dev commentedon Sep 28, 2026
It seems like there might be a mismatch between the reported fixed version and the version you're using. Have you checked if the advisory's metadata aligns with the latest release notes?