CVE-2026-19593
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| OpenAI | Codex Desktop | 260202.0859 <= 26.513.31313 | affected |
| OpenAI | Codex Desktop | 26.519.22136 | unaffected |
| OpenAI | Codex Desktop | 26.304.38 <= 26.513.40821 | affected |
| OpenAI | Codex Desktop | 26.519.21041 | unaffected |
| OpenAI | Codex Desktop (Microsoft Store package) | 26.304.38.0 <= 26.513.4821.0 | affected |
| OpenAI | Codex Desktop (Microsoft Store package) | 26.519.2081.0 | unaffected |
Weaknesses
- CWE-15: CWE-15: External Control of System or Configuration Setting
Workarounds
Until updated, do not open attacker-supplied workspace folders that retain untrusted .git metadata.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: total
References
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.