1. CVE archive
  2. Vulnerability types
  3. CWE-1426
CWE-1426 · #629 most frequent type in the archive

Improper Validation of Generative AI Output

The product invokes a generative AI/ML component whose behaviors and outputs cannot be directly controlled, but the product does not validate or insufficiently validates the outputs to ensure that they align with the intended security, content, or privacy policy.

Part of: CWE-707 · Improper Neutralization

2CVEs of this type in the archive
0critical (CVSS ≥ 9)
0high severity (7–8.9)
Nov 18, 2025latest published

What it is

The product invokes a generative AI/ML component whose behaviors and outputs cannot be directly controlled, but the product does not validate or insufficiently validates the outputs to ensure that they align with the intended security, content, or privacy policy.

Impact on systems

ScopeImpact
Integrity Execute Unauthorized Code or Commands, Varies by Context
In an agent-oriented setting, output could be used to cause unpredictable agent invocation, i.e., to control or influence agents that might be invoked from the output. The impact varies depending on the access that is granted to the tools, such as creating a database or writing files.

How to prevent it

Architecture and Design Since the output from a generative AI component (such as an LLM) cannot be trusted, ensure that it operates in an untrusted or non-privileged space.
Operation Use semantic comparators, which are mechanisms that provide semantic comparison to identify objects that might appear different but are semantically similar.
Operation Use components that operate externally to the system to monitor the output and act as a moderator. These components are called different terms, such as supervisors or guardrails.
Build and Compilation During model training, use an appropriate variety of good and bad examples to guide preferred outputs.

Source: MITRE CWE catalog · Official entry on the MITRE website

All CWE-1426 CVEs

2 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.