CVE-2026-26210: KTransformers unsafe deserialization in balance_serve ZMQ scheduler

CVE-2026-26210 · Severity: critical · CVSS 9.8 · Published 2026-04-23

KTransformers is an artificial intelligence framework used to run large language models efficiently on consumer hardware. A security flaw in its "balance_serve" mode allows unauthenticated attackers to remotely execute commands on the server hosting the model. This could lead to a total system takeover, theft of proprietary AI models, or unauthorized access to sensitive data processed by the AI.

Vendors: Kvcache-Ai.

Quick answers

Is CVE-2026-26210 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-26210 being exploited in the wild.
How severe is CVE-2026-26210?
Critical severity, with a CVSS score of 9.8, published 23 April 2026.
Which products and versions are affected?
Kvcache-Ai Ktransformers through 0.5.3.
Is there a fix for CVE-2026-26210?
A patch was published on 2026-04-23: Fix PR #1944 submitted to the repository Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-26210 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-26210?
Check whether you run Kvcache-Ai Ktransformers at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An unsafe deserialization vulnerability exists in KTransformers (up to version 0.5.3) within the 'balance_serve' backend mode. The scheduler RPC server (sched_rpc.py) initializes a ZeroMQ (ZMQ) ROUTER socket that binds to all network interfaces (0.0.0.0) without any authentication mechanism. Incoming messages are proxied to worker threads that process the raw bytes using the 'pickle.loads()' function without validation or a restricted unpickler. A remote, unauthenticated attacker can send a specially crafted Python pickle payload to the ZMQ port to achieve arbitrary code execution (RCE) with the privileges of the application process. While a patch has been proposed in Pull Request #1944, users are advised to avoid using the legacy 'balance_serve' mode or to restrict network access to the ZMQ ports.

Affected products

  • KVCache.AI (kvcache-ai) KTransformers through 0.5.3

Timeline

  • 2026-02-11: disclosed: Vulnerability discovered and confirmed by code audit
  • 2026-04-23: advisory: CVE published and VulnCheck advisory released
  • 2026-04-23: patched: Fix PR #1944 submitted to the repository

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.