Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Artificial Intelligence

Vulnerability in OpenAI Coding Agent Could Facilitate Attacks on Developers

The Codex CLI vulnerability tracked as CVE-2025-61260 can be exploited for command execution.

Development software vulnerability

OpenAI recently patched a Codex CLI vulnerability that can be exploited in attacks aimed at software developers, Check Point revealed on Monday.

Codex CLI is an open source coding agent that developers can run locally from their terminal. The AI agent can read, change, and run code on the machine, enabling users to improve documentation, write unit tests, generate architecture diagrams, propose PRs, and look for vulnerabilities using natural language commands.

Check Point researchers discovered that the tool automatically loaded and executed commands defined within local project configurations. The commands in these configuration files are implicitly trusted, and they are executed without first obtaining the user’s approval. 

An attacker who can commit or merge specially crafted configuration files into the targeted developer’s repository can plant files that trigger the execution of malicious commands. 

[ Read: OpenAI User Data Exposed in Mixpanel Hack ]

“An initially innocuous config can be swapped for a malicious one post-approval or post-merge, creating a stealthy, reproducible supply-chain backdoor that triggers on normal developer workflows,” Check Point warned.

Advertisement. Scroll to continue reading.

The security firm’s researchers showed how an attacker could exploit the Codex CLI vulnerability to deploy a reverse shell for persistent remote access, silently execute arbitrary commands, exfiltrate credentials and other secrets, escalate privileges, and move laterally. 

An attacker could also leverage the flaw to mount supply chain attacks. 

“Compromised templates, starter repos, or popular open-source projects can weaponize many downstream consumers with a single commit,” Check Point explained. “If CI, automation, or build agents run codex on checked-out code, the compromise can move from workstations into build artifacts and downstream deployments.”

The vulnerability, tracked as CVE-2025-61260, was reported to OpenAI in August, and a patch was made available less than two weeks later with the release of Codex CLI 0.23.0.

Related: Microsoft Highlights Security Risks Introduced by New Agentic AI Feature

Related: WormGPT 4 and KawaiiGPT: New Dark LLMs Boost Cybercrime Automation

Related: AI Agent Security Firm Vijil Raises $17 Million

Written By

Eduard Kovacs (@EduardKovacs) is senior managing editor at SecurityWeek. He worked as a high school IT teacher before starting a career in journalism in 2011. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this live webinar as we explore if detection-first security operations can keep pace with AI, or if it’s time to rethink prevention as the strongest default.

Register

CodeSecCon bridges the gap between dev and security. Discover best practices for secure coding, innovative risk-reduction tools, and safe AI integration to cultivate a true DevSecOps culture. Safely secure your apps!

Register

People on the Move

PNC Financial Services Group has appointed Christian Winward as CISO.

Brian Gumbel has joined Armadin as Chief Revenue Officer.

EigenQ has appointed Mark Pecen as Vice Chairman and Alexander Truskovsky as CISO.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.