Tools AI Risk Radar ai-incident-0015
Incident record
Codex read PowerShell’s stop-parsing token differently to PowerShell, and approval was skipped
- Severity
- High
- Status
- Patched
- Type
- Prompt Injection
- Target
- OpenAI Codex CLI and Codex Desktop
- Actor
- researcher
- CVE
- CVE-2026-19591
What happened
OpenAI, acting as its own CVE numbering authority, recorded that Codex misclassified certain PowerShell commands as safe because its command-safety parser read the stop-parsing token (--%) differently to PowerShell itself. A user who opened an attacker-prepared repository could have Codex run a file-writing Git command with no approval, and if that write reached Codex’s own configuration it could load a malicious MCP server.
This is a parser-differential bug, the same class as the sandbox and gate bypasses already on this board: two components read one string and disagree, and the safety decision is made by the one that is wrong. CVSS 3.1 scores it 8.8 high. The fix, in pull request 22643, treats PowerShell stop-parsing forms as unsupported rather than trying to match the shell’s behaviour, which is the right direction when a parser cannot be trusted to agree.
Sources
- OpenAI codex pull request 22643, the fixgithub.com/openai/codex/pull/22643
- NVD record, CVE-2026-19591nvd.nist.gov/vuln/detail/CVE-2026-19591
One record from the AI Risk Radar, maintained by the Security Desk. Data: CSV · JSON ·RSS · CC BY 4.0 with attribution to YFarmX.Tracker updated · 18 September 2026