Isolation Is Not Confidentiality: Security Boundaries of Geometric Access Control in RAG
Abstract
Retrieval-Augmented Generation (RAG) systems increasingly rely on vector databases containing documents governed by different access-control policies. Recent search-preserving geometric approaches enforce such access control by structuring the embedding space so that transformed embeddings, which we call protected representations, remain retrievable without exposing information across policy boundaries. We provide a unified security analysis of this paradigm, covering policy isolation, representation confidentiality, query forgery resistance, and policy-membership hiding. We consider both a curious cloud service provider observing the protected representations stored in the vector database and a curious user holding aligned pairs of original embeddings and protected representations. Evaluating the available implementations of the works proposing these geometric transformation mechanisms across three encoders, we find that geometric transformations preserve retrieval utility and provide strong policy isolation, but do not provide the other security properties. A curious user can recover the original embeddings from a few hundred pairs and forge policy-compatible queries at a higher cost that grows with encoder dimension for secret per-policy transformations. Moreover, policy-dependent geometry can leak policy membership even when unauthorized retrieval is prevented. These results show that policy isolation, confidentiality, forgery resistance, and membership hiding are distinct security objectives.
Create a lesson
Related papers
Suspected Until Inspected: Neuro-Symbolic Detection of Broken Access Control in Server-Side Web Applications
Shared title terminologycs.CRChengyao Yang, Zifeng Kang, Dongqi Han et al.
Extracting Next Generation Access Control Policies from Natural Language Using LLMs: An Intermediate-Representation Approach with Back-Translation Verification
Shared title terminologycs.CRAyesha Habib, Huixiang Zhang, Waiz Haider
Beyond Semantic Prompts: Unified Watermarking and Access Control for Text-to-Image Diffusion Models
Shared title terminologycs.CRFangming Shi, Li Li, Guorui Feng et al.
We Have All the Cards: Securing Agent Cards at the Operational Trust Boundary of the Agent2Agent Protocol
Shared title terminologycs.CRMiguel A. Guirao Aguilera, Satyajayant Misra, Efren Lopez-Morales
BACGUARD: Fact-Grounded Runtime Mitigation of Broken Access Control
Shared title terminologycs.CRMoses Ndebugre
Harvesting Apple's Orchard: A Security Analysis of On-Device CoreML Models Across the Apple Ecosystem
Shared title terminologycs.CRJustice Owusu Agyemang, Winifred Harriet Asante, Kwame Opuni-Boachie Obour Agyekum et al.