Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/pytorch-lightning@2.5.0
Typepypi
Namespace
Namepytorch-lightning
Version2.5.0
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version2.6.1
Latest_non_vulnerable_version2.6.1
Affected_by_vulnerabilities
0
url VCID-dpzd-6sun-a7av
vulnerability_id VCID-dpzd-6sun-a7av
summary PyTorch-Lightning versions 2.6.0 and earlier contain an insecure deserialization vulnerability (CWE-502) in the checkpoint loading mechanism. The LightningModule.load_from_checkpoint() method, which is commonly used to load saved model states, internally calls torch.load() without setting the security-restrictive weights_only=True parameter. This default behavior allows the deserialization of arbitrary Python objects via the Pickle module. A remote attacker can exploit this by providing a maliciously crafted checkpoint file, leading to arbitrary code execution on the victim's system when the file is loaded.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-31221
reference_id
reference_type
scores
0
value 0.00191
scoring_system epss
scoring_elements 0.41049
published_at 2026-06-12T12:55:00Z
1
value 0.00191
scoring_system epss
scoring_elements 0.40883
published_at 2026-06-11T12:55:00Z
2
value 0.00206
scoring_system epss
scoring_elements 0.43093
published_at 2026-06-14T12:55:00Z
3
value 0.00206
scoring_system epss
scoring_elements 0.43102
published_at 2026-06-13T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-31221
1
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-31221
reference_id
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-31221
2
reference_url https://www.notion.so/CVE-2026-31221-35d1e1393188815f8db7c4fd08076639
reference_id CVE-2026-31221-35d1e1393188815f8db7c4fd08076639
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-05-15T18:02:25Z/
url https://www.notion.so/CVE-2026-31221-35d1e1393188815f8db7c4fd08076639
3
reference_url https://github.com/advisories/GHSA-75m9-98v2-hjpm
reference_id GHSA-75m9-98v2-hjpm
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-75m9-98v2-hjpm
4
reference_url https://github.com/Lightning-AI/pytorch-lightning
reference_id pytorch-lightning
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-05-15T18:02:25Z/
url https://github.com/Lightning-AI/pytorch-lightning
fixed_packages
0
url pkg:pypi/pytorch-lightning@2.6.1
purl pkg:pypi/pytorch-lightning@2.6.1
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/pytorch-lightning@2.6.1
aliases CVE-2026-31221, GHSA-75m9-98v2-hjpm
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-dpzd-6sun-a7av
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/pytorch-lightning@2.5.0