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

More on this: every trusting agents & ai input story and our related guide.

Tools involved

Codex stories, ChatGPT stories, OpenAI stories

Related stories

Source: original post on OpenAI security advisory ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.

The Honest Build. Real stories, not hype.

Every week: real stories of what building with AI actually took, the one lesson worth keeping, and the security slip-ups to avoid. Free, unsubscribe anytime. Weekly, every Friday.