CyberRota Analysis
AI-GeneratedThe vulnerability affects OpenAI Codex CLI and Codex Desktop on Windows and Linux, where the software inadvertently collects Git repository metadata without disabling the core.fsmonitor setting. This flaw allows an attacker to execute a malicious filesystem-monitor helper from a specially crafted Git repository, enabling the execution of arbitrary code with the user's privileges, potentially leading to unauthorized access and manipulation of files. Organizations using OpenAI Codex should prioritize addressing this vulnerability to mitigate risks associated with executing untrusted code.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.