Skip to main content

CVE-2026-25592 — Vulnerability in semantic-kernel — CVE Details

CRITICAL

Semantic Kernel has Arbitrary File Write via AI Agent Function Calling in .NET SDK

Published February 6, 2026Updated June 29, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (2.52%). Schedule for your next planned update.

Does your project use an affected semantic-kernel version?

Paste your requirements.txt to check it for CVE-2026-25592 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my requirements.txt

Summary

Impact

What kind of vulnerability is it? Who is impacted? An Arbitrary File Write vulnerability has been identified in Microsoft's Semantic Kernel .NET SDK, specifically within the SessionsPythonPlugin. Developers who have built applications which include Microsoft's Semantic Kernel .NET SDK and are using the SessionsPythonPlugin

Patches

Has the problem been patched? What versions should users upgrade to? The problem has been fixed in Microsoft.SemanticKernel.Plugins.Core version 1.71.0. Users should upgrade to version 1.71.0 or higher.

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading? 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.

References

Are there any links users can visit to find out more?

Advisory Timeline

  • First published February 6, 2026 (293 days ago).
  • Last revised June 29, 2026 — 143 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update semantic-kernel to 1.39.3 or later
pip install "semantic-kernel>=1.39.3"
NuGet
Update Microsoft.SemanticKernel.Core to 1.71.0 or later
dotnet add package Microsoft.SemanticKernel.Core --version 1.71.0

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 2 ecosystems: NuGet (1), PyPI (1).

PackageFixed In
semantic-kernel PyPI · Affected: 0.0.1.dev0, 0.1.0.dev0, 0.2.0.dev0, 0.2.1.dev0 (+121 more)1.39.3
Microsoft.SemanticKernel.Core NuGet · Affected: 0.12.207.1-preview, 0.13.277.1-preview, 0.13.442.1-preview, 0.14.547.1-preview (+109 more)1.71.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-25592?
Semantic Kernel has Arbitrary File Write via AI Agent Function Calling in .NET SDK. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
How do I check if my project is affected by CVE-2026-25592?
CVE-2026-25592 affects semantic-kernel and Microsoft.SemanticKernel.Core. It has a 2.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-25592 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
2.52%
EPSS percentile: 85.5

This places it in the top quartile of EPSS-scored vulnerabilities — 85.5% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-2ww3-72rp-wpp4
PYSEC-2026-531

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my requirements.txt