{"action":"Upgrade pytorch-lightning to 2.6.6 or later.","affected":[{"fixed":"2.6.6","introduced":"0"}],"component":"pytorch-lightning","cve_ids":["CVE-2026-58659"],"ecosystem":"PyPI","epss":0.00626,"exploited":false,"fixed_versions":["2.6.6"],"ghsa_id":"GHSA-qqmf-gpg7-g8gw","id":"tcs_01M5KH8ZMH8BDJZCCD52B8JC8G","modified_at":"2026-09-10T17:00:03.267154781Z","published_at":"2026-07-15T18:16:48.743Z","references":["https://osv.dev/vulnerability/PYSEC-2026-3967","https://github.com/Lightning-AI/pytorch-lightning/issues/21822","https://github.com/Lightning-AI/pytorch-lightning/commit/d710d689510d50e800f53b3cd773cbca20b1f86f","https://github.com/Lightning-AI/pytorch-lightning/pull/21832","https://www.vulncheck.com/advisories/pytorch-lightning-arbitrary-code-execution-via-instantiator-hyperparameter","https://github.com/Lightning-AI/pytorch-lightning/releases/tag/2.6.6","https://github.com/advisories/GHSA-qqmf-gpg7-g8gw"],"severity":{"label":"unknown"},"sources":[{"source":"osv","source_id":"PYSEC-2026-3967","url":"https://osv.dev/vulnerability/PYSEC-2026-3967"}],"summary":"PyTorch Lightning through 2.6.5, fixed in commit d710d68, contains a remote code execution vulnerability in the _load_state function that imports and executes attacker-controlled module names from che"}