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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| kvcache-ai | ktransformers | ≤ 0.5.3 | — |
References
- https://chocapikk.com/posts/2026/ktransformers-pickle-rce/ technical-description exploit
- https://github.com/kvcache-ai/ktransformers/pull/1944 issue-tracking patch
- https://www.vulncheck.com/advisories/ktransformers-unsafe-deserialization-rce-via-balance-serve third-party-advisory