Skip to content

[GHSA-qqmf-gpg7-g8gw] Add pytorch-lightning as affected package; correct lightning fixed version - #9771

Open
arielbosa wants to merge 1 commit into
github:arielbosa/advisory-improvement-9771from
arielbosa:arielbosa-GHSA-qqmf-gpg7-g8gw-v2
Open

arielbosa wants to merge 1 commit into
github:arielbosa/advisory-improvement-9771from
arielbosa:arielbosa-GHSA-qqmf-gpg7-g8gw-v2

Conversation

@arielbosa

Copy link
Copy Markdown

Updates

  • Affected products

Comments

This PR makes two corrections to the affected-package data for GHSA-qqmf-gpg7-g8gw / CVE-2026-58659, and supersedes #9770 (created via the "Suggest improvements" portal, so I cannot amend its branch).

1. Add pytorch-lightning (PyPI) as an affected package, fixed in 2.6.6

The advisory currently lists only the lightning distribution, but the same vulnerable load_from_checkpoint implementation ships in the pytorch-lightning PyPI package:

  • The upstream report (Lightning-AI/pytorch-lightning#21822) reproduces the issue through pytorch_lightning.
  • The pytorch-lightning==2.6.6 wheel on PyPI contains the fix: the _ALLOWED_INSTANTIATORS allowlist in pytorch_lightning/core/saving.py that blocks untrusted _instantiator import paths (fix commit d710d68 was cherry-picked onto the release branch, which is why it is not an ancestor of the 2.6.6 tag).
  • This database already tracks pytorch-lightning for the same API in GHSA-75m9-98v2-hjpm (<= 2.6.0).

Without this entry, users of the pytorch-lightning distribution receive no alert.

2. Correct the lightning fixed boundary from 2022.6.15 to 2.6.6

lightning==2022.6.15 does not exist on PyPI, and under PEP 440 version ordering 2022.6.15 sorts above every 2.x release, so the current range (introduced: 0, fixed: 2022.6.15) permanently flags even patched users. The correct boundary is 2.6.6, consistent with the advisory text ("through 2.6.5") and the release that ships the fix.

Relationship to #9770

#9770 contains only the lightning boundary fix and accidentally removed the CVSS v3 vector (a portal form artifact). This PR includes the boundary fix, adds the missing pytorch-lightning entry, and preserves the CVSS v3 vector. Please close #9770 in favor of this one.

🤖 Generated with Claude Code

The same vulnerable load_from_checkpoint implementation ships in the
pytorch-lightning distribution; fixed in 2.6.6. Also corrects the
lightning fixed boundary from the nonexistent 2022.6.15 to 2.6.6.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The package additions and fixed boundaries match the upstream 2.6.6 security release.

Review effort: Balanced
Findings: None

What changed in this PR

Corrects affected-package data for GHSA-qqmf-gpg7-g8gw.

Changes:

  • Corrects lightning fixed version to 2.6.6.
  • Adds pytorch-lightning as affected before 2.6.6.
File Description
advisories/​github-reviewed/​2026/​07/​GHSA-qqmf-gpg7-g8gw/​GHSA-qqmf-gpg7-g8gw.json Updates affected PyPI package ranges.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions
github-actions Bot changed the base branch from main to arielbosa/advisory-improvement-9771 September 24, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants