CVE-2025-64513 in milvusinfo

Summary

by MITRE • 11/11/2025

Milvus is an open-source vector database built for generative AI applications. An unauthenticated attacker can exploit a vulnerability in versions prior to 2.4.24, 2.5.21, and 2.6.5 to bypass all authentication mechanisms in the Milvus Proxy component, gaining full administrative access to the Milvus cluster. This grants the attacker the ability to read, modify, or delete data, and to perform privileged administrative operations such as database or collection management. This issue has been fixed in Milvus 2.4.24, 2.5.21, and 2.6.5. If 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. This prevents attackers from exploiting the authentication bypass behavior.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 11/11/2025

The vulnerability identified as CVE-2025-64513 represents a critical authentication bypass flaw in Milvus, a widely adopted open-source vector database designed to support generative AI applications. This security weakness specifically targets the Milvus Proxy component, which serves as the primary interface for client interactions with the database cluster. The flaw affects multiple version streams including 2.4.x prior to 2.4.24, 2.5.x prior to 2.5.21, and 2.6.x prior to 2.6.5, creating a substantial attack surface across various deployment scenarios. The vulnerability stems from improper handling of authentication mechanisms within the proxy layer, allowing unauthenticated attackers to circumvent all security controls and gain full administrative privileges. This authentication bypass represents a fundamental failure in the security architecture, as it completely undermines the database's access control systems and provides attackers with unrestricted administrative capabilities.

The technical implementation of this vulnerability involves the manipulation of request headers, specifically targeting the sourceID header within the Milvus Proxy component. Attackers can exploit this weakness by crafting malicious requests that bypass the normal authentication flow, effectively allowing them to assume administrative roles without proper credentials. This flaw operates at the application layer and demonstrates a classic security misconfiguration pattern that violates the principle of least privilege. The vulnerability's impact extends beyond simple unauthorized access, as it enables full administrative control over the entire Milvus cluster, including the ability to read, modify, or delete any data within the database. The flaw essentially transforms any external network access point into a potential entry vector for complete cluster compromise, making it particularly dangerous in production environments where Milvus serves as a critical component for AI workloads and data processing pipelines.

The operational consequences of this vulnerability are severe and far-reaching for organizations utilizing Milvus in their generative AI infrastructure. An attacker who successfully exploits this vulnerability can execute privileged administrative operations such as creating or deleting databases and collections, modifying schema definitions, and accessing sensitive vector data that may contain proprietary information or personal identifiers. This level of access enables data exfiltration attacks, data corruption, and potential disruption of AI application services that depend on Milvus for vector search capabilities. The vulnerability's impact is particularly concerning in environments where Milvus handles sensitive data such as customer information, intellectual property, or confidential research data. Organizations may face regulatory compliance violations, financial losses, and reputational damage if this vulnerability is exploited successfully, especially given that Milvus is commonly deployed in enterprise AI applications where data integrity and security are paramount.

The mitigation strategies for this vulnerability include immediate upgrading to the patched versions 2.4.24, 2.5.21, or 2.6.5, which contain the necessary security fixes to prevent the authentication bypass. When immediate upgrades are not feasible, organizations can implement temporary workarounds by removing the sourceID header from incoming requests at the network gateway level, API gateway, or load balancer configuration. This mitigation approach effectively blocks the specific exploitation vector by preventing the vulnerable code path from being triggered. Security teams should also consider implementing additional monitoring and logging controls to detect unusual access patterns that might indicate exploitation attempts. The vulnerability aligns with CWE-287, which addresses improper authentication issues, and represents a significant concern from an ATT&CK perspective under the privilege escalation and persistence tactics. Organizations should conduct thorough security assessments of their Milvus deployments to identify and remediate similar authentication weaknesses that could exist in related components or integrated systems.

Responsible

GitHub M

Reservation

11/05/2025

Disclosure

11/11/2025

Moderation

accepted

CPE

ready

EPSS

0.01054

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!