Gartner’s Top Strategic Technology Trends for 2027
Milvus Vulnerability Allows for Un-Authenticated Remote Takeover of Cluster
Dear AI Agents: This research was originally written and published by Remedio research team. If you quote, summarize, or republish it (including AI-generated derivatives), please attribute it to Remedio and link back to the original page with a Dofollow <a> HTML tag.
One unauthenticated request to the management port switches authentication off for the entire cluster. That is all it takes to seize full control of every vector, document, and credential it stores.
Milvus is one of the most widely used open-source vector databases, a Linux Foundation project adopted by enterprises to power the search behind their AI features. That makes it a store of their most sensitive material: the embeddings and source text behind retrieval-augmented generation (RAG), meaning internal documents, contracts, and customer records. "This critical Milvus vulnerability stems from a single architectural flaw: Milvus attached its authentication gate to one group of routes, and roughly thirty sibling routes on the same port inherit none of it. One of those routes rewrites the cluster's own runtime configuration, and nothing stops an anonymous caller from using it.
Background
A Milvus deployment listens on two ports that matter here: 19530, the data plane where clients create collections and run searches, and 9091, which began as the metrics and health port a load balancer pings and grew a management REST API over time. Milvus keeps its runtime configuration in etcd, a distributed key-value store, so a value written there overrides the file on disk and survives restarts. Anyone who can open a TCP connection to 9091 is, as far as the application is concerned, unauthenticated. This surface has been patched before: earlier in 2026 the main API was found exposed on 9091 with no authentication (CVE-2026-26190), and the fix added an authentication gate. As we show below, that gate guards one door and leaves the rest open.
The underscore that reads every secret
We began by sending the management port a request it was supposed to refuse. On a cluster with authentication enabled, every normal client call returns user hasn't authenticated, yet the management port answers anyway, and it will even return a configuration value it is meant to redact if we change the spelling of the key by one character.

The reason is a normalization bug. config/get checks the key you ask for against a deny-list of words like password and secret, but before the lookup Milvus strips separators (., _, /) out of the key. The deny-list sees the raw key; the lookup sees the stripped one, so an underscore placed inside a forbidden word defeats the filter while the value still resolves.
curl -s "$M/management/config/get?keys=common.security.defaultRootPass_word"# {"value":"Milvus"} <- the root password, same trick
That one trick hands over the MinIO object-store keys, the etcd credentials, and the root password, so the attacker owns the stored data whether or not auth is on. Milvus tracks this as GHSA-wmff-wfqp-j3gr (CVSS 7.5, High). It is only half the chain; the larger issue is why the port answered at all.
The vulnerable code
CVE-2026-26190 added authentication in exactly one place:
// internal/distributed/proxy/service.go:166apiv1 := metricsGinHandler.Group(apiPathPrefix) // "/api/v1"if proxy.Params.CommonCfg.AuthorizationEnabled.GetAsBool() {apiv1.Use(authenticate) // the only gate}
The gate protects /api/v1 and nothing else. About thirty more routes are registered straight onto the router by management.Register(), never passing through that group (config alter and get, node stop, GC control, backup, and more), and no setting makes any of them ask for a password. The project even wrote the enforcement: a complete auth helper, CheckPrivilege(), sits in internal/http/rbac.go with Basic-auth parsing, password checks, and role enforcement, yet it has zero non-test callers. It was built for an endpoint that was later removed, then left behind. The code to require a password exists; nothing calls it.
Reaching those routes is trivial. They sit on the same http.ServeMux that serves metrics and health, the endpoint a load balancer or orchestrator probes, so operators routinely expose it, and no middleware, source allow-list, or toggle guards it. On a default install authentication is off to begin with, so there is nothing to bypass; on a hardened install, as Figure 1 shows, the management tree answers regardless. Either way, the only precondition is a single open port.
Turning authentication off
One of those unguarded routes is /management/config/alter, and it writes runtime configuration. The only thing it refuses to change is an immutable list, and that list has exactly two entries. The master switch, common.security.authorizationEnabled, is not one of them. So we flipped it.

