CWE · MITRE source
CWE-1427Improper Neutralization of Input Used for LLM Prompting
The product uses externally-provided data to build prompts provided to large language models (LLMs), but the way these prompts are constructed causes the LLM to fail to distinguish between user-supplied inputs and developer provided system directives.
When prompts are constructed using externally controllable data, it is often possible to cause an LLM to ignore the original guidance provided by its creators (known as the "system prompt") by inserting malicious instructions in plain human language or using bypasses such as special characters or tags. Because LLMs are designed to treat all instructions as legitimate, there is often no way for the model to differentiate between what prompt language is malicious when it performs inference and returns data. Many LLM systems incorporate data from other adjacent products or external data sources like Wikipedia using API calls and retrieval augmented generation (RAG). Any external sources in use that may contain untrusted data should also be considered potentially malicious.
Last updated: 11 August 2026 14:55 UTC
NIST 800-53 r5 controls that address this weakness (0)AI-assisted
| Control | Title | Family | Why it addresses this CWE |
|---|---|---|---|
| No NIST controls proposed yet. | |||
Top CVEs of this weakness type, ranked by Risk Priority
| CVE | Risk | CVSS | EPSS | Published |
|---|---|---|---|---|
CVE-2023-29374 UPD CR | 9.1 | 9.8 | 0.3965 | 2023-04-05 |
CVE-2026-27966 CR | 8.9 | 9.8 | 0.3369 | 2026-02-26 |
CVE-2024-8309 CR | 8.3 | 9.8 | 0.1374 | 2024-10-29 |
CVE-2023-38896 UPD CR | 7.6 | 9.8 | 0.0153 | 2023-08-15 |
CVE-2023-39661 UPD CR | 7.5 | 9.8 | 0.0117 | 2023-08-15 |
CVE-2024-23752 UPD CR | 7.5 | 9.8 | 0.0101 | 2024-01-22 |
CVE-2024-5826 UPD CR | 7.5 | 9.8 | 0.0088 | 2024-06-27 |
CVE-2024-12366 UPD CR | 7.5 | 9.8 | 0.0118 | 2025-02-11 |
CVE-2025-32711 UPD CR | 7.5 | 9.3 | 0.0796 | 2025-06-11 |
CVE-2025-54795 UPD CR | 7.5 | 9.8 | 0.0097 | 2025-08-05 |
CVE-2026-26015 UPD CR | 7.5 | 9.8 | 0.0117 | 2026-04-29 |
CVE-2026-61447 CR | 7.5 | 10.0 | 0.0074 | 2026-07-11 |
CVE-2025-46059 UPD CR | 7.4 | 9.8 | 0.0070 | 2025-07-29 |
CVE-2026-30741 CR | 7.4 | 9.8 | 0.0080 | 2026-03-11 |
CVE-2026-30306 UPD CR | 7.4 | 9.8 | 0.0068 | 2026-03-30 |
CVE-2025-58764 UPD CR | 7.3 | 9.8 | 0.0055 | 2025-09-10 |
CVE-2025-63665 UPD CR | 7.3 | 9.8 | 0.0044 | 2025-12-19 |
CVE-2026-33654 UPD CR | 7.3 | 9.8 | 0.0049 | 2026-03-27 |
CVE-2026-30308 UPD CR | 7.3 | 9.8 | 0.0051 | 2026-03-30 |
CVE-2026-30310 UPD CR | 7.3 | 9.8 | 0.0051 | 2026-03-31 |
CVE-2026-41265 CR | 7.3 | 9.8 | 0.0046 | 2026-04-23 |
CVE-2026-25879 UPD CR | 7.3 | 9.8 | 0.0055 | 2026-06-01 |
CVE-2026-42074 UPD CR | 7.3 | 9.8 | 0.0054 | 2026-06-02 |
CVE-2024-5565 UPD CR | 7.2 | 8.1 | 0.1496 | 2024-05-31 |
CVE-2024-7042 CR | 7.2 | 9.8 | 0.0031 | 2024-10-29 |