{
  "id": "CVE-2026-31221",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31221",
  "published_at": "2026-05-12T00:00:00Z",
  "cvss": {
    "score": 8.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-502",
  "cpes": [
    "cpe:2.3:a:lightningai:pytorch_lightning:*:*:*:*:*:python:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 8.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "pytorch-lightning",
        "ranges": [
          "\u003c= 2.6.0"
        ],
        "fixed_in": null,
        "ecosystem": "PyPI",
        "advisory": "GHSA-75m9-98v2-hjpm"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
