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.
References
| Link | Resource |
|---|---|
| https://github.com/openai/codex/pull/22652 |
Configurations
No configuration.
History
No history.
Information
Published : 2026-09-01 18:17
Updated : 2026-09-02 16:17
NVD link : CVE-2026-19592
Mitre link : CVE-2026-19592
CVE.ORG link : CVE-2026-19592
JSON object : View
Products Affected
No product.
CWE
CWE-15
External Control of System or Configuration Setting
