Search
Find a vulnerability
Search criteria
ⓘ
Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.
6 vulnerabilities found for Codex CLI by OpenAI
CVE-2026-19592 (GCVE-0-2026-19592)
Vulnerability from nvd – Published: 2026-09-01 17:14 – Updated: 2026-09-02 15:36
VLAI
EPSS
VEX
Summary
OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS automatically collected Git repository metadata without disabling the repository-local core.fsmonitor setting. If a user opens or uses an attacker-prepared repository whose preserved .git/config sets core.fsmonitor to an attacker-controlled filesystem-monitor helper, Git can execute that helper while Codex collects repository metadata. The helper runs outside Codex's command sandbox and without a user-approval prompt, allowing attacker-controlled code to run with the user's privileges. The code can read, change, or delete the user's files and access other resources available to the user's account. An ordinary Git clone does not preserve the source repository's local .git/config; exploitation requires a repository delivered or copied with that configuration intact.
Severity
7.3 (High)
SSVC
Exploitation: poc
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-02 15:34 UTC
CWE
- CWE-15 - External Control of System or Configuration Setting
Assigner
References
1 reference
Impacted products
4 products
| Vendor | Product | Version | |
|---|---|---|---|
| OpenAI | Codex CLI |
Affected:
0.102.0 , ≤ 0.130.0
(semver)
Unaffected: 0.131.0 |
|
| OpenAI | Codex Desktop |
Affected:
260202.0859 , ≤ 26.513.31313
(custom)
Unaffected: 26.519.22136 |
|
| OpenAI | Codex Desktop |
Affected:
26.304.38 , ≤ 26.513.40821
(custom)
Unaffected: 26.519.21041 |
|
| OpenAI | Codex Desktop (Microsoft Store package) |
Affected:
26.304.38.0 , ≤ 26.513.4821.0
(custom)
Unaffected: 26.519.2081.0 |
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.3,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2026-19592",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-09-02T15:34:59.378504Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-09-02T15:36:20.843Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"platforms": [
"Windows",
"macOS",
"Linux"
],
"product": "Codex CLI",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "0.130.0",
"status": "affected",
"version": "0.102.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "0.131.0"
}
]
},
{
"platforms": [
"macOS"
],
"product": "Codex Desktop",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "26.513.31313",
"status": "affected",
"version": "260202.0859",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "26.519.22136"
}
]
},
{
"platforms": [
"Windows"
],
"product": "Codex Desktop",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "26.513.40821",
"status": "affected",
"version": "26.304.38",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "26.519.21041"
}
]
},
{
"platforms": [
"Windows"
],
"product": "Codex Desktop (Microsoft Store package)",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "26.513.4821.0",
"status": "affected",
"version": "26.304.38.0",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "26.519.2081.0"
}
]
}
],
"configurations": [
{
"lang": "en",
"value": "Codex CLI on Windows, macOS, or Linux, or Codex Desktop on macOS or Windows. Requires Git and an attacker-prepared repository whose preserved .git/config sets core.fsmonitor to an attacker-controlled helper. Automatic Git metadata collection runs the helper outside Codex\u0027s command sandbox without approval. Ordinary Git clones do not preserve the required configuration."
}
],
"credits": [
{
"lang": "en",
"value": "System Software and Security Lab, Fudan University"
},
{
"lang": "en",
"value": "maitai (@MaitaiThe) of Doyensec (@Doyensec), reporting through the Zero Day Initiative."
}
],
"descriptions": [
{
"lang": "en",
"value": "OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS automatically collected Git repository metadata without disabling the repository-local core.fsmonitor setting. If a user opens or uses an attacker-prepared repository whose preserved .git/config sets core.fsmonitor to an attacker-controlled filesystem-monitor helper, Git can execute that helper while Codex collects repository metadata. The helper runs outside Codex\u0027s command sandbox and without a user-approval prompt, allowing attacker-controlled code to run with the user\u0027s privileges. The code can read, change, or delete the user\u0027s files and access other resources available to the user\u0027s account. An ordinary Git clone does not preserve the source repository\u0027s local .git/config; exploitation requires a repository delivered or copied with that configuration intact."
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-15",
"description": "CWE-15: External Control of System or Configuration Setting",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-09-01T19:19:51.977Z",
"orgId": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7",
"shortName": "OAI"
},
"references": [
{
"url": "https://github.com/openai/codex/pull/22652"
}
],
"solutions": [
{
"lang": "en",
"value": "Upgrade Codex CLI to version 0.131.0 or later; Codex Desktop for macOS to application version 26.519.22136 or later; and Codex Desktop for Windows to application version 26.519.21041 (Microsoft Store package 26.519.2081.0) or later."
}
],
"workarounds": [
{
"lang": "en",
"value": "Until updated, do not open or use repository archives or copied directories that preserve attacker-controlled .git/config."
}
],
"x_generator": {
"engine": "cvelib 1.8.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7",
"assignerShortName": "OAI",
"cveId": "CVE-2026-19592",
"datePublished": "2026-09-01T17:14:49.978Z",
"dateReserved": "2026-08-12T03:54:37.942Z",
"dateUpdated": "2026-09-02T15:36:20.843Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-19591 (GCVE-0-2026-19591)
Vulnerability from nvd – Published: 2026-09-01 17:06 – Updated: 2026-09-02 18:34
VLAI
EPSS
VEX
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.
Severity
8.8 (High)
SSVC
Exploitation: none
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-02 18:34 UTC
CWE
- CWE-150 - Improper Neutralization of Escape, Meta, or Control Sequences
Assigner
References
1 reference
Impacted products
4 products
| Vendor | Product | Version | |
|---|---|---|---|
| OpenAI | Codex CLI |
Affected:
0.72.0 , ≤ 0.130.0
(semver)
Unaffected: 0.131.0 |
|
| OpenAI | Codex Desktop |
Affected:
260202.0859 , ≤ 26.513.31313
(custom)
Unaffected: 26.519.22136 |
|
| OpenAI | Codex Desktop |
Affected:
26.304.38 , ≤ 26.513.40821
(custom)
Unaffected: 26.519.21041 |
|
| OpenAI | Codex Desktop (Microsoft Store package) |
Affected:
26.304.38.0 , ≤ 26.513.4821.0
(custom)
Unaffected: 26.519.2081.0 |
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2026-19591",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-09-02T18:34:17.952844Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-09-02T18:34:42.260Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"platforms": [
"Windows",
"macOS",
"Linux"
],
"product": "Codex CLI",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "0.130.0",
"status": "affected",
"version": "0.72.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "0.131.0"
}
]
},
{
"platforms": [
"macOS"
],
"product": "Codex Desktop",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "26.513.31313",
"status": "affected",
"version": "260202.0859",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "26.519.22136"
}
]
},
{
"platforms": [
"Windows"
],
"product": "Codex Desktop",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "26.513.40821",
"status": "affected",
"version": "26.304.38",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "26.519.21041"
}
]
},
{
"platforms": [
"Windows"
],
"product": "Codex Desktop (Microsoft Store package)",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "26.513.4821.0",
"status": "affected",
"version": "26.304.38.0",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "26.519.2081.0"
}
]
}
],
"configurations": [
{
"lang": "en",
"value": "Codex CLI for Windows, macOS, or Linux, or Codex Desktop for Windows or macOS, with Git and PowerShell. Windows normally includes PowerShell; macOS and Linux require separately installed PowerShell Core (pwsh) to be invoked. Exploitation requires an attacker-prepared repository whose instructions Codex follows. Misclassification bypasses command approval but does not itself disable filesystem sandboxing; code execution also requires a successful configuration write and later configuration load."
}
],
"credits": [
{
"lang": "en",
"value": "Emanuele Barbeno, Cyrill Bannwart, Yves Bieri, Lukasz D., and Urs Mueller of Compass Security (@compasssecurity)."
}
],
"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\u0027s 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\u0027s configuration. If Codex later loads the modified configuration, it can launch an attacker-controlled MCP server and execute code with the user\u0027s 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."
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-150",
"description": "CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-09-01T17:06:45.647Z",
"orgId": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7",
"shortName": "OAI"
},
"references": [
{
"url": "https://github.com/openai/codex/pull/22643"
}
],
"solutions": [
{
"lang": "en",
"value": "Upgrade Codex CLI to version 0.131.0 or later, Codex Desktop for macOS to application version 26.519.22136 or later, or Codex Desktop for Windows to application version 26.519.21041 (Microsoft Store package 26.519.2081.0) or later."
}
],
"workarounds": [
{
"lang": "en",
"value": "Until updated, do not open or follow instructions from untrusted repositories. On macOS and Linux, keep filesystem sandboxing enabled."
}
],
"x_generator": {
"engine": "cvelib 1.8.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7",
"assignerShortName": "OAI",
"cveId": "CVE-2026-19591",
"datePublished": "2026-09-01T17:06:45.647Z",
"dateReserved": "2026-08-12T03:54:33.704Z",
"dateUpdated": "2026-09-02T18:34:42.260Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2025-54558 (GCVE-0-2025-54558)
Vulnerability from nvd – Published: 2025-07-25 00:00 – Updated: 2025-07-25 13:23
VLAI
EPSS
VEX
Summary
OpenAI Codex CLI before 0.9.0 auto-approves ripgrep (aka rg) execution even with the --pre or --hostname-bin or --search-zip or -z flag.
Severity
4.1 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-07-25 13:23 UTC
CWE
- CWE-829 - Inclusion of Functionality from Untrusted Control Sphere
Assigner
References
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2025-54558",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-07-25T13:23:22.534964Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-07-25T13:23:27.135Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Codex CLI",
"vendor": "OpenAI",
"versions": [
{
"lessThan": "0.9.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "OpenAI Codex CLI before 0.9.0 auto-approves ripgrep (aka rg) execution even with the --pre or --hostname-bin or --search-zip or -z flag."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 4.1,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-829",
"description": "CWE-829 Inclusion of Functionality from Untrusted Control Sphere",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-07-25T01:24:52.040Z",
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre"
},
"references": [
{
"url": "https://github.com/openai/codex/pull/1644"
},
{
"url": "https://github.com/openai/codex/compare/rust-v0.8.0...rust-v0.9.0"
},
{
"url": "https://github.com/openai/codex/commit/6cf4b96f9dbbef8a94acc1ff703eb118481514d8"
}
],
"x_generator": {
"engine": "enrichogram 0.0.1"
}
}
},
"cveMetadata": {
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"cveId": "CVE-2025-54558",
"datePublished": "2025-07-25T00:00:00.000Z",
"dateReserved": "2025-07-25T00:00:00.000Z",
"dateUpdated": "2025-07-25T13:23:27.135Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2026-19592 (GCVE-0-2026-19592)
Vulnerability from cvelistv5 – Published: 2026-09-01 17:14 – Updated: 2026-09-02 15:36
VLAI
EPSS
VEX
Summary
OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS automatically collected Git repository metadata without disabling the repository-local core.fsmonitor setting. If a user opens or uses an attacker-prepared repository whose preserved .git/config sets core.fsmonitor to an attacker-controlled filesystem-monitor helper, Git can execute that helper while Codex collects repository metadata. The helper runs outside Codex's command sandbox and without a user-approval prompt, allowing attacker-controlled code to run with the user's privileges. The code can read, change, or delete the user's files and access other resources available to the user's account. An ordinary Git clone does not preserve the source repository's local .git/config; exploitation requires a repository delivered or copied with that configuration intact.
Severity
7.3 (High)
SSVC
Exploitation: poc
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-02 15:34 UTC
CWE
- CWE-15 - External Control of System or Configuration Setting
Assigner
References
1 reference
Impacted products
4 products
| Vendor | Product | Version | |
|---|---|---|---|
| OpenAI | Codex CLI |
Affected:
0.102.0 , ≤ 0.130.0
(semver)
Unaffected: 0.131.0 |
|
| OpenAI | Codex Desktop |
Affected:
260202.0859 , ≤ 26.513.31313
(custom)
Unaffected: 26.519.22136 |
|
| OpenAI | Codex Desktop |
Affected:
26.304.38 , ≤ 26.513.40821
(custom)
Unaffected: 26.519.21041 |
|
| OpenAI | Codex Desktop (Microsoft Store package) |
Affected:
26.304.38.0 , ≤ 26.513.4821.0
(custom)
Unaffected: 26.519.2081.0 |
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.3,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2026-19592",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-09-02T15:34:59.378504Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-09-02T15:36:20.843Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"platforms": [
"Windows",
"macOS",
"Linux"
],
"product": "Codex CLI",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "0.130.0",
"status": "affected",
"version": "0.102.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "0.131.0"
}
]
},
{
"platforms": [
"macOS"
],
"product": "Codex Desktop",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "26.513.31313",
"status": "affected",
"version": "260202.0859",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "26.519.22136"
}
]
},
{
"platforms": [
"Windows"
],
"product": "Codex Desktop",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "26.513.40821",
"status": "affected",
"version": "26.304.38",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "26.519.21041"
}
]
},
{
"platforms": [
"Windows"
],
"product": "Codex Desktop (Microsoft Store package)",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "26.513.4821.0",
"status": "affected",
"version": "26.304.38.0",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "26.519.2081.0"
}
]
}
],
"configurations": [
{
"lang": "en",
"value": "Codex CLI on Windows, macOS, or Linux, or Codex Desktop on macOS or Windows. Requires Git and an attacker-prepared repository whose preserved .git/config sets core.fsmonitor to an attacker-controlled helper. Automatic Git metadata collection runs the helper outside Codex\u0027s command sandbox without approval. Ordinary Git clones do not preserve the required configuration."
}
],
"credits": [
{
"lang": "en",
"value": "System Software and Security Lab, Fudan University"
},
{
"lang": "en",
"value": "maitai (@MaitaiThe) of Doyensec (@Doyensec), reporting through the Zero Day Initiative."
}
],
"descriptions": [
{
"lang": "en",
"value": "OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS automatically collected Git repository metadata without disabling the repository-local core.fsmonitor setting. If a user opens or uses an attacker-prepared repository whose preserved .git/config sets core.fsmonitor to an attacker-controlled filesystem-monitor helper, Git can execute that helper while Codex collects repository metadata. The helper runs outside Codex\u0027s command sandbox and without a user-approval prompt, allowing attacker-controlled code to run with the user\u0027s privileges. The code can read, change, or delete the user\u0027s files and access other resources available to the user\u0027s account. An ordinary Git clone does not preserve the source repository\u0027s local .git/config; exploitation requires a repository delivered or copied with that configuration intact."
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-15",
"description": "CWE-15: External Control of System or Configuration Setting",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-09-01T19:19:51.977Z",
"orgId": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7",
"shortName": "OAI"
},
"references": [
{
"url": "https://github.com/openai/codex/pull/22652"
}
],
"solutions": [
{
"lang": "en",
"value": "Upgrade Codex CLI to version 0.131.0 or later; Codex Desktop for macOS to application version 26.519.22136 or later; and Codex Desktop for Windows to application version 26.519.21041 (Microsoft Store package 26.519.2081.0) or later."
}
],
"workarounds": [
{
"lang": "en",
"value": "Until updated, do not open or use repository archives or copied directories that preserve attacker-controlled .git/config."
}
],
"x_generator": {
"engine": "cvelib 1.8.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7",
"assignerShortName": "OAI",
"cveId": "CVE-2026-19592",
"datePublished": "2026-09-01T17:14:49.978Z",
"dateReserved": "2026-08-12T03:54:37.942Z",
"dateUpdated": "2026-09-02T15:36:20.843Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-19591 (GCVE-0-2026-19591)
Vulnerability from cvelistv5 – Published: 2026-09-01 17:06 – Updated: 2026-09-02 18:34
VLAI
EPSS
VEX
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.
Severity
8.8 (High)
SSVC
Exploitation: none
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-02 18:34 UTC
CWE
- CWE-150 - Improper Neutralization of Escape, Meta, or Control Sequences
Assigner
References
1 reference
Impacted products
4 products
| Vendor | Product | Version | |
|---|---|---|---|
| OpenAI | Codex CLI |
Affected:
0.72.0 , ≤ 0.130.0
(semver)
Unaffected: 0.131.0 |
|
| OpenAI | Codex Desktop |
Affected:
260202.0859 , ≤ 26.513.31313
(custom)
Unaffected: 26.519.22136 |
|
| OpenAI | Codex Desktop |
Affected:
26.304.38 , ≤ 26.513.40821
(custom)
Unaffected: 26.519.21041 |
|
| OpenAI | Codex Desktop (Microsoft Store package) |
Affected:
26.304.38.0 , ≤ 26.513.4821.0
(custom)
Unaffected: 26.519.2081.0 |
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2026-19591",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-09-02T18:34:17.952844Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-09-02T18:34:42.260Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"platforms": [
"Windows",
"macOS",
"Linux"
],
"product": "Codex CLI",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "0.130.0",
"status": "affected",
"version": "0.72.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "0.131.0"
}
]
},
{
"platforms": [
"macOS"
],
"product": "Codex Desktop",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "26.513.31313",
"status": "affected",
"version": "260202.0859",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "26.519.22136"
}
]
},
{
"platforms": [
"Windows"
],
"product": "Codex Desktop",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "26.513.40821",
"status": "affected",
"version": "26.304.38",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "26.519.21041"
}
]
},
{
"platforms": [
"Windows"
],
"product": "Codex Desktop (Microsoft Store package)",
"vendor": "OpenAI",
"versions": [
{
"lessThanOrEqual": "26.513.4821.0",
"status": "affected",
"version": "26.304.38.0",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "26.519.2081.0"
}
]
}
],
"configurations": [
{
"lang": "en",
"value": "Codex CLI for Windows, macOS, or Linux, or Codex Desktop for Windows or macOS, with Git and PowerShell. Windows normally includes PowerShell; macOS and Linux require separately installed PowerShell Core (pwsh) to be invoked. Exploitation requires an attacker-prepared repository whose instructions Codex follows. Misclassification bypasses command approval but does not itself disable filesystem sandboxing; code execution also requires a successful configuration write and later configuration load."
}
],
"credits": [
{
"lang": "en",
"value": "Emanuele Barbeno, Cyrill Bannwart, Yves Bieri, Lukasz D., and Urs Mueller of Compass Security (@compasssecurity)."
}
],
"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\u0027s 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\u0027s configuration. If Codex later loads the modified configuration, it can launch an attacker-controlled MCP server and execute code with the user\u0027s 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."
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-150",
"description": "CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-09-01T17:06:45.647Z",
"orgId": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7",
"shortName": "OAI"
},
"references": [
{
"url": "https://github.com/openai/codex/pull/22643"
}
],
"solutions": [
{
"lang": "en",
"value": "Upgrade Codex CLI to version 0.131.0 or later, Codex Desktop for macOS to application version 26.519.22136 or later, or Codex Desktop for Windows to application version 26.519.21041 (Microsoft Store package 26.519.2081.0) or later."
}
],
"workarounds": [
{
"lang": "en",
"value": "Until updated, do not open or follow instructions from untrusted repositories. On macOS and Linux, keep filesystem sandboxing enabled."
}
],
"x_generator": {
"engine": "cvelib 1.8.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7",
"assignerShortName": "OAI",
"cveId": "CVE-2026-19591",
"datePublished": "2026-09-01T17:06:45.647Z",
"dateReserved": "2026-08-12T03:54:33.704Z",
"dateUpdated": "2026-09-02T18:34:42.260Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2025-54558 (GCVE-0-2025-54558)
Vulnerability from cvelistv5 – Published: 2025-07-25 00:00 – Updated: 2025-07-25 13:23
VLAI
EPSS
VEX
Summary
OpenAI Codex CLI before 0.9.0 auto-approves ripgrep (aka rg) execution even with the --pre or --hostname-bin or --search-zip or -z flag.
Severity
4.1 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-07-25 13:23 UTC
CWE
- CWE-829 - Inclusion of Functionality from Untrusted Control Sphere
Assigner
References
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2025-54558",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-07-25T13:23:22.534964Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-07-25T13:23:27.135Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Codex CLI",
"vendor": "OpenAI",
"versions": [
{
"lessThan": "0.9.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "OpenAI Codex CLI before 0.9.0 auto-approves ripgrep (aka rg) execution even with the --pre or --hostname-bin or --search-zip or -z flag."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 4.1,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-829",
"description": "CWE-829 Inclusion of Functionality from Untrusted Control Sphere",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-07-25T01:24:52.040Z",
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre"
},
"references": [
{
"url": "https://github.com/openai/codex/pull/1644"
},
{
"url": "https://github.com/openai/codex/compare/rust-v0.8.0...rust-v0.9.0"
},
{
"url": "https://github.com/openai/codex/commit/6cf4b96f9dbbef8a94acc1ff703eb118481514d8"
}
],
"x_generator": {
"engine": "enrichogram 0.0.1"
}
}
},
"cveMetadata": {
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"cveId": "CVE-2025-54558",
"datePublished": "2025-07-25T00:00:00.000Z",
"dateReserved": "2025-07-25T00:00:00.000Z",
"dateUpdated": "2025-07-25T13:23:27.135Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}