Skip to content
HighVulnerabilityLLM-specific

CVE-2026-19590: OpenAI Codex Desktop Git hook execution via repository core.hooksPath setting

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

Summary

CVE-2026-19590 affects OpenAI Codex Desktop for Windows and macOS. Automated Git operations trusted the repository's local core.hooksPath setting, so an attacker-prepared repository whose preserved .git/config points core.hooksPath to an attacker-controlled directory can make Codex run a malicious hook while processing it. The hook runs outside Codex's command sandbox, without user approval, and with the user's privileges, so it can read, change, or delete the user's files and reach other resources available to the account. An ordinary Git clone does not preserve the repository-local configuration needed for exploitation.

Mitigation

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