CVE-2025-61260 | OpenAI Codex CLI up to 0.23.0 Model Context Protocol Configuration File codex/config.toml privilege escalation
VulDBArchived Apr 14, 2026✓ Full text saved
A vulnerability marked as critical has been reported in OpenAI Codex CLI up to 0.23.0 . The affected element is an unknown function of the file codex/config.toml of the component Model Context Protocol Configuration File Handler . This manipulation causes privilege escalation. The identification of this vulnerability is CVE-2025-61260 . The attack needs to be done within the local network. There is no exploit available.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-357320 · CVE-2025-61260 · GCVE-0-2025-61260
OPENAI CODEX CLI UP TO 0.23.0 MODEL CONTEXT PROTOCOL CONFIGURATION FILE CODEX/CONFIG.TOML PRIVILEGE ESCALATION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
5.5 $0-$5k 1.68+
Summaryinfo
A vulnerability described as critical has been identified in OpenAI Codex CLI up to 0.23.0. The impacted element is an unknown function of the file codex/config.toml of the component Model Context Protocol Configuration File Handler. Such manipulation leads to an unknown weakness. This vulnerability is referenced as CVE-2025-61260. No exploit is available.
Detailsinfo
A vulnerability, which was classified as critical, has been found in OpenAI Codex CLI up to 0.23.0. Affected by this issue is an unknown code block of the file codex/config.toml of the component Model Context Protocol Configuration File Handler. Impacted is confidentiality, integrity, and availability. CVE summarizes:
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.
This vulnerability is handled as CVE-2025-61260 since 09/26/2025. The exploitation is known to be easy. There are known technical details, but no exploit is available.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
Productinfo
Vendor
OpenAI
Name
Codex CLI
Version
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
0.10
0.11
0.12
0.13
0.14
0.15
0.16
0.17
0.18
0.19
0.20
0.21
0.22
0.23.0
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 5.5
VulDB Meta Temp Score: 5.5
VulDB Base Score: 5.5
VulDB Temp Score: 5.5
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Privilege escalation
CWE: Unknown
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Partially
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: no mitigation known
Status: 🔍
0-Day Time: 🔒
Timelineinfo
09/26/2025 CVE reserved
04/14/2026 +200 days Advisory disclosed
04/14/2026 +0 days VulDB entry created
04/14/2026 +0 days VulDB entry last update
Sourcesinfo
Status: Not defined
CVE: CVE-2025-61260 (🔒)
GCVE (CVE): GCVE-0-2025-61260
GCVE (VulDB): GCVE-100-357320
Entryinfo
Created: 04/14/2026 16:37
Changes: 04/14/2026 16:37 (51)
Complete: 🔍
Cache ID: 99:E3B:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