Summary
The SessionsPythonPlugin in Microsoft Semantic Kernel’s .NET and Python SDKs exposes file upload and download tool calls that were missing proper path restriction. A low-privilege authenticated user who can influence the agent’s tool inputs could supply traversal sequences and make the app write files outside the intended directory. This is a path traversal flaw that can overwrite host files and lead to data corruption or broader compromise.
Why Planned Fix?
3/6Exploitation Details
Write or overwrite arbitrary files on the host filesystem.
Data ManipulationAffected Software
| Product | Affected Versions |
|---|---|
| Microsoft Semantic Kernel (.NET SDK) | < 1.71.0 |
| Semantic Kernel (Python SDK) | < 1.39.3 |
SDK for building, orchestrating, and deploying AI agents and multi-agent applications.
Affected ComponentSessionsPythonPlugin file upload/download handlers used by agent tools.
SessionsPythonPlugin file upload/download handlers used by agent tools.
Affected Endpoints(1)/mnt/data
Add a Function Invocation Filter that allowlists localFilePath values for DownloadFileAsync and UploadFileAsync.
Add a Function Invocation Filter that allowlists localFilePath values for DownloadFileAsync and UploadFileAsync.
Not available
Upgrade Microsoft.SemanticKernel.Plugins.Core to 1.71.0 or later; the Python semantic-kernel package is fixed in 1.39.3 or later.
Upgrade Microsoft.SemanticKernel.Plugins.Core to 1.71.0 or later; the Python semantic-kernel package is fixed in 1.39.3 or later.
Probability of exploitation in the next 30 days
Worse than 21% of all CVEs
No known threat actors
No detection rules available
NVD Data
Description Summary
CVSS Base Score
CVSS Vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H)
Sources
| Source | Article |
|---|---|
| github.com | Arbitrary File Write via AI Agent Function Calling in .NET SDK |
| nvd.nist.gov | CVE-2026-25592 Detail |
| osv.dev | GHSA-2ww3-72rp-wpp4 |
| github.com | Semantic Kernel README |
| github.com | PR #13478: Add file upload security controls to SessionsPythonPlugin |
| github.com | CodeInterpreterPlugin sample |
| learn.microsoft.com | Semantic Kernel Filters |
| tenable.com | CVE-2026-25592 |
Priority History
Initial analysis