llama.cpp's RPC server has no login. A third critical bug in five weeks landed today (CVE-2026-137567)

4 min read

How to fix CVE-2026-137567: upgrade llama.cpp to b12658 or later. Builds b11450 through b12657 let anyone who can reach an rpc-server port write outside a tensor buffer through the copy_tensor path, and rpc-server has no authentication at all. Until every RPC machine is updated, keep that port on a network you fully control.

llama.cpp's RPC server has no login. A third critical bug in five weeks landed today (CVE-2026-137567)
On this page

If you run a local model across two machines with llama.cpp, a small helper program called rpc-server links the machines so they can share the work. A flaw published today, CVE-2026-137567, lets anyone who can reach that helper's network port write into memory it should never touch. No password stands in the way. rpc-server does not have one.

The CVE record scores the flaw 9.3, critical. It sits in the RPC copy_tensor path, the code that moves tensors between machines. A crafted copy request writes outside the buffer it was given. The record does not mark the flaw as exploited, and there is no sign of attacks yet. That is the good news, and it is most of the good news.

How to fix

Upgrade llama.cpp to b12658 or later on every machine that runs rpc-server, then restart the server:

git pull && cmake --build build -j

If you installed a release build, take the b12658 release or a newer one. Builds b11450 through b12657 carry the flaw. Builds before b11450 are outside the range in the record.

Until every machine is updated, treat the RPC port as an open door. Bind rpc-server to localhost where you can, and where you cannot, keep it on a private network segment that only your own inference machines can reach. The default RPC port is 50052.

Who is actually exposed

Only people who run rpc-server. That is a smaller group than llama.cpp's user base, and it is worth saying plainly: if you run models on one machine with llama-cli or the llama-server web app, and you have never started rpc-server, this flaw cannot reach you. Nothing in your model files changes that. The flaw is not in GGUF parsing, and it is not in the HTTP API.

Check your machines in ten seconds:

pgrep -af rpc-server
ss -ltnp | grep 50052

If the first command prints nothing, you are not running the server. If the second one shows the port listening on a shared or office network, that machine is the one to update first.

Why this one is a pattern, not an accident

This is the third serious flaw in the ggml RPC server in about five weeks. In October, a stack overflow in the RDMA receive path (CVE-2026-118375, scored 9.2) let an unauthenticated peer pour up to 256 KiB into a 1-byte stack variable; the fix landed in b11865. On November 23, a separate record (CVE-2026-132615) described the server handing new clients buffers that still held a previous client's data, model weights and KV cache included, because alloc_buffer never cleared them.

Security researcher Chris Rohlf went through this code in 2025 and wrote up what he found: the design lacks authentication, sandboxing and other basic controls, and the maintainers have documented the lack of security on the RPC server themselves. His conclusion was that the server should not sit on any public interface until the design is hardened. CVE-2026-137567 does not change that picture. It confirms it.

Upgrade to b12658, because this specific write is fixed there. Then look at where rpc-server listens, because the next RPC flaw is a matter of time, and the port has no login to slow anyone down.

What this is not

This is not a bug in a model you downloaded, not a flaw in llama-server's chat endpoints, and not an authentication bypass. There is no authentication on the RPC port to bypass.

Am I affected if I only run models on one computer?

No. The flaw lives in the RPC server that links two or more machines. A single-machine setup that never starts rpc-server has no RPC port and no exposure. If you do run rpc-server, check the build: b11450 through b12657 are affected, b12658 fixes it.

The full source record for this flaw is the HOL Guard evidence page for CVE-2026-137567. If your agents run local models through shared machines, HOL Guard can check what your agent setup touches.

Related reading: our write-up of the LiteLLM MCP command flaw (CVE-2026-136535), where the vendor disputed the CVE, and the Microsoft Agent Framework PyPI compromise.

CVE-2026-137567 questions

Reviewed . 2 questions.

Am I affected if I only run models on one computer?

No. The flaw lives in the RPC server that links two or more machines. A single-machine setup that never starts rpc-server has no RPC port and no exposure. If you do run rpc-server, check the build: b11450 through b12657 are affected, b12658 fixes it.

How do I fix CVE-2026-137567?

Upgrade llama.cpp to b12658 or later on every machine that runs rpc-server, then restart the server. Until every machine is updated, bind rpc-server to localhost where you can and keep its port, 50052 by default, on a private network only your own inference machines can reach.

Sources

  1. HOL Guard evidence page for CVE-2026-137567 — 2026-11-26
All articles

Keep exploring

The engineering desk continues across the ecosystem: security research on shipping agents safely, and plugins that put the standards to work.