CVE-2026-19592: CWE-15: External Control of System or Configuration Setting in OpenAI Codex CLI
Description
OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS automatically collected Git repository metadata without disabling the repository-local core.fsmonitor setting. If a user opens or uses an attacker-prepared repository whose preserved .git/config sets core.fsmonitor to an attacker-controlled filesystem-monitor helper, Git can execute that helper while Codex collects repository metadata. The helper runs outside Codex's command sandbox and without a user-approval prompt, allowing attacker-controlled code to run with the user's privileges. The code can read, change, or delete the user's files and access other resources available to the user's account. An ordinary Git clone does not preserve the source repository's local .git/config; exploitation requires a repository delivered or copied with that configuration intact.
CVSS v3.1
Score 7.3high
Affected software
OpenAI
Codex CLI
OpenAI
Codex Desktop
OpenAI
Codex Desktop
OpenAI
Codex Desktop (Microsoft Store package)
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OpenAI Codex CLI for Windows, macOS, and Linux, along with Codex Desktop for Windows and macOS, automatically collects Git repository metadata but does not disable the repository-local core.fsmonitor setting. If a user opens or uses a repository prepared by an attacker that preserves a .git/config file setting core.fsmonitor to an attacker-controlled filesystem-monitor helper, Git will execute this helper during metadata collection. This execution happens outside the Codex command sandbox and without prompting the user, allowing arbitrary code execution with the user's privileges. The attacker-controlled code can read, modify, or delete user files and access other resources available to the user's account. Exploitation requires the repository to be delivered or copied with the malicious .git/config intact, as a standard Git clone does not preserve this local configuration.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code with the privileges of the user running Codex CLI or Desktop. This can lead to unauthorized reading, modification, or deletion of user files and access to other resources available to the user's account. The vulnerability has a CVSS score of 7.3 (high severity), indicating significant confidentiality, integrity, and availability impacts. There are no known exploits in the wild at this time.
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 or using repositories delivered or copied with preserved .git/config files containing untrusted core.fsmonitor settings. Ordinary Git clones do not preserve this configuration, so using standard cloning methods reduces risk. Monitor vendor communications for updates and official patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- OAI
- Date Reserved
- 2026-08-12T03:54:37.942Z
- State
- PUBLISHED
Threat ID: 6a9709e5acd9273b49fc60bf
Added to database: 09/01/2026, 17:22:45 UTC
Last enriched: 09/07/2026, 13:47:33 UTC
Last updated: 10/17/2026, 18:48:17 UTC
Views: 194
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.