CVE-2026-19591
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Codex CLI
- Vendor
- OpenAI
- Product
- Codex CLI
- Platforms
- Windows
- macOS
- Linux
- Default status
Unknown
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 0.72.0 | affected | semver | Unavailable | 0.130.0 | None listed |
| 0.131.0 | unaffected | Unavailable | Unavailable | Unavailable | None listed |
Codex Desktop
- Vendor
- OpenAI
- Product
- Codex Desktop
- Platforms
- macOS
- Default status
Unknown
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 260202.0859 | affected | custom | Unavailable | 26.513.31313 | None listed |
| 26.519.22136 | unaffected | Unavailable | Unavailable | Unavailable | None listed |
Codex Desktop
- Vendor
- OpenAI
- Product
- Codex Desktop
- Platforms
- Windows
- Default status
Unknown
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 26.304.38 | affected | custom | Unavailable | 26.513.40821 | None listed |
| 26.519.21041 | unaffected | Unavailable | Unavailable | Unavailable | None listed |
Codex Desktop (Microsoft Store package)
- Vendor
- OpenAI
- Product
- Codex Desktop (Microsoft Store package)
- Platforms
- Windows
- Default status
Unknown
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 26.304.38.0 | affected | custom | Unavailable | 26.513.4821.0 | None listed |
| 26.519.2081.0 | unaffected | Unavailable | Unavailable | Unavailable | None listed |