Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft repo with malicious .git/config filter
-
DeliveryDeliver archive preserving local config
-
ExploitVictim opens workspace in Codex Desktop
-
ExecutionCodex auto-inspects Git status
-
PersistGit runs attacker filter program
-
ImpactCode executes as user outside sandbox
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration Configuration hardening
|
| Exploitation Conditions | Requires all of the following: Git must be present on the system PATH; the victim must open, as a Codex workspace, an attacker-prepared repository whose local .git/config is preserved intact (attr.tree plus a configured clean or process filter). Delivery cannot be a normal git clone, because cloning does not copy the source repository's .git/config - the attacker must ship the repo as an archive/directory copy that retains the malicious config. Limiting factors: user must actively open the malicious workspace (user interaction), and the specific Git filter configuration must survive delivery; there is no authentication requirement (PR:N) and no model interaction or trust prompt is triggered once opened. |
| Impact | The published CVSS is 9.8 with AV:N/AC:L/PR:N/UI:N, but the description contradicts UI:N and AV:N: exploitation explicitly requires the victim to open an attacker-prepared repository with its local Git configuration intact, and a normal git clone does NOT reproduce the condition because it discards the source .git/config. That means an attacker must deliver the repo as an archive/copy that preserves .git/config, and the user must actively open it - so user interaction is genuinely required and the delivery is closer to a malicious-file scenario than a remote unauthenticated network attack. I assess a more realistic score near 7.7 (AV:L/UI:R). Supporting signals are consistent with lower urgency than the 9.8 implies: EPSS is 0.14% (4th percentile), not in CISA KEV, and no POC is referenced. The technical impact is high (full code execution as the user, sandbox bypass), but automatability is limited by the required user action and the non-trivial delivery constraint. Net: real and serious when triggered, but not mass-exploitable - the 9.8 overstates network/no-interaction ease. |
| Exploit ScenarioDerived | An attacker crafts a Git repository whose .git/config sets attr.tree and a process/clean filter pointing at a malicious binary, then delivers it to a developer as a zip or shared folder (not a clonable remote, to preserve the config). When the developer opens that folder as a workspace in Codex Desktop, Codex automatically reads Git status, Git invokes the filter, and the attacker's program runs with the user's privileges outside the Codex sandbox - stealing credentials or planting malware. No POC is currently published. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 02, 2026
Arbitrary code execution in OpenAI Codex Desktop (Windows and macOS, including the Microsoft Store package) occurs when a user opens a workspace containing an attacker-prepared Git repository whose local .git/config is intact. Because Codex automatically inspects Git metadata and working-tree status on open, a malicious attr.tree setting combined with a clean/process filter causes Git to launch an attacker-controlled program outside Codex's command sandbox, with the signed-in user's privileges and no trust prompt, approval, or model interaction. No public exploit is identified at time of analysis and EPSS is low (0.14%), but the outcome is full local compromise of the user's files and credentials.
RemediationAI
Upgrade Codex Desktop to a build above the affected ranges listed in EUVD-2026-69395 (i.e., beyond 26.513.31313 for the standard build, beyond 26.513.4821.0 for the Microsoft Store package, and beyond 26.513.40821 for the 26.304.38 line); the version-range upper bounds indicate a vendor fix exists above them, though an exact single patched version string is not stated in the provided data - confirm the current release via OpenAI's advisory at https://openai.com/codex before deploying. As compensating controls until patched: do not open repositories received from untrusted sources as pre-packaged archives or copies (only clone from trusted remotes, since cloning strips the malicious .git/config); if feasible, remove Git from the system PATH visible to Codex, since the description states exploitation requires Git to be available on PATH (trade-off: this breaks Codex's Git integration entirely); and inspect any third-party repository's .git/config for attr.tree, clean, or process filter directives before opening it in the tool.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw abuses Git's filter/attributes mechanism rather than a memory-safety bug. CWE-15 (External Control of System or Configuration Setting) fits precisely: the attacker controls Git configuration values delivered inside the repository's own .git/config. Git's attr.tree setting plus a configured clean or process filter tells Git to run an external program during routine operations such as reading working-tree status. Codex Desktop performs exactly those operations automatically when a workspace opens, so the attacker-controlled filter program executes. Critically, this execution happens outside Codex's command sandbox - the layer that normally requires workspace-trust prompts and command approval - so the malicious binary runs with the full ambient privileges of the signed-in OS user. Affected CPEs are cpe:2.3:a:openai:codex_desktop and the openai:codex_desktop_(microsoft_store_package) variant across Windows and macOS builds.
Know when Codex Desktop gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Requires the victim to open an attacker-delivered local repo with intact .git/config (UI:R, AV:L), then code runs with full user privileges giving C/I/A:H.
Primary rating from Vendor (OAI).
CVSS VectorVendor: OAI
Lifecycle Timeline
3DescriptionCVE.org
OpenAI Codex Desktop for Windows and macOS automatically inspected Git metadata and working-tree status when a user opened a workspace. If the workspace contains a repository with preserved attacker-controlled .git/config, the attr.tree setting and a configured clean or process filter can cause Git to run an attacker-controlled program. The program runs outside Codex's command sandbox with the signed-in user's privileges, without a workspace-trust prompt, command approval, or interaction with a model. The attacker can read, modify, or delete files and access credentials available to that user. Exploitation requires Git to be available on PATH and the user to open the attacker-prepared repository with its local Git configuration intact. An ordinary Git clone does not copy the source repository's .git/config and is not sufficient by itself.
Zero Day Initiative Advisories
Executive ViewAI
OpenAI Codex Desktop for Windows and macOS contains a critical arbitrary code execution vulnerability triggered when users open workspaces containing malicious Git repositories. An attacker can execute code with the user's full system privileges without any warning, prompt, or user action beyond opening a workspace, potentially compromising developer credentials, source code, and sensitive files. Every signed-in Codex Desktop user is at risk when opening Git repositories from untrusted or compromised sources.
Until vendor patch is released: restrict Codex Desktop to internal, pre-vetted Git repositories only with mandatory access controls; implement strict code signing and Git configuration policies to prevent unauthorized filter configuration; enable host-based monitoring and alerting for child process spawning from Codex Desktop; provide developer education on repository provenance and verification; consider temporary removal of Codex Desktop from systems accessing sensitive credentials, intellectual property, or production environments.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Codex Desktop
View allOpenAI Codex CLI and Codex Desktop's PowerShell command-safety parser failed to recognize PowerShell's stop-parsing toke
Arbitrary code execution in OpenAI Codex CLI (Windows, macOS, Linux) and Codex Desktop (Windows, macOS) allows an attack
Arbitrary code execution in OpenAI Codex Desktop for Windows and macOS allows an attacker's Git hooks to run outside the
EUVD-2026-69395
GHSA-hcf6-9q9g-xx3c
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB