Codex CLI known issues

Known breaks in Codex CLI from github.com/openai/codex, with quoted workarounds and fixed-in versions where they exist.

Before you upgrade Codex CLI

Type the version you're about to install (or just upgraded to). Lists tracked issues that mention it. Same data as /api/issues/codex.json.

Mentioned in open issues:

Pulled from public GitHub issues updated in the last 45 days and filtered for always-on problems: install and update breakage, crashes and hangs, gateway/daemon trouble, auth, and headless setups. Ranked by engagement, weighted toward always-on, self-hosting, install/update, crash, auth, MCP and daemon problems (cosmetic desktop-UI issues are down-weighted). Workarounds and "fixed in" versions are quoted only when the issue or its top comments state them. Severity is an automatic estimate from labels, keywords, and engagement, not an official rating. Last refresh: Oct 26, 2026 6:18 AM ET.

Codex CLI high open crash/hang

Codex Desktop for macOS repeatedly triggers `syspolicyd` / `trustd` CPU and memory runaway

Codex Desktop: 26.527.60818 Codex build: 3437 Darwin 25.5.0 arm64 arm Codex Desktop for macOS triggers a persistent macOS Gatekeeper/SystemPolicy loop after launch. With Codex closed, the system is quiet. As soon as Codex Desktop is…

openai/codex#25719versions 26.527.60818, 26.527.31326 399 thumbs up · 90 comments opened 2026-06-01 · updated 2026-09-15
Codex CLI high open install/update

Regression: encrypted MultiAgentV2 messages remove readable task audit trail

Upstream main after #26210 (Encrypt multi-agent v2 message payloads, merged 2026-06-05). This appears to affect versions that include that change and enable MultiAgentV2 (post-0.137.0). Not subscription-specific. Not model-specific. This…

openai/codex#28058versions 0.137.0 137 thumbs up · 40 comments opened 2026-06-13 · updated 2026-10-13
Codex CLI high fixed always-on/daemon

Windows: terminal windows repeatedly flash during requests after installing the Codex daemon

codex-cli 0.157.0 win terminal cmd Description: After installing the Codex daemon, several terminal windows briefly open and close during every request. This happens repeatedly and is distracting. Codex daemon version: 0.157.0 Client…

openai/codex#48074versions 0.157.0 155 thumbs up · 153 comments opened 2026-09-25 · updated 2026-10-15
Codex CLI high fixed self-host/headless

WebSocket upgrade succeeds then server closes with 1008 Policy (falls back to HTTPS)

Codex websocket transport to wss://chatgpt.com/backend-api/codex/responses upgrades successfully and is then immediately closed by server policy (1008), leading to reconnect loop and fallback to HTTPS. Codex CLI: 0.106.0 (also reproduced…

openai/codex#13041versions 0.106.0, 0.107.0-alpha.5 170 thumbs up · 75 comments opened 2026-02-27 · updated 2026-09-14
Codex CLI medium open auth/session

Codex does not auto-refresh routed MCP OAuth tokens even when a refresh token is stored

Codex persists a refreshtoken for a routed MCP server in ~/.codex/.credentials.json, but it does not automatically refresh the access token when the token expires. As a result, once the access token expires: MCP tool calls start failing…

openai/codex#17265 69 thumbs up · 38 comments opened 2026-04-09 · updated 2026-09-12
Codex CLI high open auth/session

unexpected status 401 Unauthorized issue

unexpected status 401 Unauthorized: Incorrect API key provided: sk-svcacfvMA. You can find your API key at https://platform.openai.com/account/api-keys., url: https://chatgpt.com/backend-api/codex/responses, cf-ray: a40d95aa6bfcb8db-SEA…

openai/codex#48237 105 thumbs up · 97 comments opened 2026-09-25 · updated 2026-09-28
Codex CLI critical open always-on/daemon

[BUG] Codex CLI 0.157.0 fails to start on Windows with daemon privilege error (0.156.1 works)

Codex CLI 0.157.0 fails to start on Windows with the following error: Downgrading to version 0.156.1 resolves the issue. Install Codex CLI 0.157.0 on Windows: Launch Codex CLI: Observe the daemon privilege error. Codex CLI should start…

openai/codex#48043versions 0.157.0, 0.156.1 45 thumbs up · 64 comments opened 2026-09-25 · updated 2026-10-24
Codex CLI medium open self-host/headless

[Windows] dot-started local tasks lack Computer Use tools while ordinary local Codex sessions work

