Skip to main content
Vulnerability Database/CVE-2026-105797

CVE-2026-105797: SimpleChat Privilege Escalation Vulnerability

CVE-2026-105797 is a privilege escalation flaw in SimpleChat that lets low-privileged users execute arbitrary processes by bypassing admin checks. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-105797 Overview

CVE-2026-105797 is a high-severity authorization ordering flaw in Microsoft SimpleChat, a secure AI conversation application that supports personal and group workspaces for document-grounded interactions. The vulnerability affects versions 0.261.003 and 0.261.027 and allows an authenticated low-privileged user to bypass the Model Context Protocol (MCP) stdio restriction on the POST /api/user/plugins endpoint. By omitting the top-level MCP type, the _reject_non_admin_mcp_stdio check skips inspection before the type is restored from metadata. The attacker can then register a personal action that launches an attacker-controlled operating-system process under the application service identity. The issue is fixed in version 0.261.031.

Critical Impact

Authenticated low-privileged users can execute arbitrary operating-system commands under the SimpleChat service identity, exposing secrets, modifying data, and disrupting the service.

Affected Products

  • Microsoft SimpleChat version 0.261.003
  • Microsoft SimpleChat version 0.261.027
  • SimpleChat deployments with personal plugins enabled and governance permitting MCP actions

Discovery Timeline

  • 2026-10-06 - CVE-2026-105797 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-105797

Vulnerability Analysis

The vulnerability is a command injection flaw [CWE-78] rooted in an authorization ordering bug within the SimpleChat plugin registration pipeline. The POST /api/user/plugins endpoint enforces an administrative restriction on MCP stdio connectors through the _reject_non_admin_mcp_stdio guard. However, this guard inspects the top-level MCP type field before the backend reconstructs the type from stored metadata. An authenticated low-privileged user can submit a crafted payload that omits the top-level type, bypassing the guard. The server subsequently restores the MCP stdio type from metadata, persisting a personal action that invokes McpPluginFactory.create_connector. When the action tool is later invoked, MCPStdioPlugin.connect starts the attacker-selected process under the application service identity.

Root Cause

The root cause is a classic time-of-check mismatch between authorization and type resolution. The admin-only enforcement for MCP stdio connectors runs against a value that is not yet canonicalized, allowing the attacker to control the field the check inspects while the eventual execution path uses a different, metadata-derived value. The patch removes MCP stdio support and hardens action authorization by introducing explicit action type resolution via resolve_action_type in functions_governance.py.

Attack Vector

Exploitation requires network access, authenticated low-privilege credentials, personal plugins enabled, and governance that permits MCP actions. An attacker submits a malicious plugin registration request to POST /api/user/plugins, stores the action, then invokes the action tool. The resulting process executes under the SimpleChat service identity, granting access to secrets, configuration, and data available to that identity.

python
# Patch excerpt: application/single_app/config.py
 EXECUTOR_TYPE = 'thread'
 EXECUTOR_MAX_WORKERS = 30
 SESSION_TYPE = 'filesystem'
-VERSION = "0.261.028"
+VERSION = "0.261.029"
 IS_DEVELOPMENT = is_development_env_enabled()

# Patch excerpt: application/single_app/functions_governance.py
 import app_settings_cache
 from config import cosmos_governance_item_policies_container, cosmos_governance_policies_container
 from functions_activity_logging import log_governance_change
+from functions_action_manifest import resolve_action_type
 from functions_group import get_user_groups
 from functions_public_workspaces import get_user_public_workspaces
 from functions_settings import get_settings

Source: GitHub Commit 73ff7d6

Detection Methods for CVE-2026-105797

Indicators of Compromise

  • Requests to POST /api/user/plugins from non-admin users containing plugin payloads that omit a top-level MCP type field but include MCP stdio metadata.
  • Unexpected child processes spawned by the SimpleChat application service identity, especially shells, interpreters, or network utilities.
  • Newly registered personal actions that resolve to MCP stdio connectors after metadata-based type restoration.

Detection Strategies

  • Audit application logs for plugin registration events where the stored action type differs from the request-time type submitted by the client.
  • Correlate invocations of MCPStdioPlugin.connect with the registering user's privilege level to flag non-admin triggered stdio executions.
  • Monitor process creation telemetry on hosts running SimpleChat for processes parented to the service account that fall outside an approved baseline.

Monitoring Recommendations

  • Enable verbose logging on functions_governance.py and McpPluginFactory.create_connector to capture type resolution decisions.
  • Forward process creation and authentication telemetry to a centralized data lake for behavioral analysis and historical hunting.
  • Alert on any invocation of personal action tools that result in child process creation under the application service account.

How to Mitigate CVE-2026-105797

Immediate Actions Required

  • Upgrade SimpleChat to version 0.261.031 or later, which removes MCP stdio support and hardens action authorization.
  • Disable personal plugins in SimpleChat governance settings until the upgrade is validated across the deployment.
  • Review all registered personal actions and remove any that reference MCP stdio connectors or unexpected executables.

Patch Information

The fix is available in SimpleChat version 0.261.031. The patch introduces resolve_action_type in functions_governance.py to canonicalize action types before authorization decisions and removes MCP stdio connector support from the plugin factory. Technical details are documented in the GitHub Security Advisory GHSA-h4mw-qw8m-5x4j and the upstream commit.

Workarounds

  • Restrict governance policy to forbid MCP actions for all non-administrator roles until patched.
  • Run the SimpleChat service under a least-privilege identity with no access to sensitive secrets, data stores, or management APIs.
  • Enforce egress and process execution restrictions on the SimpleChat host to limit the blast radius of attacker-launched processes.
bash
# Configuration example: disable personal plugins and MCP actions via governance
# Set in SimpleChat admin governance policy
enable_personal_plugins: false
allow_mcp_actions: false
allow_mcp_stdio_connectors: false

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.