CVE-2026-19592: OpenAI Codex CLI and Desktop code execution via malicious repository Git config
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-19592
- Published
- Record updated
- 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.
Coverage
News, research and other items that mention CVE-2026-19592.
- Malicious .git Configs Can Make Claude, Codex, Cursor, and Other AI Agents Run Attacker CodeThe Hacker News · 2026-09-02
Related items
- MediumCVE-2026-111372: AI ChatBot for WooCommerce WoowBot plugin authorization bypass in RAG syncSame vendor · NVD/CVE Database
- HighCVE-2026-107685: req_llm WebSocket streaming client accepts untrusted TLS certificatesSame vendor · NVD/CVE Database
- MediumCVE-2026-113459: TYPO3 OpenAI API key exposed to backend users in page sourceSame vendor · NVD/CVE Database
- MediumCVE-2026-109296: Open WebUI missing authorization lets users reach disabled model backendsSame vendor · NVD/CVE Database
- MediumCVE-2026-107430: VideoWhisper Site Manager for ChatGPT, Claude, Codex missing authorization checkSame vendor · NVD/CVE Database