Skip to content

ZDI-26-649: (Pwn2Own) OpenAI Codex Improper Neutralization of Control Sequences Remote Code Execution Vulnerability

Zerodayinitiative • September 10, 2026

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 specific flaw exists within the parsing of arguments provided to git commands. The issue results from insufficient neutralization of control sequences. An attacker can leverage this vulnerability to execute code in the context of the current user.

OpenAI has issued an update to correct this vulnerability. More details can be found at:

2026-06-02 - Vulnerability reported to vendor

2026-09-10 - Coordinated public release of advisory

2026-09-10 - Advisory Updated

Cyrill Bannwart, Emanuele Barbeno, Yves Bieri, Lukasz D., Urs Mueller of Compass Security