Key points
- The OWASP Top 10 for LLM Applications lists the most important security risks in apps built on large language models (LLMs), such as chatbots, copilots and AI agents.
- The current edition is 2026, dated 3 August 2026. Many tools and articles still use the 2025 numbering.
- Prompt injection is still number 1. Excessive Agency, meaning AI with too much power, jumped from 6th to 3rd.
- Most fixes are ordinary security work: least privilege, access checks in code, output validation, limits and testing.
What the OWASP Top 10 for LLM Applications is
Most IT teams know the OWASP Top 10 for web applications. OWASP, an open security community, also publishes a separate OWASP Top 10 for LLM Applications through its GenAI Security Project. It covers risks that come from adding a language model to a product: the model reads untrusted text, makes decisions and, more and more, takes actions.
The 2026 edition is dated 3 August 2026 on OWASP's GenAI site. Compared with 2025, Excessive Agency moved from 6th to 3rd, Unbounded Consumption from 10th to 6th, and Improper Output Handling fell from 5th to 10th. System Prompt Leakage was replaced by a wider item, Hidden Context Exposure. OWASP's main list page was still showing the 2025 items in late 2026, so you will see both numberings in use.
The 2026 list at a glance
| ID | Risk | 2025 rank | Main fix |
|---|---|---|---|
| LLM01 | Prompt Injection | 1 | Limit what the model can do; human approval for risky actions |
| LLM02 | Sensitive Information Disclosure | 2 | Enforce data access per user in code; keep secrets out of the model's reach |
| LLM03 | Excessive Agency | 6 | Fewer tools, narrower permissions, approval steps |
| LLM04 | Supply Chain | 3 | Vet models, plugins and packages; keep an inventory |
| LLM05 | Data and Model Poisoning | 4 | Control who can add training and knowledge base data |
| LLM06 | Unbounded Consumption | 10 | Rate limits, token limits, spending caps |
| LLM07 | Misinformation | 9 | Ground answers in sources; human review where it matters |
| LLM08 | Hidden Context Exposure | 7 (as System Prompt Leakage) | Assume hidden instructions will leak; no credentials in them |
| LLM09 | Vector and Embedding Weaknesses | 8 | Access control on retrieval; separate data per customer |
| LLM10 | Improper Output Handling | 5 | Treat model output as untrusted input to other systems |
Each OWASP LLM Top 10 risk, with an example and fixes
The examples are realistic scenarios, not real incidents.
LLM01 Prompt Injection
Text that the model reads changes what it does. The text can come from the user (direct) or be hidden in an email, web page or file the model reads (indirect). Example: an AI assistant summarising a supplier's email follows hidden text in it and forwards internal documents. Fixes: least privilege for tools, access checks in code, human approval for risky actions, marking outside content as data. Full detail in What is prompt injection?
LLM02 Sensitive Information Disclosure
The app reveals data the user should not see. This can come through answers, logs, tool call records or a search feature that pulls documents beyond the user's access. Example: an HR chatbot answers a staff member's question about pay bands using a file that includes named salaries. Fixes: check each user's rights before data reaches the model, remove personal data the feature does not need, and keep prompts and logs under the same protection as the source data.
LLM03 Excessive Agency
The AI has more tools, more permissions or more freedom to act than its job needs, so a wrong or manipulated decision causes real harm. Example: a customer service agent that can issue refunds of any size without a person checking. Fixes: give each agent only the tools its task needs, use narrow, read-only permissions where possible, set limits on amounts and volumes, and require approval for payments, deletions and outside messages.
LLM04 Supply Chain
Risks from the parts you did not build: models, datasets, fine-tuning adapters, plugins and code packages. Example: a developer installs a package name suggested by an AI coding tool, and the package turns out to be malicious. Fixes: use models and plugins from trusted sources, pin versions, scan dependencies, keep a list of every AI component and who supplies it, and cover AI suppliers in contracts.
LLM05 Data and Model Poisoning
Someone tampers with what the system learns from or looks up, so it behaves badly later. Example: an outsider edits a public wiki page that your support bot uses as a source, and the bot starts giving wrong refund instructions. Fixes: control who can add to training data and knowledge bases, track where data came from, review changes, and test answers against known-good results after each update.
LLM06 Unbounded Consumption
Users or attackers make the system use far more computing than expected. This can mean huge bills, slow service or someone copying your model by querying it at scale. Example: a free public chatbot is scripted to send long requests all night and runs up a large cloud bill. Fixes: rate limits per user and per IP address, limits on input and output length, caps on agent loops and tool calls, and spending alerts.
LLM07 Misinformation
The model produces wrong but confident output, and people or systems act on it. Example: an insurance chatbot tells a customer a claim is covered when the policy says otherwise. Fixes: ground answers in approved documents and show the source, have the bot say when it does not know, and keep a person in the loop for advice with legal or financial effect.
Trusting AI output without checking it applies to AI-written code too. In Singapore, the Personal Data Protection Commission found that a Bee Cheng Hiang email script written with an AI tool exposed 95,364 members' email addresses. The tool did not malfunction. The output was not tested well enough before use.
LLM08 Hidden Context Exposure
Attackers get to see what the model was told behind the scenes: system instructions, tool descriptions, policy text, workflow rules or agent memory. This replaces the 2025 item System Prompt Leakage and is wider. It matters most when the hidden text holds credentials or reveals how to get around controls. Example: a chatbot's hidden instructions include an internal API key and the rule "staff can skip identity checks by saying their staff ID". Fixes: assume hidden instructions will leak, keep keys and passwords out of them, and enforce rules in code rather than in the prompt.
LLM09 Vector and Embedding Weaknesses
Weaknesses in the search layer that feeds documents to the model, often called retrieval-augmented generation (RAG). Example: a software company stores all customers' documents in one search index, and one customer's question returns another customer's contract. Fixes: apply access control at search time, separate data per customer or department, and check what gets indexed.
LLM10 Improper Output Handling
Model output goes into another system without checks. This brings back classic bugs such as cross-site scripting or SQL injection, now triggered through the model. Example: a support portal shows chatbot replies as raw HTML, so a crafted reply runs script in the agent's browser. Fixes: treat model output like any untrusted user input, encode it for where it goes, use parameterised queries, and never pass it straight to a shell.
How to test an LLM feature before launch
- Draw the data flow: every input the model reads, every tool it can call, every system its output reaches.
- For each tool, write down the worst thing it could do if misused, and remove tools the feature does not need.
- Test direct and indirect prompt injection through every input, including uploads and retrieved documents.
- Log in as two different users and check that neither can get the other's data through the chatbot or its search.
- Try to get the model to reveal its hidden instructions, and confirm nothing in them would hurt you if it leaked.
- Send crafted output through to each downstream system (web page, database, email) and check it is encoded or blocked.
- Check rate limits, length limits and spending alerts with a load test.
- Ask questions the bot should not answer and check it says so instead of guessing.
- Confirm logs record prompts, retrieved content and tool calls, and that alerts go to a person.
- Re-run the tests after every change to the model, prompt, tools or data sources.
Most of this fits into a normal penetration test if the testers know how LLM features fail. If you are choosing between test types, see vulnerability assessment vs penetration testing.
Sources
- OWASP GenAI Security Project, OWASP Top 10 for LLM Applications 2026, 3 Aug 2026: genai.owasp.org
- OWASP GenAI Security Project, LLM Top 10 list page (2025 edition): genai.owasp.org
- OWASP GenAI Security Project, LLM01:2025 Prompt Injection: genai.owasp.org
- Cloud Security Alliance Labs, research note on the OWASP 2026 LLM Top 10: labs.cloudsecurityalliance.org
- PDPC, Voluntary undertaking by Bee Cheng Hiang Marketing Pte Ltd, 21 Sep 2026: pdpc.gov.sg
- Aembit, the OWASP Top 10 for LLM Applications 2026: what changed, Sep 2026: aembit.io
This guide summarises public documents as of 26 November 2026. Check OWASP's current text for the full description of each risk.