Read the docs
TI-2026-15920 Aliases CVE-2026-19591GHSA-2frj-4qr5-m2rf

OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS…

Priority MEDIUM 41CWE-150Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00559 46th percentileScored 2026-11-07
Fix Fixed Codex CLI (OpenAI): 0.131.0Codex Desktop (OpenAI): 26.519.22136, 26.519.21041+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
OpenAICodex CLI0.72.0 – 0.130.00.131.0Patch availableCNA
OpenAICodex Desktop260202.0859 – 26.513.3131326.519.22136Patch availableCNA
OpenAICodex Desktop26.304.38 – 26.513.4082126.519.21041Patch availableCNA
OpenAICodex Desktop (Microsoft Store package)26.304.38.0 – 26.513.4821.026.519.2081.0Patch availableCNA
  • Codex CLI VendorOpenAI Affected 0.72.0 – 0.130.0 Fixed in 0.131.0 Patch available CNA
  • Codex Desktop VendorOpenAI Affected 260202.0859 – 26.513.31313 Fixed in 26.519.22136 Patch available CNA
  • Codex Desktop VendorOpenAI Affected 26.304.38 – 26.513.40821 Fixed in 26.519.21041 Patch available CNA
  • Codex Desktop (Microsoft Store package) VendorOpenAI Affected 26.304.38.0 – 26.513.4821.0 Fixed in 26.519.2081.0 Patch available CNA

Remediation

  • Fix · CNA Codex CLI (OpenAI) Fixed in 0.131.0
  • Fix · CNA Codex Desktop (OpenAI) Fixed in 26.519.22136
  • Fix · CNA Codex Desktop (OpenAI) Fixed in 26.519.21041
  • Fix · CNA Codex Desktop (Microsoft Store package) (OpenAI) Fixed in 26.519.2081.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-19591
  2. 2026-10-03 Alias added: GHSA-2frj-4qr5-m2rf

References

  • TI-2026-15921 OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS… CVSS 3.1HIGH 7.3
  • TI-2025-06388 OpenAI Operator - API Spoofing through Locking Operator on FullScreen CVSS 4.0MEDIUM 6.9
  • TI-2026-15922 OpenAI Codex Desktop for Windows and macOS automatically inspected Git metadata and… CVSS 3.1CRITICAL 9.8
  • TI-2025-37063 Codex has sandbox bypass due to bug in path configuration logic CVSS 4.0HIGH 8.6
  • TI-2026-85640 Argument injection in Codex Desktop for Windows project paths CVSS 3.1HIGH 8.0
  • TI-2026-15919 Uncontrolled search path in OpenAI Codex Desktop CVSS 3.1HIGH 7.3
See all 10 →

Sources