GHSA-xrxf-jgv3-qmrm

Suggest an improvement
Source
https://github.com/advisories/GHSA-xrxf-jgv3-qmrm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-xrxf-jgv3-qmrm/GHSA-xrxf-jgv3-qmrm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xrxf-jgv3-qmrm
Aliases
  • CVE-2025-61260
Published
2026-04-14T15:30:34Z
Modified
2026-04-16T23:11:28Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
OpenAI Codex CLI enables code execution through malicious MCP (Model Context Protocol) configuration files
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-94"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-04-16T22:56:42Z",
    "nvd_published_at": "2026-04-14T15:16:24Z",
    "severity": "CRITICAL"
}
References

Affected packages

npm / @openai/codex

Package

Name
@openai/codex
View open source insights on deps.dev
Purl
pkg:npm/%40openai/codex

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
0.23.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-xrxf-jgv3-qmrm/GHSA-xrxf-jgv3-qmrm.json"