Cybersecurity news

Jessica Doner

Back to the list

Plugin4Shell Zero-Click RCE Hits Claude Code, Codex, Copilot and Gemini CLI

GBHackers,

A vulnerability lets attackers replace trusted plugins with malicious code to execute remote code without user interaction in major AI coding agents.

AI and securityVulnerabilities and patches

Overview

A vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend named Plugin4Shell allows attackers to replace trusted software components with malicious codeSoftware built to steal data, spy on users, lock files, or take control of a computer in major AI coding agents. This flaw affects Anthropic Claude Code, OpenAI Codex, GitHub Copilot, and Gemini CLIA text-based terminal interface where users type commands instead of clicking buttons in a graphical window by breaking the security measure that pins an add-on to a specific Git commit. Normally, organizations review a plugin at a specific commit and record its SHA hashA short, fixed-length fingerprint of data, made by a hash algorithm with no key to ensure the agent retrieves the exact approved code. However, the vulnerability exploits Git reference name ambiguity, allowing an attacker to create a branch with the same name as the pinned commit hash. Because these agents automatically update pluginsAn add-on software module that extends a website, browser, or application with extra features, the malicious code can be deployed without user interaction. This means that developers using these tools may unknowingly install harmful software that has access to source codeThe human-readable programming instructions written by developers before they are compiled into a runnable program, secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys, and productionThe live servers and databases that real customers actually use, as opposed to internal test machines systems.

Terms in this story

vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
malicious code
Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
CLI
A text-based terminal interface where users type commands instead of clicking buttons in a graphical window. Software teams and administrators manage cloud servers and code repositories through a CLI because text commands are fast and easy to automate in scripts.
hash
A short, fixed-length fingerprint of data, made by a hash algorithm with no key. Security reports list file hashes so defenders can check whether a suspicious program on their network matches known malware, and servers store password hashes instead of plain passwords. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
plugins
An add-on software module that extends a website, browser, or application with extra features. Small businesses add dozens of third-party plugins to their websites for contact forms or shopping carts, and an unpatched plugin flaw is a common way attackers take over a site.
source code
The human-readable programming instructions written by developers before they are compiled into a runnable program. When attackers steal a company's private source code from a repository, they can study it to find hidden vulnerabilities or leaked API keys.
secrets
Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
production
The live servers and databases that real customers actually use, as opposed to internal test machines. A bug or breach in a company's production environment directly affects live users and real customer records.
Zero-Click
An attack that compromises a phone or computer automatically when a message arrives, with no user interaction. Commercial spyware often uses a zero-click exploit hidden in an incoming text or image message so the victim's phone is infected even if they never open the message.
remote code execution
A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
code execution
A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
extensions
A small add-on program installed inside a web browser to add features like ad blocking. Because a browser extension can often read and change every web page you visit, attackers buy or hijack legitimate extensions to steal session cookies and passwords.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the GBHackers website. Cite the article, not this page.

Read the full article on GBHackers (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related