CVE-2025-64513: Github.com/milvus io/milvus Authentication Bypass Vulnerability
CRITICALCVE-2025-64513 is a CRITICAL authentication bypass vulnerability (CWE-287: Improper Authentication) affecting Github.com/milvus io/milvus libraries in the Go ecosystem. The issue involves milvus proxy has a critical authentication bypass vulnerability. Remediation is available by upgrading affected packages to version 2.4.24, 2.5.21, 2.6.5, 0.10.3-0.20251107071934-6102f001a971.
CVE-2025-64513 at a Glance
How to Fix CVE-2025-64513
To remediate this vulnerability, upgrade all affected Github.com/milvus io/milvus dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/milvus-io/milvus to 2.4.24
Upgrade github.com/milvus-io/milvus to 2.5.21
Upgrade github.com/milvus-io/milvus to 2.6.5
Upgrade github.com/milvus-io/milvus to 0.10.3-0.20251107071934-6102f001a971
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/milvus-io/milvus
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-64513, inspect your project dependencies for Github.com/milvus io/milvus:
inspect dependencies for github.com/milvus-io/milvus
Analyze the terminal output to locate any version of Github.com/milvus io/milvus in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.24), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Github.com/milvus io/milvus, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-64513 Affected Github.com/milvus io/milvus Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/milvus-io/milvus
|
Go |
< 2.4.24
≥ 0.10.4
|
2.4.24
|
|
github.com/milvus-io/milvus
|
Go |
≥ 2.5.0
< 2.5.21
|
2.5.21
|
|
github.com/milvus-io/milvus
|
Go |
≥ 2.6.0
< 2.6.5
|
2.6.5
|
|
github.com/milvus-io/milvus
|
Go |
< 0.10.3-0.20251107071934-6102f001a971
|
0.10.3-0.20251107071934-6102f001a971
|
References
Frequently Asked Questions
What is CVE-2025-64513?
Which Github.com/milvus io/milvus versions are affected?
What version fixes CVE-2025-64513?
Is github.com/milvus-io/milvus affected?
What CWE is associated with CVE-2025-64513?
How can I check Go dependencies for CVE-2025-64513?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mhjq-8c7m-3f7p",
"modified" : "2025-11-13T15:55:00Z",
"published" : "2025-11-13T15:55:00Z",
"aliases" : [ "CVE-2025-64513" ],
"summary" : "Milvus Proxy has a Critical Authentication Bypass Vulnerability",
"details" : "### Impact\n_What kind of vulnerability is it? Who is impacted?_\nAn unauthenticated attacker can exploit this vulnerability to bypass all authentication mechanisms in the Milvus Proxy component, gaining full administrative access to the Milvus cluster.\nThis grants the attacker the ability to read, modify, or delete data, and to perform privileged administrative operations such as database or collection management.\nAll users running affected Milvus versions are strongly advised to upgrade immediately.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\nThis issue has been fixed in the following versions:\n\t•\tMilvus 2.4.24\n\t•\tMilvus 2.5.21\n\t•\tMilvus 2.6.5\n\nUsers should upgrade to these patched versions or later to mitigate the vulnerability.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\nIf immediate upgrade is not possible, a temporary mitigation can be applied by removing the sourceID header from all incoming requests at the gateway, API gateway, or load balancer level before they reach the Milvus Proxy.\nThis prevents attackers from exploiting the authentication bypass behavior.\n\n### References\n_Are there any links users can visit to find out more?_\n\nThe following pull requests contain the fixes for the affected Milvus branches:\n\t•\t[Fix for 2.4 branch](https://github.com/milvus-io/milvus/pull/45391)\n\t•\t[Fix for 2.5 branch](https://github.com/milvus-io/milvus/pull/45383)\n\t•\t[Fix for 2.6 branch](https://github.com/milvus-io/milvus/pull/45379)\n\nSpecial thanks to the Volcengine Milvus team at ByteDance(liumingzhe.5689@bytedance.com) for responsibly discovering, reporting, and coordinating the disclosure of this critical authentication bypass vulnerability with the Milvus maintainers.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/milvus-io/milvus"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.10.4"
}, {
"fixed" : "2.4.24"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/milvus-io/milvus"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.5.0"
}, {
"fixed" : "2.5.21"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/milvus-io/milvus"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.6.0"
}, {
"fixed" : "2.6.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/milvus-io/milvus"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.10.3-0.20251107071934-6102f001a971"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/milvus-io/milvus/security/advisories/GHSA-mhjq-8c7m-3f7p"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64513"
}, {
"type" : "WEB",
"url" : "https://github.com/milvus-io/milvus/pull/45379"
}, {
"type" : "WEB",
"url" : "https://github.com/milvus-io/milvus/pull/45383"
}, {
"type" : "WEB",
"url" : "https://github.com/milvus-io/milvus/pull/45391"
}, {
"type" : "WEB",
"url" : "https://github.com/milvus-io/milvus/commit/6102f001a971c8c8055a4a4cae704442d5cab793"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/milvus-io/milvus"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-13T15:55:00Z",
"nvd_published_at" : "2025-11-10T22:15:40Z"
}
}