ChatGPT desktop on Windows, with an About-dialog release date of September 29, 2026. The user confirmed the app is up to date. Installed Windows package version: 26.928.1915.0 (read from local package metadata, not the About-dialog display…

openai/codex#49458versions 0.159.0, 26.928.20755 26 thumbs up · 97 comments opened 2026-09-30 · updated 2026-10-22
Codex CLI medium open self-host/headless

[Android][Remote] "Authorize this phone" loops after the desktop switches ChatGPT accounts: stale cross-account environment, two pending enrollments per attempt

After a desktop app was signed into account B and then back into account A on the same machine, pairing an Android phone with account A loops forever. After scanning the QR code, tapping Authorize this phone and completing the browser…

openai/codex#48555versions 26.924.22138, 0.158.0-alpha.2.1 29 thumbs up · 33 comments opened 2026-09-26 · updated 2026-10-04
Codex CLI medium open self-host/headless

App-server queued follow-up no longer exists

26.908.40834 Darwin 25.6.0 arm64 arm Trying to queue task after editing it once. So I had a queued task, then decided to edit it, and then I start to get this error. Submit queue, or submit queue edit it and try to submit again Queue being…

openai/codex#45019versions 26.908.40834 65 thumbs up · 26 comments opened 2026-09-12 · updated 2026-09-25
Codex CLI medium open self-host/headless

Codex Remote pairing fails on Android

Codex Remote pairing fails on Android. ChatGPT mobile version 1.2026.265 and the Windows desktop app use the same verified personal account. “Allow connections” is enabled on the PC. After scanning a fresh QR code, the phone shows…

openai/codex#48774versions 1.2026.265 27 thumbs up · 55 comments opened 2026-09-27 · updated 2026-10-08
Codex CLI medium open always-on/daemon

Windows remote-control daemon spawns visible console windows for tool and MCP child processes

On Windows, the managed remote-control app-server daemon launches tool-runtime and MCP child processes in visible console windows. Starting or opening a session through codex agents produces a cascade of black windows for noderepl.exe…

openai/codex#46949versions 0.155.1 23 thumbs up · 21 comments opened 2026-09-21 · updated 2026-10-04
Codex CLI high open install/update

Windows app 26.1002.51308: sandbox setup fails with sharing violation when validating its own active runtime

Title: Windows app 26.1002.51308: sandbox setup fails with sharing violation when validating its own active runtime After updating the Windows Codex app to 26.1002.51308 (build 13417), all command execution fails before the requested…

openai/codex#51601versions 26.1002.51308, 0.160.1 31 thumbs up · 124 comments opened 2026-10-07 · updated 2026-10-15
Codex CLI medium open self-host/headless

Android 1.2026.265 (27): Codex Remote repeatedly returns to “Authorize this phone” after successful browser authorization

I cannot finish pairing my Android phone with Codex running in WSL. The phone opens the browser login, recognizes the correct ChatGPT account, and asks me to authorize access. After I authorize, it briefly shows “Pairing…” and returns to…

openai/codex#48777versions 1.2026.265, 0.157.1 21 thumbs up · 38 comments opened 2026-09-27 · updated 2026-10-21
Codex CLI high open self-host/headless

Managed app-server runs hooks with the first client's TMUX_PANE/TMUX, misattributing hook events to the wrong terminal pane (0.157 regression)

Since 0.157 the TUI talks to a shared codex app-server --managed-daemon (one per CODEXHOME), and lifecycle hooks (UserPromptSubmit, Stop, PostToolUse) run inside that daemon. The daemon inherits the environment of whichever TUI first…

openai/codex#48500versions 0.157, 0.157.1 23 thumbs up · 19 comments opened 2026-09-26 · updated 2026-10-23
Codex CLI medium open self-host/headless

Dot cannot create or follow up with local Codex tasks in saved projects

A dot can start a local Codex task on a connected desktop, but its task-creation tool cannot select an existing saved Codex App project. A local Codex task can create a thread in that project, yet the dot then cannot read or message that…

openai/codex#49729 12 thumbs up · 61 comments opened 2026-09-30 · updated 2026-10-25
Codex CLI high fixed self-host/headless

[Linux] Codex Desktop 26.924.20706 hangs indefinitely on "Starting your task"; rollback to 26.917.71314 fixes it

26.924.20706 Linux Mint, X11, amd64 After updating from 26.917.71314 to 26.924.20706, every local Codex task hangs indefinitely at "Starting your task". This reproduces with both an existing project task and a brand-new trivial task…

openai/codex#48189versions 26.924.20706, 26.917.71314 60 thumbs up · 33 comments opened 2026-09-25 · updated 2026-09-28
Codex CLI critical open always-on/daemon

[BUG] Codex 26.1021.22027 fails to start UI in VS Code 1.143.1 on Windows

26.1021.22027 ChatGPT Plus Visual Studio Code 1.143.1 (Windows) Microsoft Windows NT 10.0.19045.0 x64 Codex IDE extension version 26.1021.22027 fails to initialize its user interface in Visual Studio Code 1.143.1 on Windows. When opening…

openai/codex#56691versions 26.1021.22027, 1.143.1, 26.1007.21434 19 thumbs up · 31 comments opened 2026-10-24 · updated 2026-10-26
Codex CLI medium open always-on/daemon

Background daemon auto-update drains active session and leaves daemon incompatible with current Codex client

An active Codex session suddenly failed with: I did not update Codex or change feature settings while the session was running. Afterwards, attempting to resume the session produced: Importantly, this is not specific to the crashed session…

openai/codex#51763versions 0.160.1, 0.161.0 20 thumbs up · 1 comments opened 2026-10-07 · updated 2026-10-08
Codex CLI medium open install/update

[macOS] “More details” missing from response selection menu after update to 26.1007.21159

ChatGPT desktop 26.1007.21159, build 20052. The app’s updater reports that this version is current. ChatGPT Pro. macOS 26.6.2, build 25G83. After the latest update, the contextual menu shown when selecting assistant response text no longer…

openai/codex#52483versions 26.1007.21159 20 thumbs up · 19 comments opened 2026-10-09 · updated 2026-10-23
Codex CLI medium open install/update

Windows sandbox fails opening running node_repl.exe for ACL update (error 32); Computer Use and shell blocked

On Windows 11, Computer Use cannot initialize and ordinary sandboxed shell commands fail before execution with helperunknownerror: setup refresh had errors. The sandbox log identifies an error 32 (sharing violation) when opening the…

openai/codex#51590versions 0.162.0-alpha.2, 24.21.0-cua.1, 24.21.0 11 thumbs up · 40 comments opened 2026-10-07 · updated 2026-10-16
Codex CLI medium closed self-host/headless

Remote compaction fails with 401 'Incorrect API key' (sk-svcacct) for ChatGPT-authenticated users

Remote compaction fails with a 401. The rejected key is an OpenAI service-account key (sk-svcacct-…), but that key isn't configured anywhere on the client. The session shows "Compaction interrupted" followed by "Reconnecting 2/…". The…

openai/codex#48232versions 0.157.0 42 thumbs up · 32 comments opened 2026-09-25 · updated 2026-09-25
Codex CLI medium fixed self-host/headless

[Linux Desktop] 26.924.20706 Codex tasks stuck on "Starting your task"; CLI works

26.924.20706 Linux 6.6.141-09476-g954adab60416 x8664 unknown After updating ChatGPT Desktop on Linux to 26.924.20706, all local Codex tasks remain indefinitely on “Starting your task”. The standalone Codex CLI works correctly with the same…

openai/codex#48212versions 26.924.20706, 2.47.3, 0.158.0-alpha.2. 33 thumbs up · 40 comments opened 2026-09-25 · updated 2026-09-28
Codex CLI medium open self-host/headless

blank windows terminal window

After updating Codex on September 25, 2026, a blank Windows Terminal window for codex-code-mode-host.exe repeatedly opens and closes while I use Codex. This did not happen before the update. The window title points to the app-server-daemon…

openai/codex#48076versions 0.157.0 23 thumbs up · 16 comments opened 2026-09-25 · updated 2026-10-07
Codex CLI medium closed self-host/headless

[Windows][Codex CLI 0.157.0] Terminal windows repeatedly pop up during normal use

Codex CLI: codex-cli 0.157.0 (global npm installation) Managed app-server daemon: 0.157.0-x8664-pc-windows-msvc Codex Desktop 26.917.9434.0 is also installed. The process chain captured below belongs to the active CLI session; I have not…

openai/codex#48059versions 0.157.0 53 thumbs up · 27 comments opened 2026-09-25 · updated 2026-10-15
Codex CLI medium closed auth/session

401 Unauthorized across Codex Desktop and CLI after working normally all day

Codex Desktop and Codex CLI both began failing suddenly with 401 Unauthorized after working normally all day. Re-authenticating in both clients does not resolve the issue. Codex CLI: 0.155.1 Login status: Logged in using ChatGPT Remote…

openai/codex#48235versions 0.155.1 56 thumbs up · 36 comments opened 2026-09-25 · updated 2026-09-25
Codex CLI medium fixed install/update

Code extension intermittently drops submitted messages after update.

After updating the Codex VS Code extension on October 1, 2026, pressing Enter frequently clears the composer, but the message does not appear in the conversation and Codex does not respond. This happens even when Codex is idle. Repeating…

openai/codex#49988versions 26.928.31416, 0.159.2, 26.917.62051 49 thumbs up · 53 comments opened 2026-10-01 · updated 2026-10-10
Codex CLI high fixed self-host/headless

[Linux Desktop][Regression] Codex UI hangs after update; thread_hydration times out while app-server remains responsive

After the most recent Codex/ChatGPT desktop update on Ubuntu, the Codex desktop UI opens but a Codex chat remains stuck on the loading spinner and cannot be interacted with. This started immediately after the update. Bundled Codex CLI…

openai/codex#48208versions 0.158.0-alpha.2 17 thumbs up · 28 comments opened 2026-09-25 · updated 2026-09-29
Codex CLI medium open always-on/daemon

Linux sandbox rejects valid nsfs mount roots from snapd: `mountinfo path is not absolute`

Codex 0.155.0-alpha.15 fails before executing any filesystem-restricted command on a native Ubuntu host when /proc/self/mountinfo contains valid nsfs entries created by snapd. The failure is: The affected mountinfo entries have an nsfs…

openai/codex#46110versions 0.155.0-alpha.15, 0.11.1 21 thumbs up · 24 comments opened 2026-09-17 · updated 2026-09-30
Codex CLI medium fixed install/update

Bug: Linux sandbox fails with mountinfo path is not absolute after ChatGPT update

26.917.51856 Ubuntu 24.04.5 LTS (Noble) After the ChatGPT Linux application updated from 26.915.31029 to 26.917.51856, Codex can no longer execute commands using its normal Linux sandbox. The failure is reproducible directly using the…

openai/codex#47345versions 26.917.51856, 26.915.31029, 0.9.0 37 thumbs up · 52 comments opened 2026-09-22 · updated 2026-10-15
Codex CLI medium open self-host/headless

Codex Desktop: exec_command fails in WSL-style session with os error 2, including pwd in /tmp, after restart

Windows package version observed in app logs: 26.928.1915.0. Desktop client version reported in runtime logs: 26.928.20755. Bundled WSL CLI verified with --version: codex-cli 0.159.0. Not provided. Codex Desktop on Windows, with the agent…

openai/codex#49365versions 26.928.20755, 0.159.0 13 thumbs up · 10 comments opened 2026-09-29 · updated 2026-10-16
Codex CLI medium closed self-host/headless

Windows: visible console windows flash for shell process children on every session/turn

codex-cli 0.157.1 Microsoft Windows NT 10.0.26200.0 x64 Windows Terminal + Powershell On Windows, a batch of visible console windows flashes for git.exe / pwsh.exe (and other helper) child processes: several git.exe windows on every new…

openai/codex#48422versions 0.157.1 31 thumbs up · 30 comments opened 2026-09-26 · updated 2026-09-29
Codex CLI medium fixed install/update

[macOS] Update checks fail because appcast endpoint returns HTTP 520

26.1007.71326 (build 20398), production channel Updater reports plantype=promax Darwin 27.2.0 arm64 arm — macOS 27.2 (26B5112a), Apple Silicon Selecting Check for Updates shows: The failure happens while fetching the update feed, before an…

openai/codex#53891versions 26.1007.71326, 27.2.0 17 thumbs up · 40 comments opened 2026-10-14 · updated 2026-10-21
Codex CLI medium fixed self-host/headless

Windows app with "Run agent in WSL": every command fails with "Failed to create unified exec process: No such file or directory" (arg0 helper dir deleted by Windows exec-server)

Powered by Codex & OWL Version 26.928.21956 Microsoft Windows NT 10.0.26200.0 x64 no-active-thread-01a0f3f0-94ff-7451-83bf-3238585cc8fe Subject: Codex desktop on Windows with "Run agent in WSL" enabled: every command fails with "Failed to…

openai/codex#49731versions 26.928.21956, 10.0.26200 27 thumbs up · 47 comments opened 2026-09-30 · updated 2026-10-16
Codex CLI medium fixed self-host/headless

Codex Remote pairing loop between Windows and Android — “Approve this phone” repeats

I’m experiencing a Windows ↔ Android Remote pairing failure. Windows ChatGPT desktop: 26.904.11930 Android ChatGPT: 1.2026.265 ChatGPT Plus / Personal workspace Same account and workspace on both devices Windows generates the QR normally…

openai/codex#49618versions 26.904.11930 16 thumbs up · 29 comments opened 2026-09-30 · updated 2026-10-07