Impact
OpenAI Codex Desktop for macOS and Windows automatically inspects Git metadata when a workspace is opened. If a repository contains attacker‑controlled ".git/config" with a vulnerable "attr.tree" setting and a configured clean or process filter, Git can execute an attacker‑supplied program. The program runs outside Codex’s sandbox with the user’s privileges, enabling the attacker to read, modify, or delete files and access user credentials. The vulnerability is a classic example of improper control of code generation and configuration, as documented by CWE-15.
Affected Systems
Affected systems include OpenAI Codex Desktop for macOS and Windows releases that perform automatic inspection of Git metadata on workspace load. Versions older than the patched releases—macOS before 26.519.22136 and Windows before 26.519.21041 (or Microsoft Store 26.519.2081.0)—remain vulnerable. These installations must retain an unmodified .git/config directory within the loaded workspace in order to trigger the flaw.
Risk and Exploitability
The flaw allows an attacker to run code with the signed‑in user’s privileges when they open a specially crafted workspace, representing a high‑severity local execution risk. Exploitation requires the user to open the infected repository and for Git to be available on the system PATH; it is not a passive or remote attack. The EPSS score is less than 1%, signifying a very low probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. Prompt patching is advised to mitigate this risk.
OpenCVE Enrichment