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-111091 Overview
CVE-2026-111091 affects JetBrains Junie CLI versions before 26.8.3. The vulnerability permits code execution when a developer opens an untrusted project containing a malicious Model Context Protocol (MCP) server configuration. Junie CLI processes the embedded MCP server definition and launches the referenced process without sufficient trust validation. The flaw is classified under [CWE-829: Inclusion of Functionality from Untrusted Control Sphere].
Attackers exploit this issue by distributing crafted projects through code repositories, archives, or supply-chain channels. When the target opens the project in Junie CLI, the attacker-controlled MCP configuration runs with the user's privileges.
Critical Impact
Opening a malicious project in Junie CLI results in arbitrary local code execution with the user's permissions, enabling full compromise of the developer workstation.
Affected Products
- JetBrains Junie CLI versions prior to 26.8.3
- Developer workstations running the vulnerable Junie CLI with MCP integration
- Any environment where untrusted projects may be opened in Junie CLI
Discovery Timeline
- 2026-10-15 - CVE-2026-111091 published to the National Vulnerability Database
- 2026-10-15 - Last updated in NVD database
Technical Details for CVE-2026-111091
Vulnerability Analysis
JetBrains Junie CLI integrates with the Model Context Protocol to extend AI agent capabilities through external tool servers. MCP server configurations live inside project directories and specify commands the CLI should spawn to establish tool connections. Versions before 26.8.3 consume these configurations from untrusted projects without requiring explicit user approval or trust promotion.
An attacker who controls a project's MCP configuration file can declare an arbitrary executable or shell command as an MCP server. When a developer opens the project, Junie CLI reads the configuration and launches the specified process. The vulnerability requires user interaction limited to opening the project, which matches common developer workflows for cloning or reviewing third-party code.
Full technical details are documented on the JetBrains Security Issues Fixed page.
Root Cause
The root cause is inclusion of functionality from an untrusted control sphere [CWE-829]. Junie CLI treats project-local MCP server definitions as trusted operational configuration rather than attacker-controlled input. No workspace trust gate validates whether the user has approved automatic MCP server spawning for a given project before execution occurs.
Attack Vector
Exploitation requires local attack access and user interaction. The attacker delivers a project containing a malicious MCP server configuration through a Git repository, archive download, shared folder, or similar channel. The victim opens the project in a vulnerable Junie CLI version. Junie CLI parses the MCP configuration and executes the attacker-defined command under the victim's user context, yielding code execution without additional prompts.
No verified proof-of-concept code is available for this vulnerability. The exploitation pattern is consistent with other MCP configuration abuse scenarios where untrusted project metadata triggers process execution. Refer to the vendor advisory for authoritative technical details.
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 AttemptsDetection Methods for CVE-2026-111091
Indicators of Compromise
- Unexpected child processes spawned by the Junie CLI binary immediately after a project is opened
- Presence of MCP configuration files inside cloned or downloaded projects that reference unfamiliar executables, scripts, or shell commands
- Outbound network connections from processes launched by Junie CLI to domains not associated with legitimate MCP servers
- New persistence artifacts, scheduled tasks, or shell profile modifications created shortly after opening a third-party project
Detection Strategies
- Monitor process creation events where Junie CLI is the parent process and the child is an interpreter such as bash, sh, python, node, or powershell
- Alert on filesystem writes to startup locations, SSH authorized keys, or developer tool configuration files following project open operations
- Inspect project trees for MCP server configuration entries that invoke binaries outside standard package manager paths
Monitoring Recommendations
- Enable endpoint telemetry on developer workstations to capture full command lines for processes spawned by Junie CLI
- Baseline normal MCP server executables used by your development teams and alert on deviations
- Correlate Junie CLI process ancestry with network egress and credential access events to identify post-exploitation behavior
How to Mitigate CVE-2026-111091
Immediate Actions Required
- Upgrade JetBrains Junie CLI to version 26.8.3 or later on all developer workstations
- Audit recently opened third-party projects for suspicious MCP server configuration files
- Instruct developers to avoid opening untrusted projects in Junie CLI until the patched version is deployed
- Rotate credentials and tokens accessible from any workstation that opened an untrusted project with a vulnerable Junie CLI build
Patch Information
JetBrains addressed CVE-2026-111091 in Junie CLI 26.8.3. The fix is listed on the JetBrains Security Issues Fixed page. Install the latest release through official JetBrains distribution channels and verify the installed version before resuming use with external projects.
Workarounds
- Review and remove MCP server configuration files from untrusted projects before opening them in Junie CLI
- Open suspicious projects inside isolated virtual machines or disposable containers with no access to production credentials
- Restrict Junie CLI execution to projects originating from vetted internal repositories until the upgrade is complete
# Verify installed Junie CLI version and inspect project MCP configuration before opening
junie --version
find . -type f \( -name 'mcp.json' -o -name '.mcp*' -o -path '*/.junie/*' \) -print
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

