CVE-2026-19590
Last modified
CVE-2026-19590 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. OpenAI Codex Desktop for Windows and macOS could execute attacker-controlled Git hooks because automated Git operations trusted the repository's local core.hooksPath setting. If a user opens an attacker-prepared repository whose preserved .git/config points core.hooksPath to an attacker-controlled directory, Codex can run a malicious hook while processing the repository. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
OpenAI Codex Desktop for Windows and macOS could execute attacker-controlled Git hooks because automated Git operations trusted the repository's local core.hooksPath setting. If a user opens an attacker-prepared repository whose preserved .git/config points core.hooksPath to an attacker-controlled directory, Codex can run a malicious hook while processing the repository. The hook executes outside Codex's command sandbox, without user approval, and with the user's privileges, allowing it to read, change, or delete the user's files and access other resources available to the user's account. An ordinary Git clone does not preserve the attacker-controlled repository-local configuration required for exploitation.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| OpenAI | Codex Desktop | >= 260202.0859, <= 26.513.31313 |
| OpenAI | Codex Desktop | >= 26.304.38, <= 26.513.40821 |
| OpenAI | Codex Desktop (Microsoft Store package) | >= 26.304.38.0, <= 26.513.4821.0 |
References
Timeline
- Published
- Last Modified
- Status
- Undergoing Analysis
Frequently Asked Questions
What is CVE-2026-19590?
How severe is CVE-2026-19590?
How do I fix CVE-2026-19590?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-19585HashiCorp go-getter versions before 1.8.10 and go-getter/v2 …5.3
- CVE-2026-19586A pre-authentication OS command injection vulnerability has …9.8
- CVE-2026-19587Uncontrolled Resource Consumption vulnerability in Samsung O…6.5
- CVE-2026-19588Integer Overflow to Buffer Overflow vulnerability in Samsung…6.5
- CVE-2026-19589Packer up to 1.15.4 is vulnerable to an issue in the third-p…7.1
- CVE-2026-1959Stored Cross-Site Scripting (XSS) vulnerability in Loggro Py…5.1
- CVE-2026-19591OpenAI Codex CLI for Windows, macOS, and Linux and Codex Des…8.8
- CVE-2026-19592OpenAI Codex CLI for Windows, macOS, and Linux and Codex Des…7.3
- CVE-2026-19593OpenAI Codex Desktop for Windows and macOS automatically ins…9.8
- CVE-2026-19594Insufficient input sanitization in Snowflake Python API (`sn…8.1
- CVE-2026-19595The user-mode syscall verifier z_vrfy_rtio_cqe_get_mempool_b…6.1
- CVE-2026-19596An XML External Entity (XXE) vulnerability exists in the XML…5.9
Are you affected by CVE-2026-19590?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
