Skip to content
HighVulnerabilityLLM-specific

CVE-2026-19592: OpenAI Codex CLI and Desktop code execution via malicious repository Git config

Identifier
CVE-2026-19592
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS collected Git repository metadata without disabling the repository-local core.fsmonitor setting. If a user opens an attacker-prepared repository whose preserved .git/config points core.fsmonitor at an attacker-controlled filesystem-monitor helper, Git runs that helper outside Codex's command sandbox and without user approval, letting attacker code act with the user's privileges, including reading, changing, or deleting files. An ordinary Git clone does not preserve the local .git/config, so exploitation requires a repository delivered or copied with that configuration intact.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.