"More Than You Expect!": Leakage-Abuse Attacks on Encrypted Vector Search
Abstract
Vector databases support semantic search and retrieval-augmented generation, but embeddings, queries, and record labels may contain sensitive information. Although encrypted vector search protects these contents, some schemes expose records retrieved together across queries. We identify semantic neighborhood leakage, whereby co-retrieval relationships derived from access patterns reveal semantic categories of encrypted records and queries. We present SAGE (Semantic Access-pattern Graph Exploitation), a passive, persistent leakage-abuse attack that infers record labels and query categories from access patterns. SAGE builds a weighted co-retrieval graph and offers two variants requiring different auxiliary knowledge. SAGE-Dist matches anonymous spectral groups to semantic categories using estimated class proportions and refines labels via optimal transport, without known record labels. SAGE-Known combines graph-based label propagation with spectral-group anchor voting using a small set of known labels. We evaluate SAGE on four text and image datasets. With 1% known record labels, SAGE-Known achieves up to 84.3% mean record-label accuracy and outperforms the strongest corresponding baselines on all four datasets. With only estimated class proportions, SAGE-Dist achieves 66.9% record-label accuracy and 68.1% query-category accuracy on AG News, exceeding the strongest corresponding baselines by 21.8 and 41.9 percentage points, respectively, though performance varies across datasets. Experiments with a real-world DCPE implementation (Fuchsbauer et al., SCN'22) show that semantic leakage persists under encrypted approximate retrieval. These findings expose privacy risks even when vector contents remain protected.
- Comment
- 18 pages, 7 figures