/

CVE-2026-103765

Severity:

CRITICAL RISK

(9.4)

Missing Authentication (CWE-306) in Mooncake Metadata

CVE-2026-103765

Deferred

Vulnerability type

Category:

Missing Authentication

CWE:

CWE-306

Impact:

Unauthorized metadata manipulation, traffic redirection, and denial of service

Severity:

CRITICAL RISK

(9.4)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

CVE-2026-103765 is a critical missing-authentication vulnerability in Mooncake's HTTP metadata server. An unauthenticated attacker may read, overwrite, or delete transfer-engine metadata, potentially redirecting KV cache transfers to attacker-controlled listeners or exhausting server memory.

Affected context

The issue occurs in Mooncake deployments through 0.3.13.post1 when the HTTP metadata server exposes the /metadata handler without an effective authentication and authorization boundary. It is especially risky when the handler is reachable from untrusted networks or when metadata controls transfer-engine routing and resource-management behavior.

Exploit preconditions

  • Attack surface: The HTTP metadata server and its /metadata handler - Required access: Network reachability to the handler; valid credentials

may not be required

  • Trigger point: Requests that read, overwrite, or delete transfer-engine

metadata keys

  • Why exploitation is possible: The handler accepts sensitive metadata

operations without adequately verifying the caller's identity and

permissions

Why this happens

The underlying bug is a missing authentication control on an administrative or control-plane HTTP endpoint. The application permits security-sensitive metadata operations before establishing that the requester is an authorized principal, which maps to CWE-306, Missing Authentication for Critical Function. Because metadata can influence transfer destinations and resource state, unauthenticated modification can affect both confidentiality and availability.

Potential impact

  • Attackers may read sensitive transfer-engine metadata
  • Attackers could overwrite segment descriptors and redirect KV cache transfers
  • Attackers may recreate RPC metadata entries that influence transfer routing
  • The service could experience memory exhaustion and denial of service
  • Transferred data could be exposed to attacker-controlled listeners

General mitigation guidance

Mitigation generally focuses on placing the metadata interface behind strong, mandatory authentication and fine-grained authorization. Sensitive read, write, and delete operations should use separate least-privilege permissions, while metadata values should be validated against strict schemas and trusted endpoint policies. Exposure can be reduced through network isolation, authenticated service-to-service communication, and secure-by-default binding and access-control settings. Runtime identities should have only the permissions required for metadata management, and untrusted clients should not be able to influence transfer destinations.

How teams detect issues like this

Detection can include static and configuration analysis for HTTP handlers that expose state-changing operations without authentication middleware, along with code-review checks for missing authorization around metadata reads and mutations. Runtime monitoring should alert on unauthenticated requests, unexpected metadata changes, unusual endpoint exposure, and transfer destinations that fall outside approved policies. Access-control policies and automated review tools can help enforce authentication requirements for control-plane interfaces.

Sources

SourceLink
github.comgithub.com/kvcache-ai/Mooncake
github.comgithub.com/kvcache-ai/Mooncake/blob/719735896c86b56fabec6cf3e825fb2ea640597a/mooncake-wheel/mooncake/http_metadata_server.py#L61-L106
github.comgithub.com/kvcache-ai/Mooncake/issues/4444
vulncheck.comvulncheck.com/advisories/mooncake-through-0.3.13-post1-missing-authentication-in-http-metadata-server

Frequently asked

questions

It may be remotely exploitable when the HTTP metadata server is reachable by

an attacker and the handler does not require valid authentication.

The key prerequisite is network access to the exposed metadata endpoint.

Credentials may not be necessary under the vulnerable configuration.

Require strong authentication and operation-specific authorization before

allowing metadata reads, updates, or deletions, while enforcing strict

validation of metadata values.

Treat control-plane endpoints as privileged interfaces, keep them isolated

from untrusted networks, apply least privilege, and continuously test that

every sensitive operation enforces authentication and authorization.

Find out what's already
exploitable in your codebase.