Last Updated: October 2026
Vector and embedding weaknesses in voice agents is OWASP's LLM09: the security of the retrieval layer that augments the model. On a voice agent that layer has a specific job description: it decides, per turn, what content the model gets to say to a caller in the agent's own trusted voice.
TL;DR: Treat retrieval as the access-control system it actually is. The two failures that reach a phone call: serving content this caller is not entitled to (the retrieval half of LLM02), and serving content someone planted (the standing delivery path for indirect injection and poisoning). Scope queries per caller at retrieval time, test with seeded stores, and log which chunks served which answers.
Scope: This article is part of a ten-part series mapping each risk in the OWASP Top 10 for LLM Applications (2026) to voice and chat agents; the series hub holds the full mapping table. This page covers the retrieval layer behind a deployed agent. Embedding-model internals and vector-database hardening below the application layer are the platform's territory, named here only where they surface on a call.
What Are Vector and Embedding Weaknesses?
The OWASP 2026 entry, in the list since the 2025 edition and renumbered LLM09 in 2026, covers the ways retrieval-augmented generation goes wrong as a security matter: unauthorized access to embedded content, cross-context information leakage in shared stores, and embedding inversion or poisoning of what gets retrieved. The common misread is filing this under infrastructure. The operational reading for an agent team: whatever retrieval returns, the model treats as its own knowledge, and the agent speaks it with full confidence. Retrieval is a standing path into both disclosure and indirect injection, which is why three pages of this series meet at this layer.
The Two Failures on a Voice Agent
| Failure | What happens on the call | Where it comes from |
|---|---|---|
| Unentitled serving | The agent answers from a document, record, or chunk this caller should never reach | Stores embedded without entitlement metadata; queries scoped per agent, not per caller |
| Planted serving | The agent speaks or obeys content written into a source precisely so retrieval would serve it | Write access to knowledge sources treated as an editorial question instead of a security one |
A shared-store deployment compounds the first failure: one vector store serving several tenants, departments, or data classes leaks across them the moment scoping lives anywhere but the query.
What makes this voice-native rather than generic RAG security is the scope's moving part. A caller's verification state is established mid-call, step by step, by the agent's own flow: unverified at hello, partially verified after one check, fully verified after the flow completes, as the social engineering runbook maps it. Retrieval scope has to follow that state within the conversation: the same question, asked two turns apart, can be entitled to different partitions. A RAG stack built for logged-in web users, where identity is settled before the first query, has nowhere to put that.
How Do You Scope Retrieval for a Caller?
The scoping question, made concrete:
| Scope decision | Weak answer | Strong answer |
|---|---|---|
| Who is this query for? | The agent (one identity for all callers) | This caller, in this verification state |
| What may it search? | The whole store, filtered after | The entitled partition, filtered before |
| What arrives in context? | Whatever ranked highest | Only chunks whose metadata passes the caller's scope |
| What proves it later? | Nothing | A log of chunks served, per turn, per caller |
Who Owns This Risk?
| Layer | What is owned there | Owner |
|---|---|---|
| Store partitioning and entitlement metadata | What exists where, tagged for whom | Data engineering |
| Query-time scoping | Caller-scoped retrieval, enforced before ranking | Platform engineering |
| Write access to sources | Who can put content where retrieval will find it | Data owners, reviewed as LLM05's knowledge door |
| What gets spoken | Policy on reciting versus using retrieved text | Agent team |
How Do You Test the Retrieval Layer?
Seed and probe, with synthetic content, on the real pipeline:
| Test | Pass condition |
|---|---|
| Entitlement probes across caller states | No chunk outside the caller's scope is served, whatever the phrasing; the retrieval cells of the PII leakage checklist are the artifact |
| Seeded instruction-shaped content | Served text is used, never obeyed or recited wholesale, per the injection runbook's indirect scenarios |
| Cross-partition probes in shared stores | Tenant and department boundaries hold at query time |
| Write-path review | Every source retrieval reads from has a write-access owner and review |
Rerun on every store rebuild, embedding-model change, and source addition; each is a release for this layer, per the testing framework's regression discipline.
How Do You Monitor It in Production?
Log which chunks served which answer, per turn, per caller; without that line, no retrieval incident can be reconstructed. Flag answers tracing to chunks outside the caller's scope, answers tracing to recently written content (the planted-content signal), and spikes of retrieval from a single source. Route to the data owner and replay as seeded regression probes, per the monitoring loop.
Per-risk checklist:
- Every embedded source is inventoried with its entitlement metadata and write-access owner
- Retrieval is scoped per caller and verification state, enforced before ranking
- Shared stores are partitioned, and cross-partition probes run on every rebuild
- Seeded-content tests run with the injection suite on every release
- Chunks-served logging exists per turn, and out-of-scope serves page the data owner
Basis: This guide rests on the OWASP public document linked above and on Hamming's security testing practice for voice and chat agents. The team behind it breaks AI agents for a living and came to the work from Tesla, Meta, Citizen, Palantir, and NCC Group. It reports no Hamming measurements.
Start here: answer the four scope-decision questions for your own deployment; the weak column is a finding list. The security review questions carry the reviewer's version.