SecurityContext

CVE-2026-25592: Microsoft Semantic Kernel - Arbitrary File Write

  • Cve: CVE-2026-25592
  • Name: Microsoft Semantic Kernel - Arbitrary File Write
  • 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.
  • Impact: Attackers can write arbitrary files on the system, potentially leading to code execution or system compromise.
  • Remediation: Update to Microsoft.SemanticKernel.Core version 1.70.0 or later.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.9
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.02521
  • Epss percentile: 0.85253
  • Assignee: [email protected]
  • Published at: 2026-02-06T21:16:17Z
  • Age in days: 291
  • Modified at: 2026-06-17T10:24:55Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25592
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/microsoft/semantic-kernel/blob/main/dotnet/samples/Demos/CodeInterpreterPlugin/Program.cs#L61-L64
https://github.com/microsoft/semantic-kernel/pull/13478/changes#diff-88d3cacba2bfa84eef8f2aa171b34f9940338cbb784a3ffc49f5fe3af1b8943d
https://github.com/microsoft/semantic-kernel/security/advisories/GHSA-2ww3-72rp-wpp4

Products

ProductAffectedPlatform boundSourcesUrl
microsoft:semantic_kernel< 1.71.0nocna_alias_text/v1/products/microsoft/semantic_kernel

Projects

RepositoryLink kindsIndexedUrl
microsoft/semantic-kernelfix, package, pull, security_advisoryyes/v1/repositories/microsoft/semantic-kernel

Index

  • Repositories: 54
  • Repositories high signal: 20
  • Packages: 2

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts