CVE-2026-19593

Published Sep 1, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
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.

Remediation

Vendor Solution

Update Codex Desktop for macOS to application version 26.519.22136 or later, or Codex Desktop for Windows to application version 26.519.21041 (Microsoft Store package 26.519.2081.0) or later.


Vendor Workaround

Until updated, do not open attacker-supplied workspace folders that retain untrusted .git metadata.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Code Injection via Untrusted Git Repository in OpenAI Codex Desktop
Type Values Removed Values Added
First Time appeared Openai
Openai codex Desktop
Openai codex Desktop (microsoft Store Package)
Vendors & Products Openai
Openai codex Desktop
Openai codex Desktop (microsoft Store Package)
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Code Injection via Untrusted Git Repository in OpenAI Codex Desktop
Type Values Removed Values Added
Description 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.
Weaknesses CWE-15
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
OAI
Published
Updated
Oct 15, 2026, 4:39 PM
Reserved
Aug 12, 2026, 3:54 AM
Status
Undergoing Analysis
Published
Sep 1, 2026, 6:17 PM
Modified
Oct 15, 2026, 5:17 PM