CVE-2026-25592 — Vulnerability in semantic-kernel — CVE Details
Semantic Kernel has Arbitrary File Write via AI Agent Function Calling in .NET SDK
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.52%). Schedule for your next planned update.
Does your project use an affected semantic-kernel version?
Paste your requirements.txt to check it for CVE-2026-25592 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
What kind of vulnerability is it? Who is impacted?
An Arbitrary File Write vulnerability has been identified in Microsoft's Semantic Kernel .NET SDK, specifically within the SessionsPythonPlugin.
Developers who have built applications which include Microsoft's Semantic Kernel .NET SDK and are using the SessionsPythonPlugin
Patches
Has the problem been patched? What versions should users upgrade to? The problem has been fixed in Microsoft.SemanticKernel.Plugins.Core version 1.71.0. Users should upgrade to version 1.71.0 or higher.
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
Users can create a Function Invocation Filter which checks the arguments being passed to any calls to DownloadFileAsync or UploadFileAsync and ensures the provided localFilePath is allow listed.
References
Are there any links users can visit to find out more?
Advisory Timeline
- First published February 6, 2026 (293 days ago).
- Last revised June 29, 2026 — 143 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "semantic-kernel>=1.39.3"
dotnet add package Microsoft.SemanticKernel.Core --version 1.71.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 2 ecosystems: NuGet (1), PyPI (1).
| Package | Fixed In |
|---|---|
| semantic-kernel PyPI · Affected: 0.0.1.dev0, 0.1.0.dev0, 0.2.0.dev0, 0.2.1.dev0 (+121 more) | 1.39.3 |
| Microsoft.SemanticKernel.Core NuGet · Affected: 0.12.207.1-preview, 0.13.277.1-preview, 0.13.442.1-preview, 0.14.547.1-preview (+109 more) | 1.71.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/microsoft/semantic-kernel/security/advisories/GHSA-2ww3-72rp-wpp4WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-25592ADVISORY
- https://github.com/microsoft/semantic-kernel/pull/13478/changes#diff-88d3cacba2bfa84eef8f2aa171b34f9940338cbb784a3ffc49f5fe3af1b8943dWEB
- https://github.com/microsoft/semantic-kernelPACKAGE
- https://github.com/microsoft/semantic-kernel/blob/main/dotnet/samples/Demos/CodeInterpreterPlugin/Program.cs#L61-L64WEB
Frequently Asked Questions
- What is CVE-2026-25592?
- Semantic Kernel has Arbitrary File Write via AI Agent Function Calling in .NET SDK. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2026-25592?
- CVE-2026-25592 affects semantic-kernel and Microsoft.SemanticKernel.Core. It has a 2.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-25592 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 85.5% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-26030CRITICAL
- CVE-2026-77359CRITICAL
Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routes
- CVE-2026-77312CRITICAL
Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)
- CVE-2026-26030CRITICAL
Microsoft Semantic Kernel InMemoryVectorStore filter functionality vulnerable to remote code execution