ZeroHour
ZDI Published Advisoriespublished ()ingested 1
Part of a story covered by 4 sources: “ZDI publishes four CVSS 7.8 OpenAI Codex remote code execution vulnerabilities (CVE-2026-19590 through CVE-2026-19593) demonstrated at Pwn2Own” — merged summary and timeline →

ZDI-26-651: (Pwn2Own) OpenAI Codex External Control of System or Configuration Setting Remote Code Execution Vulnerability

mediumVulnerabilityimportance 45CVE-2026-19593
AI summary · glm-5.3-flash

ZDI published advisory ZDI-26-651 for a CVSS 7.8 remote code execution flaw (CVE-2026-19593) in OpenAI Codex, demonstrated at Pwn2Own.

The Zero Day Initiative published advisory ZDI-26-651 describing a remote code execution vulnerability in OpenAI Codex, tracked as CVE-2026-19593 with a CVSS 7.8 score. The flaw involves external control of system or configuration settings. Exploitation requires user interaction, as the target must open a malicious folder. The bug was demonstrated at Pwn2Own and disclosed through ZDI.

  • Remote attacker can execute arbitrary code in OpenAI Codex via external control of system or configuration settings.
  • CVSS 7.8; exploitation requires the target to open a malicious folder.
  • Disclosed through ZDI as a Pwn2Own result; no in-the-wild exploitation reported.
VendorsOpenAI
ProductsCodex
OrganizationsZero Day Initiative

Vulnerabilities mentionedAll →

CVEVulnerabilityCVSSEPSSFlagsAffectedExposurePublished
CVE-2026-19593
RCE via Attacker-Controlled Git Config in OpenAI Codex Desktop (Windows/macOS)

OpenAI Codex Desktop for Windows and macOS automatically inspects Git metadata and working-tree status whenever a user opens a workspace, and if that workspace contains a repository whose attacker-controlled .git/config has been preserved, Git's attr.tree setting combined with a configured clean or process filter causes Git to execute an attacker-supplied program. The program runs outside Codex's command sandbox with the signed-in user's privileges, without any workspace-trust prompt, command approval, or model interaction, so merely opening the crafted workspace is enough. A successful attacker can read, modify, or delete files and access any credentials available to that user. Exploitation requires Git to be present on PATH and the user to open a repository delivered with its local Git configuration intact, e.g. via an archive or shared folder, since an ordinary Git clone does not copy .git/config and is not sufficient by itself. No public PoC is known, the flaw is not in CISA KEV, and EPSS assigns a 0.3% 30-day exploitation probability, though the bug was demonstrated at Pwn2Own (ZDI-26-651).

Do: Update OpenAI Codex Desktop to the latest vendor build as soon as a patched release is available (no fixed version number was provided in the source data). Until patched, avoid opening untrusted repositories received as archives, downloads, or shared folders that retain their .git/config, or first inspect that file and remove attr.tree and any clean/process filter entries (e.g. filter.<driver>.clean/process) before opening the workspace. Confirm whether Git is on PATH on affected machines, since the spawned process executes outside Codex's sandbox with full user privileges.

9.8<1%
  • OpenAI Codex Desktop
moderate≈10,000–100,000 desktop users (estimate; no published install counts)
Full article

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 open a malicious folder. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-19593.

This source does not provide full text. Read it at zerodayinitiative.com.