# CVE-2026-25592: Semantic Kernel has an Arbitrary File Write via AI Agent Function Calling in .NET SDK

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.52%, higher than 85% of CVEs (2026-12-01)
- Published: 2026-02-06T18:37:24.000Z
- Modified: 2026-07-01T20:23:04.850Z
- Also known as: GHSA-2ww3-72rp-wpp4, PYSEC-2026-531
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- microsoft semantic-kernel: < 1.71.0
- semantic-kernel (PyPI): before 1.39.3
- Microsoft.SemanticKernel.Core (NuGet): before 1.71.0

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/microsoft/semantic-kernel/security/advisories/GHSA-2ww3-72rp-wpp4> (web)
- <https://github.com/microsoft/semantic-kernel/pull/13478/changes#diff-88d3cacba2bfa84eef8f2aa171b34f9940338cbb784a3ffc49f5fe3af1b8943d> (web)
- <https://github.com/microsoft/semantic-kernel/blob/main/dotnet/samples/Demos/CodeInterpreterPlugin/Program.cs#L61-L64> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25592> (advisory)
- <https://github.com/microsoft/semantic-kernel> (package)
- <https://pypi.org/project/semantic-kernel> (package)
- <https://github.com/advisories/GHSA-2ww3-72rp-wpp4> (advisory)

## Sources

- CVE List: [CVE-2026-25592](https://www.cve.org/CVERecord?id=CVE-2026-25592), CVE Terms of Use, modified 2026-02-18
- GitHub Advisory Database: [GHSA-2ww3-72rp-wpp4](https://github.com/advisories/GHSA-2ww3-72rp-wpp4), CC-BY-4.0, modified 2026-06-29
- NVD: [CVE-2026-25592](https://nvd.nist.gov/vuln/detail/CVE-2026-25592), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-531](https://osv.dev/vulnerability/PYSEC-2026-531), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2026-25592 · Whole record: https://cve.day/CVE-2026-25592.json · Rebuilt by cve.day 2026-11-25T22:59:13.577Z
