KTransformers Unsafe Deserialization RCE via balance_serve
kvcache-ai ktransformers
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| kvcache-ai ktransformers |
| No fix yet |
Original description
KTransformers through 0.5.3 contains an unsafe deserialization vulnerability in the balance_serve backend mode where the scheduler RPC server binds a ZMQ ROUTER socket to all interfaces with no authentication and deserializes incoming messages using pickle.loads() without validation. Attackers can send a crafted pickle payload to the exposed ZMQ socket to execute arbitrary code on the server with the privileges of the ktransformers process.
From the CVE record · VulnCheck