9.8
/ 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
AI Analysis
Code execution vulnerability through malicious MCP configuration files
Basic Information
ID
CVE-2025-61260
Source
mitre
Published
Apr 14, 2026 at 00:00
Modified
Apr 16, 2026 at 12:06
Affected Product
Vendor
OpenAI
Product
OpenAI Codex CLI
Version
v0.23.0 and before
Affected Versions
n/a n/a n/a
CWE Classification
AI Assessment
AI Score
9.8 / 10
AI Severity
Critical
Vendor
OpenAI
Product
OpenAI Codex CLI
Version
v0.23.0 and before