Security mailing lists by PureSourceCode

CVE-2025-61260

CRITICAL 9.8CVSS 3.1

OpenAI Codex CLI enables code execution through malicious MCP (Model Context Protocol) configuration files

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.

Published
14 Apr 2026
Last modified
4 Nov 2026
Assigned by
cve@mitre.org
NVD status
Awaiting Analysis
Weakness
CWE-94
Also known as
GHSA-xrxf-jgv3-qmrm
Sources
NVDJSONOSV GHSA-xrxf-jgv3-qmrmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm @openai/codex <= 0.23.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 14 Apr 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.