{"id":"PYSEC-2026-3968","details":"pytorch-lightning is vulnerable to Deserialization of Untrusted Data","aliases":["CVE-2021-4118","GHSA-2vj5-px25-gjrp","PYSEC-2021-874"],"modified":"2026-09-10T17:26:03.425101162Z","published":"2026-09-10T16:42:38.525571Z","references":[{"type":"FIX","url":"https://github.com/pytorchlightning/pytorch-lightning/commit/62f1e82e032eb16565e676d39e0db0cac7e34ace"},{"type":"WEB","url":"https://huntr.dev/bounties/31832f0c-e5bb-4552-a12c-542f81f111e6"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2vj5-px25-gjrp"}],"affected":[{"package":{"name":"lightning","ecosystem":"PyPI","purl":"pkg:pypi/lightning"},"ranges":[{"type":"GIT","repo":"https://github.com/pytorchlightning/pytorch-lightning","events":[{"introduced":"0"},{"fixed":"62f1e82e032eb16565e676d39e0db0cac7e34ace"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}],"versions":["0.0.2","0.10.0","0.2","0.2.2","0.2.3","0.2.4","0.2.4.1","0.2.5","0.2.5.1","0.2.5.2","0.2.6","0.3","0.3.1","0.3.2","0.3.3","0.3.4","0.3.4.1","0.3.5","0.3.6","0.3.6.1","0.3.6.3","0.3.6.4","0.3.6.5","0.3.6.6","0.3.6.7","0.3.6.8","0.3.6.9","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","0.4.8","0.4.9","0.5.0","0.5.1","0.5.1.2","0.5.1.3","0.5.2","0.5.2.1","0.5.3","0.5.3.1","0.5.3.2","0.5.3.3","0.6.0","0.7.1","0.7.3","0.7.5","0.7.6","0.8.1","0.8.3","0.8.4","0.8.5","0.9.0","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.1.7","1.1.8","1.2.0","1.2.0rc0","1.2.0rc1","1.2.0rc2","1.2.1","1.2.10","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","1.3.0","1.3.0rc1","1.3.0rc2","1.3.0rc3","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.7.post0","1.3.8","1.4.0","1.4.0rc0","1.4.0rc1","1.4.0rc2","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9","1.5.0","1.5.0rc0","1.5.0rc1","1.5.1","1.5.10","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8","1.5.9","1.6.0rc0","1.6.0rc1","1.3.0rc0","1.1.0rc2","1.1.0rc1","0.8.2","0.8.0","0.7.4","0.7.2","0.7.0","0.2.1","0.1.2","0.1.1","0.0.1"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/lightning/PYSEC-2026-3968.yaml"}}],"schema_version":"1.9.0"}