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

CVE-2026-109443: JoySafeter RCE Vulnerability

CVE-2026-109443 is a remote code execution flaw in JoySafeter that lets authenticated users execute OS commands through an unsandboxed tool. This post covers technical details, affected versions, and mitigation.

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-109443 Overview

CVE-2026-109443 is a remote code execution vulnerability in JoySafeter through version 1.0.0. The flaw allows authenticated users to execute arbitrary operating system commands through an unsandboxed execute tool exposed in Copilot standard mode. Attackers can self-register an account, select standard mode within the WebSocket chat.start extension, and trigger the agent to invoke subprocess.run with shell=True on the host. Successful exploitation grants access to other tenants' data and server secrets, breaking multi-tenant isolation. The vulnerability maps to CWE-653: Improper Isolation or Compartmentalization.

Critical Impact

Any self-registered user can execute arbitrary shell commands on the JoySafeter host, exposing cross-tenant data and backend credentials.

Affected Products

  • JoySafeter through 1.0.0
  • JoySafeter Copilot service (backend/app/services/copilot_service.py)
  • JoySafeter agent command executor backend (backend/app/core/agent/backends/utils/command_executor.py)

Discovery Timeline

  • 2026-10-20 - CVE-2026-109443 published to NVD
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2026-109443

Vulnerability Analysis

JoySafeter exposes a Copilot agent that can invoke tool calls from a WebSocket endpoint. In standard mode, the agent is wired to an execute tool that runs shell commands directly on the host without sandboxing, container isolation, or allow-listing. Any authenticated user, including a freshly self-registered account, can reach the tool through the chat.start WebSocket extension.

Because the executor invokes Python's subprocess.run with shell=True, the agent passes attacker-influenced strings to the system shell. The process runs with the privileges of the JoySafeter backend, which has access to tenant databases, environment variables, and server-side secrets. The multi-tenant model collapses once a single tenant obtains shell access to the shared backend host.

Root Cause

The root cause is improper isolation between the Copilot agent runtime and the underlying operating system. The command_executor.py utility runs tool-provided commands directly on the host shell, and copilot_service.py makes this tool available in standard mode without authorization checks beyond basic authentication. Combined with open self-registration, this collapses the trust boundary between untrusted tenant users and privileged host execution.

Attack Vector

Exploitation requires network access and a low-privileged account. The attacker self-registers, opens a WebSocket to the Copilot chat.start endpoint, selects standard mode, and sends a prompt that causes the agent to invoke the execute tool with an attacker-chosen command. The command runs through subprocess.run(..., shell=True) on the backend host, returning output over the same WebSocket session.

Technical details are available in the VulnCheck JoySafeter Advisory, the Lasso Security CVE-2026-109443 writeup, and the vulnerable source in the GitHub Command Executor Code and GitHub Copilot Service Code.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-109443

Indicators of Compromise

  • Child processes of the JoySafeter backend spawning /bin/sh, bash, or other interpreters originating from the Copilot service process tree.
  • Outbound network connections from the JoySafeter host to attacker-controlled IPs following WebSocket chat.start sessions.
  • Access to tenant database files, .env files, or secret stores by the backend process outside of normal query patterns.
  • New self-registered accounts followed shortly by standard-mode Copilot sessions and anomalous tool invocations.

Detection Strategies

  • Instrument the Copilot agent to log every tool invocation, including the full command string passed to execute, user identity, and tenant ID.
  • Alert on any invocation of subprocess.run with shell=True originating from agent backends in production telemetry.
  • Correlate WebSocket chat.start sessions in standard mode with subsequent process creations on the backend host.

Monitoring Recommendations

  • Monitor authentication logs for bursts of self-registrations followed by immediate Copilot usage.
  • Baseline normal process trees for the JoySafeter backend and alert on deviations such as shell spawns or network utilities (curl, wget, nc).
  • Track reads of sensitive files (/etc/passwd, application secrets, tenant data directories) by the backend service account.

How to Mitigate CVE-2026-109443

Immediate Actions Required

  • Disable Copilot standard mode or remove the execute tool from the agent tool registry until a patched release is available.
  • Disable open self-registration and require administrator approval for new accounts.
  • Rotate all server-side secrets, API keys, and database credentials accessible to the JoySafeter backend process.
  • Audit WebSocket chat.start session logs for prior unauthorized tool invocations and investigate any confirmed executions.

Patch Information

No fixed version is listed in the NVD entry at publication. The vulnerability affects JoySafeter through 1.0.0. Monitor the jd-opensource/JoySafeter repository and the VulnCheck JoySafeter Advisory for upstream fixes, and upgrade when a release addressing the Copilot execute tool is published.

Workarounds

  • Replace subprocess.run(..., shell=True) with an allow-listed, parameterized executor that rejects shell metacharacters and arbitrary binaries.
  • Run the Copilot agent in a dedicated, non-privileged container or sandbox with no access to tenant data stores or secrets.
  • Enforce per-tenant isolation at the process and filesystem level so that a backend compromise cannot read other tenants' data.
  • Place the JoySafeter WebSocket endpoint behind network controls that restrict access to trusted users and inspect agent traffic.
bash
# Configuration example: disable the execute tool in Copilot standard mode
# (apply as a code-level change pending an upstream patch)
# backend/app/services/copilot_service.py
COPILOT_STANDARD_MODE_TOOLS = [
    # "execute",  # removed to mitigate CVE-2026-109443
    "search",
    "summarize",
]

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.