Skip to main content
EPSS 0.4%top 71%

CVE-2026-19593: CWE-15: External Control of System or Configuration Setting in OpenAI Codex Desktop

0
Critical
VulnerabilityCVE-2026-19593cvecve-2026-19593cwe-15
Published: 09/01/2026 (09/01/2026, 17:10:24 UTC)
Source: CVE Database V5
Vendor/Project: OpenAI
Product: Codex Desktop

Description

CVE-2026-19593 is a critical vulnerability in OpenAI Codex Desktop for Windows and macOS that allows external control of system or configuration settings via malicious Git metadata. An attacker can craft a repository with a specially configured .git/config file that triggers execution of attacker-controlled programs with the signed-in user's privileges when the workspace is opened. This occurs without any user prompts or command approval, enabling unauthorized file access and credential compromise. Exploitation requires Git to be on the system PATH and the user to open the attacker-prepared repository with its local Git configuration intact. Ordinary Git clones do not replicate this configuration, limiting the attack vector.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

OpenAI

Codex Desktop

Affected versions
>=260202.0859 <=26.513.31313

OpenAI

Codex Desktop

Affected versions
>=26.304.38 <=26.513.40821

OpenAI

Codex Desktop (Microsoft Store package)

Affected versions
>=26.304.38.0 <=26.513.4821.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/15/2026, 19:09:38 UTC

Technical Analysis

OpenAI Codex Desktop automatically inspects Git metadata and working-tree status upon workspace opening. If the workspace contains a repository with an attacker-controlled .git/config file that sets the attr.tree setting and configures a clean or process filter, Git will execute an attacker-controlled program. This program runs outside Codex's command sandbox with the privileges of the signed-in user, without any workspace-trust prompt, command approval, or interaction with the AI model. The attacker can thereby read, modify, or delete files and access credentials available to that user. Successful exploitation requires Git to be available on the system PATH and the user to open the attacker-prepared repository with its local Git configuration intact. A normal Git clone does not copy the source repository's .git/config file, so it alone does not enable exploitation.

Potential Impact

The vulnerability allows an attacker to execute arbitrary code with the privileges of the signed-in user without any user interaction or approval. This can lead to full compromise of the user's files and credentials accessible to that user. The attack bypasses Codex's command sandbox and trust mechanisms, resulting in high confidentiality, integrity, and availability impact.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid opening workspaces containing repositories with untrusted or attacker-controlled .git/config files. Ensure Git is not exposed on the system PATH in environments where untrusted repositories might be opened. Monitor vendor channels for official patches or updates addressing this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
OAI
Date Reserved
2026-08-12T03:54:42.487Z
State
PUBLISHED

Threat ID: 6a9709e5acd9273b49fc60c1

Added to database: 09/01/2026, 17:22:45 UTC

Last enriched: 10/15/2026, 19:09:38 UTC

Last updated: 10/17/2026, 19:03:00 UTC

Views: 145

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses