Browse / RAG and Vector Store Weaknesses / CVE-2026-26030
Microsoft Semantic Kernel InMemoryVectorStore filter functionality vulnerable to remote code execution
- Class
- RAG and Vector Store Weaknesses (filed by a model that read the advisory)
- Technique
- Code and command execution
- Also involves
- AI Framework and Platform Flaws
- Affected
- semantic-kernel (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS
- 3.9% chance of exploitation in 30 days
How it works, in short
Filter expressions evaluated by the in-memory vector store can reference dangerous attribute names, letting a crafted filter execute code in the host process. (Our summary, written by a model. The source text is below.)
Details
Impact:
An RCE vulnerability has been identified in Microsoft Semantic Kernel Python SDK, specifically within the InMemoryVectorStore filter functionality.
Patches:
The problem has been fixed in python-1.39.4. Users should upgrade this version or higher.
Workarounds:
Avoid using InMemoryVectorStore for production scenarios.
References:
Release python-1.39.4 · microsoft/semantic-kernel · GitHub PR to block use of dangerous attribute names that must not be accessed in filter expressions
References
- https://github.com/microsoft/semantic-kernel/security/advisories/GHSA-xjw9-4gw8-4rqx
- https://nvd.nist.gov/vuln/detail/CVE-2026-26030
- https://github.com/microsoft/semantic-kernel/pull/13505
- https://github.com/microsoft/semantic-kernel
- https://github.com/microsoft/semantic-kernel/releases/tag/python-1.39.4
- https://github.com/pypa/advisory-database/tree/main/vulns/semantic-kernel/PYSEC-2026-163.yaml
Source: GitHub Advisory Database, used under CC BY 4.0.