Arbitrary Code Injection Affecting semantic-kernel package, versions [,1.39.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.71% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-SEMANTICKERNEL-15323118
  • published20 Feb 2026
  • disclosed19 Feb 2026
  • creditamiteliahu, doredry, urioren

Introduced: 19 Feb 2026

CVE-2026-26030  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade semantic-kernel to version 1.39.4 or higher.

Overview

semantic-kernel is a Semantic Kernel Python SDK

Affected versions of this package are vulnerable to Arbitrary Code Injection via the InMemoryVectorStore filter functionality due to lack of filtering for dangerous dunder attributes. An attacker can escape the sandbox and execute arbitrary code by crafting malicious filter expressions.

CVSS Base Scores

version 4.0
version 3.1