Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-19591: CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences in OpenAI Codex CLI

0
Unknown
VulnerabilityCVE-2026-19591cvecve-2026-19591cwe-150
Published: 09/01/2026 (09/01/2026, 17:06:45 UTC)
Source: CVE Database V5
Vendor/Project: OpenAI
Product: Codex CLI

Description

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.

Affected software

Affected versions
=0.72.0

Technical Details

Data Version
5.2
Assigner Short Name
OAI
Date Reserved
2026-08-12T03:54:33.704Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a9709e5acd9273b49fc60bd

Added to database: 09/01/2026, 17:22:45 UTC

Last updated: 09/02/2026, 02:57:04 UTC

Views: 15

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses