Semantic Kernel has Arbitrary File Write via AI Agent Function Calling in .NET SDK
Critical severity
GitHub Reviewed
Published
Feb 6, 2026
in
microsoft/semantic-kernel
•
Updated Feb 20, 2026
Description
Published to the GitHub Advisory Database
Feb 6, 2026
Reviewed
Feb 6, 2026
Published by the National Vulnerability Database
Feb 6, 2026
Last updated
Feb 20, 2026
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
SessionsPythonPluginPatches
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
DownloadFileAsyncorUploadFileAsyncand ensures the providedlocalFilePathis allow listed.References
Are there any links users can visit to find out more?
References