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 0.1%top 84%

CVE-2025-61260: n/a

0
Critical
VulnerabilityCVE-2025-61260cvecve-2025-61260
Published: Tue Apr 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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 06:31:25 UTC

Technical Analysis

OpenAI Codex CLI versions 0.23.0 and earlier are vulnerable to arbitrary code execution via malicious MCP configuration files. The attack vector involves placing crafted .env or .codex/config.toml files in a repository. When a user runs the codex command within that repository, the CLI automatically loads these files without prompting, executing embedded commands immediately. This behavior results in remote code execution without requiring user interaction or privileges. The vulnerability is tracked as CVE-2025-61260 with a CVSS 3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). No official patch or remediation guidance is currently provided, and no known exploits in the wild have been reported.

Potential Impact

Successful exploitation leads to remote, unauthenticated, and automatic execution of arbitrary commands on the user's system when running the codex CLI inside a malicious repository. This compromises confidentiality, integrity, and availability of the affected system. The vulnerability does not require user interaction beyond running the codex command and does not require privileges, making it highly severe.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid running the codex CLI command inside untrusted or unverified repositories to prevent automatic loading of malicious configuration files. Monitoring for updates from OpenAI regarding patches or mitigations is strongly recommended.

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: 4/14/2026, 2:32:15 PM

Last enriched: 4/22/2026, 6:31:25 AM

Last updated: 5/31/2026, 12:37:30 AM

Views: 99

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