Free AI Safety Workshop — in collaboration with explainx.aiSave your seat
AgentbeamBeta
AI agent vulnerability · Semantic Kernel

CVE-2026-25592: Semantic Kernel has Arbitrary File Write via AI Agent Function Calling in .NET SDK

criticalCVSS 3.1 9.9GHSA-2ww3-72rp-wpp4

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…

Published Feb 6, 2026 · Updated Feb 20, 2026

Affected packages

semantic-kernel

Ecosystem
PyPI
Affected
< 1.39.3
Fixed in
1.39.3
Check
pip show semantic-kernel

Microsoft.SemanticKernel.Core

Ecosystem
NuGet
Affected
< 1.71.0
Fixed in
1.71.0
Check
dotnet list package --include-transitive

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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?_

Credited to doredry, amiteliahu, urioren.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Semantic Kernel vulnerabilities

All Semantic Kernel entries