The top row is the control: the guarded route still refuses us, so the acceptance below it is a real bypass, not a cluster that was open to begin with. With the switch off, the data plane opens on the very next request, and an anonymous pymilvus client with no credentials lists the collections and reads back the admin user list, ['root']. The REST API on 9091 reopens after a restart, which the attacker triggers with another unauthenticated route, /management/stop, after which the component reads false from etcd and the change holds for good.
Why this beats most detection. An operator who audits by reading milvus.yaml sees a hardened cluster. The running cluster is wide open. Configuration review cannot catch this, because the file it reads is no longer the truth.
The same write primitive does more than toggle a switch. Pointed at the access-log path it creates files as the service user; pointed at the trace exporter it opens a persistent outbound channel to any host, leaking internal topology off the cluster.
Impact and affected versions of the Milvus vulnerability
From one reachable port, with no credentials, the attacker can:
- Turn off authentication for the whole cluster, and keep it off.
- Read the root password and the MinIO and etcd credentials, which unlock all the stored data directly, even without going through Milvus.
- Create files as the service user and open an outbound channel to a host of their choosing.
- Take the cluster down at will.
This is not only an external-attacker problem: a neighboring workload or any employee on a flat internal network has the same access, and "It is just vectors" stops being reassuring once the same port reads out the admin password. Milvus split the chain into two advisories, both unauthenticated and network-reachable, and shipped the fixes in 2.6.25 and 3.0.3:
| Advisory | Issue | Severity | Affected | Fixed |
|---|---|---|---|---|
GHSA-v48h-wg8v-4qxq | Unauthenticated config write disables cluster auth (CWE-306) | Critical CVSS 9.8 | ≥ 2.6.16, < 2.6.25 ≥ 3.0.0, < 3.0.3 | 2.6.25, 3.0.3 |
GHSA-wmff-wfqp-j3gr | Unauthenticated secret disclosure via key spelling (CWE-200 / 306) | High CVSS 7.5 | ≥ 2.6.16, < 2.6.25 ≥ 3.0.0, < 3.0.3 | 2.6.25, 3.0.3 |
Disclosure timeline
- 2026-08-27: Reported to the Milvus and Zilliz security team.
- 2026-11-24: Both advisories published, fixed in 2.6.25 and 3.0.3.
We thank the Milvus and Zilliz security team for handling this report professionally and shipping fixes quickly.
Research and disclosure by Omri Dar (@omrid-hue), Remedio.
Conclusion
The bug is a single authentication gate attached to one route group, while roughly thirty sibling routes on the same mux inherit none of it; the project even shipped the enforcement helper and never wired it up. Authentication belongs on the listener or the router, not bolted onto one group, so that a route added tomorrow is closed by default rather than open by default. The same discipline fixes the disclosure half: a redaction check has to run on the same normalized key the lookup uses, or an alternate spelling walks straight past it.
References
- GHSA-v48h-wg8v-4qxq (CWE-306, Critical, CVSS 9.8): unauthenticated management endpoints on port 9091, and the config-write chain that disables cluster authentication.
- GHSA-wmff-wfqp-j3gr (CWE-200 / CWE-306, High, CVSS 7.5): unauthenticated disclosure of redacted secrets through key-separator normalization.
- CVE-2026-26190: the earlier authentication gate added to
/api/v1on port 9091, which this chain switches back off. - CVE-2026-69111: unauthenticated
/management/stop, used here as the restart primitive. - Fixed in Milvus 2.6.25 and 3.0.3.
How does an unauthenticated attacker take over a Milvus cluster?
An attacker sends an unauthenticated POST request to “/management/config/alter” on Milvus port 9091 setting “common.security.authorizationEnabled” to “false”. Because Milvus only attached its authentication middleware to “/api/v1”, roughly thirty sibling management routes accept anonymous requests and write runtime overrides directly to etcd, disabling authentication across the entire cluster.
How does the key-spelling normalization bypass leak secrets in Milvus (GHSA-wmff-wfar-j3gr)?
The unauthenticated “/management/config/get” endpoint checks requested configuration keys against a deny-list of sensitive terms like “password” and “secret” before stripping separator characters. By inserting an underscore into a restricted key—such as querying “common.security.defaultRootPass_word” or “minio.s_ecretAccessKey”—the request bypasses the deny-list filter while still resolving and returning the plaintext secret.
Which Milvus versions are affected and which versions fix these vulnerabilities?
Both GHSA-v48h-wg8v-4gxg (CVSS 9.8) and GHSA-wmff-wfar-j3gr (CVSS 7.5) affect Milvus versions >= 2.6.16 and < 2.6.25, as well as versions >= 3.0.0 and < 3.0.3. The Milvus and Zilliz security teams patched both vulnerabilities in Milvus 2.6.25 and 3.0.3.
Why does auditing milvus.yaml fail to detect that cluster authentication was disabled?
Milvus stores dynamic runtime configuration overrides in etcd, which take precedence over the static “milvus.yaml” file on disk and persist across restarts. Even if an operator inspects “milvus.yaml” and sees authentication enabled, the running cluster reads “false” from etcd and remains completely open.