{"id":"CVE-2026-25592","published":"2026-02-06T20:38:28Z","modified":"2026-02-18T23:32:54Z","title":"Semantic Kernel has an Arbitrary File Write via AI Agent Function Calling in .NET SDK","vendor":"Microsoft","product":"semantic-kernel","tier":"tail","description":{"text":"Semantic Kernel is an SDK used to build, orchestrate, and deploy AI agents and multi-agent systems. Prior to 1.71.0, an Arbitrary File Write vulnerability has been identified in Microsoft's Semantic Kernel .NET SDK, specifically within the SessionsPythonPlugin. The problem has been fixed in Microsoft.SemanticKernel.Core version 1.71.0. As a mitigation, 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02521,"percentile":0.85235,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/microsoft/semantic-kernel/security/advisories/GHSA-2ww3-72rp-wpp4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/microsoft/semantic-kernel/pull/13478/changes#diff-88d3cacba2bfa84eef8f2aa171b34f9940338cbb784a3ffc49f5fe3af1b8943d","tags":["x_refsource_MISC"]},{"url":"https://github.com/microsoft/semantic-kernel/blob/main/dotnet/samples/Demos/CodeInterpreterPlugin/Program.cs#L61-L64","tags":["x_refsource_MISC"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":17.05},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"microsoft","affectedVersions":[{"vendor":"microsoft","product":"semantic-kernel","versions":["< 1.71.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-02-09T15:20:46.893694Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"semantic-kernel","vulnerableRanges":["<1.39.3"],"patched":["1.39.3"],"from":["GHSA-2ww3-72rp-wpp4","PYSEC-2026-531"],"provenance":"source"},{"ecosystem":"NuGet","package":"Microsoft.SemanticKernel.Core","vulnerableRanges":["<1.71.0"],"patched":["1.71.0"],"from":["GHSA-2ww3-72rp-wpp4"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in the SessionsPythonPlugin component of Microsoft's Semantic Kernel .NET SDK (Microsoft.SemanticKernel.Core, prior to 1.71.0) allows arbitrary file writes. An attacker with network access and low-privileged authenticated access can exploit it without user interaction, provided the agent invokes the DownloadFileAsync or UploadFileAsync functions with an attacker-influenced localFilePath; the documented mitigation is a Function Invocation Filter that allow-lists that path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:36:16Z"},"euvd":{"id":"EUVD-2026-5582","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-25592","published":"2026-02-06","fixed":"1.39.3","kev":false},{"cve":"CVE-2026-26030","published":"2026-02-19","fixed":"1.39.4","kev":false,"link":{"from":"CVE-2026-25592","to":"CVE-2026-26030","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:semantic-kernel","fromFixed":"1.39.3","toFixed":"1.39.4","daysApart":13},{"kind":"similar","provenance":"machine","score":0.27,"basis":"same product + description similarity"}]}}],"package":"PyPI:semantic-kernel"}}