Skip to content
Fencer Vulns
high 7.8

CVE-2021-4118 json

Deserialization of Untrusted Data in pytorchlightning/pytorch-lightning

published 2021-12-23 4 y ago modified 2026-09-10 59 d ago also GHSA-2vj5-px25-gjrp , PYSEC-2021-874 , PYSEC-2026-3968 , EUVD-2021-0212

cvss
7.8
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 63%
public exploits
0
none known

Summary

pytorch-lightning is vulnerable to Deserialization of Untrusted Data

Patch / fix

  • pypi pytorch-lightning 1.6.0
  • pypi lightning 1.6.0
  • pytorchlightning pytorchlightning/pytorch-lightning 1.6

Exploit prediction

1.02% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • huntr.dev https://huntr.dev/bounties/31832f0c-e5bb-4552-a12c-542f81f111e6 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
pypi pytorch-lightning
<1.6.0
1.6.0
pypi lightning
<1.6.0
1.6.0

Affected products

  • pytorchlightning pytorchlightning/pytorch-lightning

Classification

Weakness
  • CWE-502 Deserialization of Untrusted Data

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.