Skip to content

AAK-SK-INMEMORY-VECTORSTORE-FILTER-CVE-2026-26030-PIN-001: Microsoft Semantic Kernel InMemoryVectorStore filter RCE (CVE-2026-26030, PyPI below 1.39.4)

Severity
CRITICAL
Category
Supply Chain (supply-chain)
Scanner
agent_audit_kit/scanners/supply_chain.py
Auto-fixable
No.
SARIF name
SemanticKernelInMemoryVectorStoreFilterRce

What it detects

Microsoft Semantic Kernel Python SDK <1.39.4 has a remote code execution vulnerability in the InMemoryVectorStore filter functionality — CVE-2026-26030 (CVSS 9.9 CRITICAL). Patched in python-1.39.4. This pin-only rule fires on the PyPI package semantic-kernel < 1.39.4 in any Python manifest (requirements*.txt / pyproject.toml / Pipfile* / poetry.lock / uv.lock). A companion .NET-side disclosure (file-write in SessionsPythonPlugin, patched in the .NET 1.71.0 release) is intentionally out of scope — AAK does not currently scan NuGet manifests; only the Python pin shape is actionable here. Disclosed by MSRC on 2026-05-07.

How to fix

Bump semantic-kernel to >= 1.39.4 in any Python manifest pinning Semantic Kernel. The rule fires only on the pin shape; This is a pin-only rule: it matches the dependency pin, not the InMemoryVectorStore(filter=...) construction itself. A source detector for that shape was scoped for v0.3.18 and has not been written, so a project that vendors the vulnerable code without pinning the package is not covered here.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-SK-INMEMORY-VECTORSTORE-FILTER-CVE-2026-26030-PIN-001

Limitations

Matches semantic-kernel followed directly by a version (semantic-kernel==1.30.0) in requirements*.txt at the project root and in a dependency string of the root pyproject.toml. A name with no version, a name with extras (semantic-kernel[all]==1.30.0), a git URL, the table form that Poetry and Pipfile use (semantic-kernel = "^1.30.0"), a requirements file in a sub-directory and an .mcp.json launcher are not reported. Pipfile.lock, poetry.lock and uv.lock are opened but never match, because the name and the version sit on separate lines, so a version that reaches the project only through a lockfile is not reported. A file over 2 MB, or a lockfile over 32 MiB, is not read.

References


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-SK-INMEMORY-VECTORSTORE-FILTER-CVE-2026-26030-PIN-001.md: the page then shows that text, with the registry reference appended under it.