CVE-2026-19591
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.
Leer descripción completaMostrar menos
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
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Puntuación base: 8.8
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.30%
- Percentil entre todas las CVEs puntuadas: 21
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
🎯 Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1203Exploitation for Client Executionexecution95 % - Impacto principal
T1059Command and Scripting Interpreterexecution90 % - Impacto secundario
T1005Data from Local Systemcollection80 % - Impacto secundario
T1565.001Stored Data Manipulationimpact85 %
UI:R → T1203 (abrir repositorio preparado). Impactos: ejecución de código PowerShell (T1059), modificación de configuración (T1565.001), lectura de archivos del usuario (T1005).
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
🛡️ Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (3)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
CWE
- CWE-150
Referencias
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-19591",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-19591",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-09-02T18:34:17.952844Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 8.8,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 2.8
}
]
},
"affected": [
{
"source": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7",
"affectedData": [
{
"vendor": "OpenAI",
"product": "Codex CLI",
"versions": [
{
"status": "affected",
"version": "0.72.0",
"versionType": "semver",
"lessThanOrEqual": "0.130.0"
},
{
"status": "unaffected",
"version": "0.131.0"
}
],
"platforms": [
"Windows",
"macOS",
"Linux"
]
},
{
"vendor": "OpenAI",
"product": "Codex Desktop",
"versions": [
{
"status": "affected",
"version": "260202.0859",
"versionType": "custom",
"lessThanOrEqual": "26.513.31313"
},
{
"status": "unaffected",
"version": "26.519.22136"
}
],
"platforms": [
"macOS"
]
},
{
"vendor": "OpenAI",
"product": "Codex Desktop",
"versions": [
{
"status": "affected",
"version": "26.304.38",
"versionType": "custom",
"lessThanOrEqual": "26.513.40821"
},
{
"status": "unaffected",
"version": "26.519.21041"
}
],
"platforms": [
"Windows"
]
},
{
"vendor": "OpenAI",
"product": "Codex Desktop (Microsoft Store package)",
"versions": [
{
"status": "affected",
"version": "26.304.38.0",
"versionType": "custom",
"lessThanOrEqual": "26.513.4821.0"
},
{
"status": "unaffected",
"version": "26.519.2081.0"
}
],
"platforms": [
"Windows"
]
}
]
}
],
"published": "2026-09-01T18:17:40.260",
"references": [
{
"url": "https://github.com/openai/codex/pull/22643",
"source": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7"
}
],
"vulnStatus": "Undergoing Analysis",
"weaknesses": [
{
"type": "Secondary",
"source": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7",
"description": [
{
"lang": "en",
"value": "CWE-150"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"lastModified": "2026-09-02T19:17:16.760",
"sourceIdentifier": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7"
}