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.
https://github.com/pytorch/pytorch/security/policy#using-distributed-features
https://github.com/pytorch/pytorch/issues/129228
https://gist.github.com/hexian2001/c046c066895a963ecc0a2cf9e1180065