ZDI-26-648: (Pwn2Own) OpenAI Codex External Control of System or Configuration Setting Remote Code Execution Vulnerability
ZDI published a Pwn2Own advisory for CVE-2026-19590, enabling remote code execution in OpenAI's Codex agent via system or configuration control.
Zero Day Initiative advisory ZDI-26-648 documents an External Control of System or Configuration Setting vulnerability in OpenAI Codex, demonstrated at Pwn2Own. A remote attacker could achieve arbitrary code execution, with user interaction required such as opening malicious content. The flaw is tracked as CVE-2026-19590 with a CVSS rating of 7.8. No exploitation in the wild is reported.
- Demonstrated at Pwn2Own against OpenAI Codex
- External control of system or configuration settings leads to RCE
- CVE-2026-19590; CVSS 7.8; user interaction required
Vulnerabilities mentionedAll →
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-19590 | Unsandboxed Git Hook Execution (CWE-427) in OpenAI Codex Desktop CVE-2026-19590 is a configuration-trust flaw (CWE-427, uncontrolled search path element) in OpenAI Codex Desktop for Windows and macOS, where automated Git operations inside Codex trust the repository's local core.hooksPath setting. It is triggered when a user opens an attacker-prepared repository whose preserved .git/config points core.hooksPath at an attacker-controlled directory, causing Codex to execute the attacker's Git hook while processing the repository; an ordinary git clone does not preserve that repository-local configuration, so plain clones are not a delivery path. The hook runs outside Codex's command sandbox, without user approval, and with the user's privileges, giving the attacker the ability to read, modify, or delete the user's files and access other resources available to the user's account. Anyone running an unpatched Codex Desktop on Windows or macOS who opens a repository obtained outside a normal clone (for example an archive or shared folder containing .git/config) is affected. It is scored 7.3 (high, local vector with user interaction), EPSS is 0.1% (1st percentile), it is not in CISA KEV, no public PoC is known, and the issue was publicly documented via ZDI (ZDI-26-648) following a Pwn2Own demonstration. Do: Update Codex Desktop to the patched release published by OpenAI (fixed version numbers are not stated in the source data; check the vendor advisory). Until patched, avoid opening untrusted repositories delivered with a preserved .git directory (e.g., zip archives or shared/synced folders) and inspect .git/config for a repository-local core.hooksPath before opening; plain git clones are not an attack path. | 7.3 | <1% |
| moderate≈ tens of thousands of developer workstations (estimate; no public install-base data for the desktop app) |
This vulnerability allows remote attackers to execute arbitrary code on affected installations of OpenAI Codex. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-19590.
This source does not provide full text. Read it at zerodayinitiative.com.