CyberRota Analysis
AI-GeneratedKedro-Datasets versions 5.0.0 to 9.5.0 are vulnerable due to the PyTorchDataset component's improper handling of .pt model files, which allows for arbitrary code execution when loading untrusted models. This vulnerability primarily affects users who utilize the experimental dataset component and may inadvertently load malicious models from untrusted sources. Organizations using Kedro with the experimental datasets feature should prioritize upgrading to version 9.5.0 to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Kedro-Datasets provides data connectors for Kedro. From version 5.0.0 until 9.5.0, kedro_datasets_experimental.pytorch.PyTorchDataset in kedro-datasets loads .pt model files with torch.load without enforcing weights_only=True, and user-supplied load_args are silently dropped. On PyTorch versions earlier than 2.6, a malicious pickle-backed model from an attacker-influenced shared registry, downloaded checkpoint, or partitioned external source can execute arbitrary code when a Kedro pipeline loads it. The issue affects only the opt-in kedro_datasets_experimental component and does not affect users who load only trusted files. This issue is fixed in version 9.5.0.