Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

WeaknessASC-2026-0048Other weakness

Response caches that serve one user's answer to another

MediumFixed

Prompt and semantic caches keyed too loosely return a cached answer containing another user's data for a similar question.

How to detect it

  • Caches keyed by prompt text or embedding alone
  • Personalized answers stored in a shared cache

How to resolve it

  • Include user and tenant in cache keys, or do not cache personalized answers
  • Set short lifetimes for cached responses

How to investigate

  1. Identify cached entries that contained personal data
  2. Flush the cache and review who received them

Sources

Open it in the Learning Center's vulnerability database