Skip to content
HighVulnerability

CVE-2026-62997: Kedro-Datasets PyTorchDataset code execution via unsafe torch.load

Identifier
CVE-2026-62997
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%

Summary

Kedro-Datasets versions 5.0.0 through 9.5.0 have a flaw in kedro_datasets_experimental.pytorch.PyTorchDataset, which loads .pt model files with torch.load without enforcing weights_only=True and silently drops user-supplied load_args. On PyTorch versions earlier than 2.6, a malicious pickle-backed model from an attacker-influenced source can execute arbitrary code when a Kedro pipeline loads it. The issue affects only the opt-in experimental component.

Mitigation

Fixed in version 9.5.0.