CVE-2026-19592: GitSpawn: OpenAI Codex Git fsmonitor Command Execution
OpenAI Codex CLI and Codex Desktop automatically collected Git repository metadata while honoring the repository-local Git core.fsmonitor setting. An attacker can prepare and distribute a repository whose retained local Git configuration specifies an attacker-controlled filesystem-monitor helper. When Codex performs Git metadata operations, Git may execute that helper. Execution occurs outside Codex's command sandbox and without a user-approval prompt.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation results in arbitrary code execution under the privileges of the logged-in Codex user. The attacker-controlled code can read, modify, or delete files accessible to that user and access other resources available to the user account.
Mitigation
If you can’t patch tonight, do this now.
Do not open or use untrusted repositories delivered with their Git metadata intact. Before using a received repository, inspect its repository-local Git configuration and remove or unset core.fsmonitor. Administrators and users may also disable core.fsmonitor globally. Vendors invoking Git for background metadata collection can explicitly override core.fsmonitor to false for those calls.
Remediation
Patch, then assume compromise.
Update affected Codex products to fixed releases: Codex CLI 0.131.0 or later; Codex Desktop for macOS 26.519.22136 or later; and Codex Desktop for Windows 26.519.21041 or later. For the Microsoft Store Windows package, update to 26.519.2081.0 or later.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Frequently asked questions
- Is CVE-2026-19592 exploited in the wild?
- As of Oct 15, 2026, Mallory has no reports of CVE-2026-19592 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-19592?
- Yes. As of Oct 15, 2026, Mallory has reports of a public exploit for CVE-2026-19592.
- Is there a patch for CVE-2026-19592?
- Update affected Codex products to fixed releases: Codex CLI 0.131.0 or later; Codex Desktop for macOS 26.519.22136 or later; and Codex Desktop for Windows 26.519.21041 or later. For the Microsoft Store Windows package, update to 26.519.2081.0 or later.
- How severe is CVE-2026-19592?
- CVE-2026-19592 has a CVSS v3.1 score of 7.3 (High) and an EPSS score of 0.16% (5th percentile) as of Oct 15, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.