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

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 48% of CVEs (2026-11-30)
- Published: 2026-09-16T20:48:44.536Z
- Modified: 2026-09-30T17:51:56.193Z
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## 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>

## Sources

- CVE List: [CVE-2026-62997](https://www.cve.org/CVERecord?id=CVE-2026-62997), CVE Terms of Use, modified 2026-09-17
- NVD: [CVE-2026-62997](https://nvd.nist.gov/vuln/detail/CVE-2026-62997), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-62997 · Whole record: https://cve.day/CVE-2026-62997.json · Rebuilt by cve.day 2026-11-25T22:59:39.133Z
