Plugin4Shell Lets Repository Owners Swap Pinned Plugin Code Across Four AI Coding Agents
Summary
A security flaw in four AI coding agents (Claude Code, Codex, GitHub Copilot, and Gemini CLI) allows someone controlling a plugin's code repository to swap in malicious code even when the agent is locked to a specific reviewed version. The vulnerability works by creating a branch with a name that looks like a commit hash (a long string identifying exact code), tricking the agent into installing different code while reporting it installed the locked version, giving the malicious code access to the user's files and credentials.
Solution / Mitigation
Anthropic patched the flaw in Claude Code version 2.1.179 or later. OpenAI patched it in Codex version 0.146.0 or later. GitHub Copilot has no fix available. Google will not patch Gemini CLI, which it is retiring.
Classification
Affected Vendors
Related Issues
CVE-2026-63086: text-generation-inference through 3.3.7 contains a server-side request forgery (SSRF) vulnerability in the OpenAI-compat
CVE-2026-34371: LibreChat is a ChatGPT clone with additional features. Prior to 0.8.4, LibreChat trusts the name field returned by the e
Original source: https://thehackernews.com/2026/09/plugin4shell-lets-repository-owners.html
First tracked: September 18, 2026 at 02:00 PM
Classified by LLM (prompt v3) · confidence: 92%