Back to CVE records
High 8.8Published Sep 1, 2026

CVE-2026-19591OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS misclassified certain PowerShell commands as safe because their command-safety parser interpreted PowerShell's s…

Updated under an hour ago ()

Does this affect you?

It affects OpenAI Codex CLI and 2 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS misclassified certain PowerShell commands as safe because their command-safety parser interpreted PowerShell's stop-parsing token (--%) differently than PowerShell itself. If a user opens an attacker-prepared repository and Codex follows its instructions, Codex can run a file-writing Git command without requesting user approval. On macOS and Linux, exploitation additionally requires separately installed PowerShell Core (pwsh) to be invoked. If filesystem protections permit the write, the command can modify Codex's configuration. If Codex later loads the modified configuration, it can launch an attacker-controlled MCP server and execute code with the user's privileges, allowing it to read, change, or delete files accessible to that account. The approval bypass does not disable filesystem sandboxing; the default filesystem sandbox on macOS and Linux can prevent writes outside permitted locations.

CVSS
8.8 HIGH (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-150
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
OAI
NVD analysis
Undergoing Analysis
Record last updated
Sep 2, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
OpenAI Codex CLI
openai:codex_cli (from the name)
from 0.72.0 through 0.130.0; 0.131.0 not affected
CNA record
OpenAI Codex Desktop
openai:codex_desktop (from the name)
260202.0859 builds before 26.513.31313; 26.519.22136 not affected
CNA record
OpenAI Codex Desktop (Microsoft Store package)
openai:codex_desktop_microsoft_store_package (from the name)
from 26.304.38.0 through 26.513.4821.0; 26.519.2081.0 not affected
CNA record

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.