# CVE-2026-62997: Kedro-Datasets: Remote code execution in experimental \`PyTorchDataset\` via unsafe \`torch.load\`

- Priority: **Routine**
- Reason: Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-16 · Modified: 2026-09-17
- Record: https://cvemate.com/vulnerability/CVE-2026-62997 · JSON: https://cvemate.com/vulnerability/CVE-2026-62997/json

## Description

```text
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.
```

## Signals

- CVSS: 7.7 high (v4.0, CVE.org) 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
- EPSS: 0.394%, percentile 35.757%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- kedro-org kedro-plugins: ≥ 5.0.0, \< 9.5.0

## References

- <https://github.com/kedro-org/kedro-plugins/security/advisories/GHSA-f9q4-h45w-jrrq>
- <https://github.com/kedro-org/kedro-plugins/issues/1431>
- <https://github.com/kedro-org/kedro-plugins/pull/1433>
- <https://github.com/kedro-org/kedro-plugins/commit/4d6deb7a7ecba483d33fd43e2a6c063bcf22f413>
- <https://github.com/kedro-org/kedro-plugins/releases/tag/kedro-datasets-9.5.0>

---

Data as of 2026-12-05T10:24:42.797Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
