> CVE-2026-19591

« BACK_TO_HOME
PUBLISHED
2026-09-01 18:17
MODIFIED
2026-09-01 18:17
EPSS (Prob. Exploit)
0.31%
Top 78.2%
DATA SOURCES:
NVD 🔗 2026-09-01 CWE MITRE 🔗 2026-10-01 FIRST EPSS 🔗 2026-10-18

> 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_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> WEAKNESSES

CWE-150

> CWE DETAILED DESCRIPTIONS

CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences - The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as escape, meta, or control character sequences when they are sent to a downstream component.

> HISTORIQUE DES MODIFICATIONS

Première apparition
01/09/2026 18:17
Source: NVD
📊 ENRICHISSEMENT 01/10/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences - The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements t...
Total des modifications: 1 Dernière mise à jour: 4 weeks ago

> REFERENCES

https://github.com/openai/codex/pull/22643
« BACK_TO_HOME