Your AI Startup Probably Runs Milvus. Port 9091 Is Open by Default.
CVE-2026-26190: Milvus exposes its full REST API without authentication on port 9091. If you're running RAG or semantic search, check your deployment now.
If you're building anything with RAG, semantic search, or embeddings, there's a good chance Milvus is somewhere in your stack. With 35,000+ GitHub stars, it's one of the most popular vector databases for generative AI applications.
Last week, a critical vulnerability was published that should make every AI startup audit their deployment immediately.
CVE-2026-26190 — Authentication Bypass on Milvus (CVSS 9.8)
| Detail | Value |
|---|---|
| CVSS | 9.8 (Critical) |
| CWE | CWE-287 — Improper Authentication |
| Published | February 13, 2026 |
| Fixed In | 2.5.27 and 2.6.10 |
Milvus exposes TCP port 9091 by default. That's the management port — metrics, profiling, health probes. Normally internal-only. The problem is that on many cloud deployments (AWS EKS, Kubernetes), this port ends up exposed to the internet through load balancers and misconfigured services.
But the port being open is just the beginning. Two vulnerabilities combine for a full database compromise.
Vulnerability 1: Predictable Debug Token
The /expr debug endpoint uses a default authentication token derived from etcd.rootPath — which defaults to by-dev in most installations. If you never changed it (and most people don't), an attacker who reaches port 9091 can evaluate arbitrary expressions against your database.
Vulnerability 2: Full REST API Without Authentication
The entire REST API (/api/v1/*) is registered on the management port without any authentication. No tokens. No API keys. Nothing. Anyone who can reach port 9091 has full access to every business operation: reading data, writing data, deleting collections, managing credentials.
No tokens. No API keys. Nothing. Anyone who can reach port 9091 has full access to every operation on the database.
The Impact
For an AI startup, this means an attacker could:
- • Exfiltrate your entire vector database — every embedding, every document chunk, every piece of customer data you've indexed
- • Poison your RAG pipeline — inject malicious embeddings that alter your AI's outputs
- • Delete collections — wipe your entire knowledge base
- • Access credentials — potentially pivot to other services in your infrastructure
This isn't theoretical. If your Milvus instance is reachable from the internet on port 9091, you're already exposed.
Why This Keeps Happening to AI Infrastructure
This is the third critical Milvus vulnerability in four months. In November 2025, CVE-2025-64513 allowed authentication bypass through forged HTTP headers — a single header could give full admin access.
The pattern is consistent across the AI tooling ecosystem. Last week we covered CVE-2026-26216, a CVSS 10.0 RCE in Crawl4AI where an unauthenticated API endpoint executed arbitrary Python code via exec().
AI teams move fast. They deploy Milvus, Crawl4AI, LangChain, vector stores — and the priority is making the AI work, not hardening the infrastructure. The result: default configurations, exposed ports, management interfaces on the public internet, and debug endpoints in production.
The uncomfortable truth: your AI model might be brilliant, but if port 9091 is open to the internet, none of that matters.
How to Check If You're Exposed
Right now, in 5 minutes:
1. Check if port 9091 is externally accessible:
nmap -p 9091 your-milvus-host.com 2. Check your Kubernetes services for exposed management ports:
kubectl get svc | grep milvus 3. Verify your etcd.rootPath isn't the default by-dev.
4. Check your Milvus version — anything before 2.5.27 or 2.6.10 is vulnerable.
The fix: Update Milvus to 2.5.27+ or 2.6.10+. Restrict port 9091 to internal networks only. Change the default etcd.rootPath. Review all Kubernetes service types — LoadBalancer services expose ports to the internet.
Beyond Milvus: Securing Your Entire Stack
Checking one service manually is fine. But how many ports, endpoints, and services does your infrastructure expose? Most startups don't know — and that's exactly what attackers count on.
This is where systematic security testing replaces guesswork.
What ContractShield Does
At ContractShield, we help companies identify and fix security vulnerabilities before attackers find them. Our approach combines automated scanning with expert analysis to give you a complete picture of your security posture.
ContractShield PTaaS (Penetration Testing as a Service) would catch every element of CVE-2026-26190 automatically:
- • Port scanning discovers that port 9091 is exposed to the internet — flagged as high-risk because it's a management port that shouldn't be public
- • Tech fingerprinting identifies the service as Milvus and checks the version against known CVEs
- • Hidden endpoint discovery finds the
/exprdebug endpoint and the/api/v1/*REST API registered on the management port - • DAST testing detects the missing authentication on API endpoints
- • TLS/SSL analysis verifies encryption on all exposed services
The 7-phase automated pipeline runs in 15 minutes for a standard scan. You get a PDF report with CWE classifications, risk scores, and remediation steps — not a list of raw CVE numbers, but clear explanations of what's exposed and how to fix it.
For teams that need more than automated scanning, ContractShield provides security consulting, architecture reviews, and custom assessments. When the issue is a misconfigured Kubernetes deployment or an insecure CI/CD pipeline, you need human expertise alongside automated tools.
The Bigger Picture
The AI infrastructure stack is growing fast: vector databases, embedding APIs, orchestration frameworks, inference servers. Each component adds attack surface. Each default configuration is a potential entry point.
The companies that will survive aren't just the ones building the best AI — they're the ones who secure the infrastructure that AI runs on.
Three questions every AI startup should answer:
- 1. What ports and services are exposed to the internet? If you don't know, an attacker already does.
- 2. Are default credentials and configurations still in place? Default tokens, debug endpoints, management interfaces — these are the first things attackers check.
- 3. When was the last time you ran a security scan? Not a code review. A full external scan of your production infrastructure.
If you can't answer all three confidently, it's time to find out.
Find these vulnerabilities before attackers do
ContractShield helps startups and SMEs secure their infrastructure with automated PTaaS scanning and expert security consulting. Start a free scan or contact us for a security assessment.
CVE data sourced from NVD and Milvus security advisories.