CVE-2026-19593OpenAI Codex Desktop
Remote Code Execution in OpenAI Codex Desktop via Malicious Git Configuration
Critical 9.8 No auth needed
Follow: this CVE · OpenAI · OpenAI Codex Desktop We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Sep 1, 2026
- Updated
- Oct 15, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-15
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
OpenAI Codex Desktop automatically inspects Git metadata when opening a workspace. An attacker can prepare a repository with a malicious .git/config file that executes arbitrary code with the signed-in user's privileges, bypassing sandbox restrictions and user prompts. This allows reading, modifying, or deleting files and accessing user credentials.
Show the original NVD text
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.
What to do
No patch data
Avoid opening workspaces from untrusted Git repositories with intact local configuration. Verify that Git is not available in PATH if not required.
- Apply the vendor's security update for Codex Desktop.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- OpenAI · Codex Desktop
- OpenAI · Codex Desktop (Microsoft Store package)
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.