PT-2026-6792
CVE-2026-25592
·
Published
2026-02-06
·
Updated
2026-11-14
Description by
CVSS 3.1
9.9
CriticalMetricsAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Microsoft Semantic Kernel .NET SDK versions prior to 1.71.0
Description
An arbitrary file write issue exists within the
SessionsPythonPlugin of the Semantic Kernel .NET SDK. This flaw allows for the potential overwriting of application source code, such as Program.cs, which can lead to full host takeover and persistence. The issue stems from a trust gap where stochastic LLM output is treated as high-privilege system commands when AutoInvokeKernelFunctions is enabled. Attackers can bypass security filters using techniques such as JSON type confusion, Base64/URL encoding, and Unicode homoglyphs to perform path traversal. Specifically, the vulnerability affects the DownloadFileAsync() and UploadFileAsync() functions via the localFilePath variable.Recommendations
Update Microsoft Semantic Kernel .NET SDK to version 1.71.0 or higher.
Disable
ToolCallBehavior.AutoInvokeKernelFunctions and switch to manual function invocation.
Create a Function Invocation Filter to verify that the localFilePath variable passed to DownloadFileAsync() or UploadFileAsync() is allow listed.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