CVE-2026-26030 in Microsoft Semantic Kernel is the third AI agent framework in 14 months to ship the same architectural fault. LangChain, LlamaIndex, and now Semantic Kernel all placed query evaluators inside trusted execution contexts. DCI Cyber's analysis shows this is not a series of bugs. It is a systemic vulnerability class.


The Three Findings in 14 Months

DCI Cyber published a detailed analysis framing CVE-2026-26030 as the latest instance of a recurring pattern, not an isolated bug. Three frameworks, 14 months, same architectural fault:

  1. LlamaIndex CVE-2025-1793 (early 2025, Critical). Exposed SQL injection in vector store interfaces when unvalidated inputs reached SQL query construction. Analyzed by Endor Labs.
  1. LangChain CVE-2025-68664 (December 2025, CVSS 9.3). Allowed LLM-influenced data to be treated as trusted framework objects during serialization. Same class, different component.
  1. Microsoft Semantic Kernel CVE-2026-26030 (February 2026, CVSS 9.9-10.0). InMemoryVectorStore filter interface accepted caller-supplied field selector strings and resolved them through Python's attribute access mechanism with no isolation boundary.

Each framework independently implemented the same flawed pattern: a query or filter interface that accepts caller-supplied strings and resolves them through the host language's native attribute access mechanism rather than against an isolated, schema-constrained evaluator.

The Pattern: Framework-Internal Eval Surface

DCI Cyber names this vulnerability class the Framework-Internal Eval Surface. It appears when an AI agent framework's query or filter interface accepts caller-supplied strings and resolves them through the host language's native attribute access mechanism, whether getattr(), eval(), or equivalent.

The key invariant being violated: a caller's ability to name a field in a filter expression is not equivalent to selecting from a known-safe schema. Without isolation, naming a field is equivalent to accessing the Python runtime's own object model.

Any interface that accepts caller-supplied strings and resolves them via language-native attribute access is an eval surface, regardless of how it is documented.

Why Mature Databases Avoid This

Every mature database system enforces separation between query language and host runtime. SQL parameterization exists because of decades of SQL injection incidents. The isolation between query language and host runtime is the structural guarantee that makes SQL injection impossible within the parameterized query boundary.

AI agent framework authors reached for host-language dynamism rather than building a purpose-built evaluator. They inherited the query interface pattern without the isolation guarantee that makes it safe.

Why Authentication Is Not a Sufficient Gate

Semantic Kernel's CVE scores CVSS 9.9 with PR:L, meaning any low-privilege authenticated account can reach the filter injection surface. A trial account, a registered user, a compromised credential. All are sufficient.

In production deployments, RAG pipelines commonly accept filter expressions from authenticated API callers. Those callers may include user-facing endpoints where the authentication boundary is thin. The attacker does not need admin access. They need any authenticated account.

What Correct Looks Like: The Isolation Principle

DCI Cyber articulates a clear design principle: the correct architecture is an isolated evaluator. A purpose-built parser whose grammar is limited to schema field names and comparison operators, with no path to the Python runtime.

This mirrors how SQL databases work. The query engine is a separate process with no access to the host language's object model. You cannot escape SQL parameterization to reach the database server's Python runtime.

Blocklists vs. Allowlists

Microsoft's fix applies a blocklist of dangerous attribute names. This is correct and pragmatic for immediate remediation. But blocklists have a fundamental weakness: they can be bypassed if an attacker discovers names not on the list.

An allowlist, which rejects anything not explicitly permitted, cannot be bypassed in the same way. The architectural correct is an allowlist-backed isolated evaluator.

The blocklist approach applied to a design that fundamentally lacks isolation is a bandage on a structural problem. It works until someone finds a new traversal path. Python's object model provides many equivalent paths through mro, dict, type(), and other mechanisms.

The Design Failure Is Not a Code Bug

DCI Cyber makes a crucial distinction: the InMemoryVectorStore filter does exactly what the design specified. The design placed the query evaluator inside the trusted Python execution context. Any correct implementation of that design is vulnerable by construction.

This is not a code bug that can be patched. It is a design decision that requires architectural remediation. Patching the specific traversal path in CVE-2026-26030 closes this instance. It does not close the class.

Threat Model Implications

Teams typically review AI agent systems for prompt injection and output handling. They treat vector store filter APIs as infrastructure, not as attack surfaces.

CVE-2026-26030 and the preceding LangChain and LlamaIndex CVEs establish that filter() interfaces mapping caller-supplied strings to host-language objects are code execution surfaces. This means security teams need to extend injection review to every AI agent framework component that accepts caller-controlled strings.

Detection Signals

  • Any dunder attribute string (class, import, builtins, mro, subclasses) appearing as a filter parameter in request or API gateway logs
  • Unexpected process behavior on servers running AI agent frameworks
  • Software Composition Analysis (SCA) scanner alerts for affected framework versions

OWASP Reference Mapping

DCI Cyber maps this vulnerability class to multiple OWASP categories:

  • LLM08:2025 Vector and Embedding Weaknesses. The attack reaches agent memory through the vector store filter interface.
  • A05:2025 Injection. Eval injection is a form of injection where caller-supplied data reaches code evaluation.
  • A06:2025 Insecure Design. The root cause is not a code bug but a design that places the evaluator inside the trusted execution context.

Recommended Actions

Immediate (Well-Resourced Teams)

  • Upgrade to Semantic Kernel python-1.39.4 or later
  • Implement a static schema-based field allowlist at the application layer before filter expression construction
  • Apply SQL-parameterization-equivalent injection review to all AI agent framework filter and query APIs

Short-Term (Mid-Maturity Teams)

  • Audit all AI agent framework components accepting caller-controlled strings
  • Add SCA scanning for affected framework versions
  • Implement input validation at the API gateway layer

Strategic (All Orgs)

  • Adopt the isolation principle: any framework interface that resolves caller-supplied strings should use a purpose-built evaluator with no path to the host runtime
  • Extend injection review to cover agent framework filter APIs alongside prompt injection and output handling
  • Track this vulnerability class as a first-class concern in threat models for AI agent systems

Residual Risk

Application-layer code constructing filter expressions outside the framework's evaluation path may re-introduce the pattern independently of the patch. Even after upgrading, teams must verify that their own code does not pass user-controlled strings to filter construction in ways that bypass the framework's safeguards.

What This Means for the Field

Three frameworks, 14 months, same architectural fault. This is not coincidence. It is a systemic vulnerability class that emerges from a design pattern that feels intuitive but violates a fundamental security principle.

The pattern will continue to appear as long as framework authors reach for host-language dynamism in query interfaces without implementing isolation. The fix for any individual instance is straightforward: upgrade and apply allowlists. The fix for the ecosystem requires treating filter and query interfaces in AI frameworks with the same injection scrutiny that SQL interfaces receive.

Every mature database learned this lesson through SQL injection. AI agent frameworks are learning it through eval injection. The lesson is the same: separate the query language from the host runtime, or the host runtime becomes the attack surface.

References