An arbitrary file write issue exists within the `SessionsPythonPlugin` of the Semantic Kernel .NET SDK. This flaw allows for the potential overwriting of application source code, such as `Program.cs`, which can lead to full host takeover and persistence. The issue stems from a trust gap where stochastic LLM output is treated as high-privilege system commands when `AutoInvokeKernelFunctions` is enabled. Attackers can bypass security filters using techniques such as JSON type confusion, Base64/URL encoding, and Unicode homoglyphs to perform path traversal. Specifically, the vulnerability affects the `DownloadFileAsync()` and `UploadFileAsync()` functions via the `localFilePath` variable.