Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 6.6%top 6.9%

CVE-2025-61260: n/a

0
Critical
VulnerabilityCVE-2025-61260cvecve-2025-61260
Published: 04/14/2026 (04/14/2026, 00:00:00 UTC)
Source: CVE Database V5

Description

A vulnerability was identified in OpenAI Codex CLI v0.23.0 and before that enables code execution through malicious MCP (Model Context Protocol) configuration files. The attack is triggered when a user runs the codex command inside a malicious or compromised repository. Codex automatically loads project-local .env and .codex/config.toml files without requiring user confirmation, allowing attackers to embed arbitrary commands that execute immediately.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

openai/codex-cli
pkg:npm/openai/codex-cli
Affected versions
<=0.23.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/05/2026, 21:36:06 UTC

Technical Analysis

CVE-2025-61260 affects OpenAI Codex CLI up to version 0.23.0. The vulnerability arises because the tool automatically loads project-local environment and configuration files (.env and .codex/config.toml) without requiring user confirmation. An attacker who controls or compromises a repository can embed malicious commands in these files, which are executed immediately when the codex command is run. This leads to unauthenticated remote code execution with high impact on confidentiality, integrity, and availability. The CVSS v3.1 base score is 9.8, reflecting network attack vector, no privileges required, no user interaction, and full compromise impact. There is no vendor advisory or patch information currently available.

Potential Impact

Successful exploitation results in remote code execution on the user's system running the vulnerable Codex CLI, allowing attackers to execute arbitrary commands with the privileges of the user running the tool. This compromises confidentiality, integrity, and availability of the affected system. The vulnerability requires no privileges or user interaction beyond running the codex command in a malicious repository.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid running the codex command inside untrusted or potentially compromised repositories to prevent automatic loading and execution of malicious configuration files.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2025-09-26T00:00:00.000Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 69de4fef82d89c981fa84b32

Added to database: 04/14/2026, 14:32:15 UTC

Last enriched: 07/05/2026, 21:36:06 UTC

Last updated: 07/31/2026, 19:22:56 UTC

Views: 186

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses