The discovery of "Plugin4Shell" and associated LangGraph vulnerability chains introduces a critical zero-click Remote Code Execution (RCE) vector targeting AI-driven development environments. By exploiting plugin marketplaces and orchestration logic, attackers inject malicious instructions into plugin metadata or retrieved grounding context. This triggers semantic integrity failures and agentic memory exploitation, enabling CVE-2026-35603 privilege escalation. The vulnerability allows adversaries to hijack the full permissions of developers within GitHub Copilot, Claude Code, and Gemini CLI, facilitating unauthorized access to proprietary source code, corporate credentials, and internal enterprise systems through autonomous, unintended tool execution.
-
Vulnerability Mechanics: Plugin4Shell and LangDrained
- Plugin4Shell Vector: Injection of malicious instructions into plugin metadata or retrieved grounding context to trigger RCE.
- LangDrained Exploit: Facilitates data exfiltration through popular orchestration frameworks including LangChain, AutoGPT, and CrewAI.
- Semantic Integrity Failures: Corruption of the document-to-LLM pipeline to manipulate agent behavior and reasoning.
- Agentic Memory Exploitation: Leveraging LLM context windows as a persistent vector for malicious instruction injection.
-
Exploit Chain: Orchestration and Privilege Escalation
- CVE-2026-35603: Direct privilege escalation vulnerability identified within major AI coding environments.
- Orchestration Hijacking: Chaining Plugin4Shell with LangGraph vulnerabilities (specifically LLM search grounding and memory mismanagement) to force code execution.
- Zero-Click Delivery: Exploitation of the architectural reliance of AI coding agents on third-party plugin marketplaces for automatic payload delivery.
-
Impact Analysis: Identity and Supply Chain Compromise
- Affected Ecosystem: Broad exposure across GitHub Copilot, Claude Code, Gemini CLI, and Codex platforms.
- Systemic Risk: Potential for full system compromise equivalent to the hijacked user's administrative or developer privileges.
- Enterprise Consequences: Unauthorized access to proprietary source code, lateral movement within corporate networks, and theft of developer credentials.
-
Defensive Response: Securing the AI Supply Chain
- Schema Validation: Implement rigorous schema validation for all plugin metadata and third-party tool interaction payloads.
- Behavioral Monitoring: Monitor orchestration layers for anomalous tool-calling patterns and unauthorized context shifts.
- Access Control: Enforce strict Principle of Least Privilege (PoLP) for all autonomous agentic tool permissions.
- Remediation Status: Patching is currently in progress; organizations should verify update status for all integrated AI development tools.
Related posts
- The Register - Security — AI coding agents' 0-click RCE flaw could hand attackers keys to the kingdom
- Cymulate
- Gopher
- Appsentinels
- helpnetsecurity.com — Zero-click RCE vulnerability hit four major AI coding agents, two remain unpatched
- Blog
- Plainenglish
- Csoonline
- Infoworld
- Air
- Cybersecuritynews
- Daily