PyTorch Lightning Arbitrary Code Execution via _instantiator Hyperparameter
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lightning-AI | pytorch-lightning | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lightningai | Pytorch Lightning |
|
||||||||||||
| Lightningai | Pytorch Lightning |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-qqmf-gpg7-g8gw | PyTorch Lightning allows arbitrary code execution through checkpoint _instantiator hyperparameters |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.626% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-502 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | PyTorch Lightning through 2.6.5, fixed in commit d710d68, contains a remote code execution vulnerability in the _load_state function that imports and executes attacker-controlled module names from checkpoint _instantiator hyperparameters. Attackers can craft malicious checkpoint files that bypass weights_only=True protections to execute arbitrary code when LightningModule.load_from_checkpoint is called. | |
| Title | PyTorch Lightning Arbitrary Code Execution via _instantiator Hyperparameter | |
| First Time appeared |
Lightningai
Lightningai pytorch Lightning |
|
| Weaknesses | CWE-470 | |
| CPEs | cpe:2.3:a:lightningai:pytorch_lightning:*:*:*:*:*:python:*:* | |
| Vendors & Products |
Lightningai
Lightningai pytorch Lightning |
|
| References |
|
|
| Metrics |
cvssV3_1
|