Update Codex Desktop for Windows to 26.1007.21434+
OpenAI Codex Desktop for Windows: opening a booby-trapped project could run attacker code before sign-in or trust approval (CVE-2026-110930) · Security incident · OpenAI security advisory · OpenAI · Nov 3, 2026
What happened
OpenAI's advisory says Codex Desktop for Windows mishandled quotation marks in project paths from File Explorer, so choosing 'Open project in ChatGPT' on an item inside an attacker's .library-ms file could pass extra startup arguments and run the attacker's code with your Windows permissions, before you signed in or approved the project. It was reported through Pwn2Own Ireland 2026; OpenAI knows of no abuse.
How to prevent it
Update Codex Desktop for Windows to 26.1007.21434 (Store package 26.1007.2314.0) or later, and don't open projects from downloaded library or shortcut files you didn't create.
Fix prompt for your own AI tool
Copy this into your own AI tool (Cursor, Lovable, Claude Code, Bolt…). It's general guidance written by us. Review what the AI suggests before applying it.
I use OpenAI Codex (desktop app, CLI or IDE) to build my app. 1) Tell me how to check which Codex Desktop version I have on Windows; affected are 26.820.60940 to 26.1002.52244 and Store package 26.820.7780.0 to 26.1002.7124.0. 2) Explain how to update and how to confirm auto-update is on. 3) Suggest habits for opening downloaded projects safely, including never opening projects from .library-ms or shortcut files I didn't create. 4) List the Codex approval settings I should keep on for commands and network access. Don't change anything until I've approved your plan. Never ask me to paste API keys, passwords or .env contents; tell me where to check them myself.
Why this keeps happening: trusting agents & ai input
An AI agent treats everything it reads as possible instructions: a web page, a README, an email, a code comment or the output of another tool. If that content was written by an attacker, the agent can be steered into running commands, reading files or sending data somewhere it should not.
A quick checklist before you ship
- Give each agent only the tools and folders it needs for the task at hand.
- Require manual approval before it runs shell commands, sends network requests, deletes files or spends money.
- Do not open untrusted repositories or MCP configs with auto-run turned on.
- Keep API keys and production credentials out of any environment an agent can read.
More on this: every trusting agents & ai input story and our related guide.
Tools involved
Codex stories, ChatGPT stories, OpenAI stories
Related stories
- Don't rely on ChatGPT Lockdown Mode alone for secrets
Check Point bypassed ChatGPT's Lockdown Mode: an HTML preview popup could quietly send a whole chat to an outside server - Update or remove WordPress MCP plugins, then reissue tokens
WordPress 'Secure MCP Server for Claude, ChatGPT, Gemini, Cursor' plugin: any valid MCP token could give its holder full Administrator (CVE-2026-131688) - Never start a coding agent in your Downloads folder
Planted AGENTS.md in Downloads tried to make a coding agent install npm malware
Source: original post on OpenAI security advisory ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.