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.
Severity (CVSS)
| Base score | 7.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-502 — CWE-502: Deserialization of Untrusted Data
Affected products
| Vendor | Product | Versions |
|---|---|---|
| kedro-org | kedro-plugins | >= 5.0.0, < 9.5.0 |
References
- https://github.com/kedro-org/kedro-plugins/security/advisories/GHSA-f9q4-h45w-jrrq (x_refsource_CONFIRM)
- https://github.com/kedro-org/kedro-plugins/issues/1431 (x_refsource_MISC)
- https://github.com/kedro-org/kedro-plugins/pull/1433 (x_refsource_MISC)
- https://github.com/kedro-org/kedro-plugins/commit/4d6deb7a7ecba483d33fd43e2a6c063bcf22f413 (x_refsource_MISC)
- https://github.com/kedro-org/kedro-plugins/releases/tag/kedro-datasets-9.5.0 (x_refsource_MISC)
Generated from the official CVE List on 17 Sep 2026 07:04 UTC.