GHSA-cgwc-qvrx-rf7f · Severity: critical · Ecosystem: pip — Remote code execution in pytorch lightning
A remote code execution (RCE) vulnerability exists in the lightning-ai/pytorch-lightning library version 2.2.1 due to improper handling of deserialized user input and mismanagement of dunder attributes by the `deepdiff` library. The library uses `deepdiff.Delta` objects to modify application state based on frontend actions. However, it is possible to bypass the intended restrictions on modifying dunder attributes, allowing an attacker to construct a serialized delta that passes the deserializer whitelist and contains dunder attributes. When processed, this can be exploited to access other modules, classes, and instances, leading to arbitrary attribute write and total RCE on any self-hosted pytorch-lightning application in its default configuration, as the delta endpoint is enabled by default.
Conclusion & alert: CVE-2024-5452 is rated High Exploit Risk (83.5/100): CVSS Critical severity, with high exploitation likelihood (EPSS 50.54%, 98th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-24 | 58.71% | 50.54% | -8.17% |
| 2 | 2026-05-22 | 62.62% | 58.71% | -3.91% |
| 3 | 2026-05-02 | — | 62.62% | — |
Full EPSS history (20 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 9.8 | 3.0 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-cgwc-qvrx-rf7f · Severity: critical · Ecosystem: pip — Remote code execution in pytorch lightning
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| lightningai | pytorch_lightning | < 2.3.3 | cpe:2.3:a:lightningai:pytorch_lightning:*:*:*:*:*:python:*:* |