Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

Known CVEnpm/@openai/codex

CVE-2025-61260: OpenAI Codex CLI runs commands from a repository's MCP configuration

Critical

A project-local config (via a committed .env pointing CODEX_HOME at the repo) makes Codex start the MCP servers it lists with no prompt, so cloning and running Codex in a malicious repository executes code. Upgrade to the latest release.

Affected and fixed versions

Affected: <= 0.23.0.

Sources

See every known CVE, and the ones in the news, in the Learning Center