CVE-2025-61260
Full vulnerability record from the local CVENow database.
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.
Severity
CRITICAL
CVSS score
9.8
(v3.1)
Vulnerability status
Awaiting Analysis
Source identifier
Published
2026-04-14 15:16:24.487000
Last modified
2026-11-04 22:10:00.210000
View original CVE JSON
{
"id": "CVE-2025-61260",
"sourceIdentifier": "[email protected]",
"published": "2026-04-14T15:16:24.487",
"lastModified": "2026-11-04T22:10:00.210",
"vulnStatus": "Awaiting Analysis",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Se identificó una vulnerabilidad en OpenAI Codex CLI v0.23.0 y versiones anteriores que permite la ejecución de código a través de archivos de configuración maliciosos de MCP (Protocolo de Contexto del Modelo). El ataque se activa cuando un usuario ejecuta el comando codex dentro de un repositorio malicioso o comprometido. Codex carga automáticamente los archivos .env y .codex/config.toml locales del proyecto sin requerir confirmación del usuario, lo que permite a los atacantes incrustar comandos arbitrarios que se ejecutan inmediatamente."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"version": "n/a",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-04-16T11:31:28.540098Z",
"id": "CVE-2025-61260",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "yes"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-94"
}
]
}
],
"references": [
{
"url": "https://research.checkpoint.com/2025/openai-codex-cli-command-injection-vulnerability/",
"source": "[email protected]"
},
{
"url": "https://research.checkpoint.com/2025/openai-codex-cli-command-injection-vulnerability/",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}