CVE-2026-25592 json
Semantic Kernel has an Arbitrary File Write via AI Agent Function Calling in .NET SDK
published 2026-02-06 9 mo ago modified 2026-07-01 4 mo ago also EUVD-2026-5582 , GHSA-2ww3-72rp-wpp4 , PYSEC-2026-531
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi semantic-kernel 1.39.3
- nuget Microsoft.SemanticKernel.Core 1.71.0
- microsoft semantic_kernel 1.71.0
- github.com/microsoft/semantic-kernel#13478 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 8 mo ago
Exploit prediction
2.52% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | semantic-kernel | <1.39.3 |
1.39.3 |
| nuget | Microsoft.SemanticKernel.Core | <1.71.0 |
1.71.0 |
Affected products
- microsoft semantic-kernel
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/microsoft/semantic-kernel/pull/13478/changes#diff-88d3cacba2bfa84eef8f2aa171b34f9940338cbb784a3ffc49f5fe3af1b
web
-
github.com
/microsoft/semantic-kernel/security/advisories/GHSA-2ww3-72rp-wpp4
web
-
github.com
/microsoft/semantic-kernel/blob/main/dotnet/samples/Demos/CodeInterpreterPlugin/Program.cs#L61-L64
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-25592
advisory
-
github.com
/microsoft/semantic-kernel
package
-
pypi.org
/project/semantic-kernel
package
-
github.com
/advisories/GHSA-2ww3-72rp-wpp4
advisory
Sources
- CVE List CVE-2026-25592
- GitHub Advisory GHSA-2ww3-72rp-wpp4
- NVD CVE-2026-25592
- OSV PYSEC-2026-531
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.