PT-2026-84356 · Openai · Codex Desktop+1
CVSS v3.1
7.3
High
| Vector | AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
OpenAI Codex CLI (affected versions not specified)
OpenAI Codex Desktop (affected versions not specified)
Description
OpenAI Codex CLI and Codex Desktop automatically collect Git repository metadata without disabling the
core.fsmonitor setting. If a user opens an attacker-prepared repository where the .git/config file specifies an attacker-controlled filesystem-monitor helper, Git may execute that helper during the metadata collection process. This execution occurs outside the command sandbox and without a user-approval prompt, allowing arbitrary code to run with the user's privileges. This can lead to the unauthorized reading, modification, or deletion of files and access to other account resources. Exploitation requires the repository to be delivered or copied with the .git/config file intact, as a standard Git clone does not preserve this local configuration. Real-world incidents of this issue being exploited have been reported.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Codex Cli
Codex Desktop