Uncontrolled search path in OpenAI Codex Desktop
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-427.
Summary
OpenAI Codex Desktop for Windows and macOS could execute attacker-controlled Git hooks because automated Git operations trusted the repository's local core.hooksPath setting. If a user opens an attacker-prepared repository whose preserved .git/config points core.hooksPath to an attacker-controlled directory, Codex can run a malicious hook while processing the repository. The hook executes outside Codex's command sandbox, without user approval, and with the user's privileges, allowing it to 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 attacker-controlled repository-local configuration required for exploitation.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenAI | Codex Desktop | 260202.0859 – 26.513.31313 | 26.519.22136 | Patch available | CNA |
| OpenAI | Codex Desktop | 26.304.38 – 26.513.40821 | 26.519.21041 | Patch available | CNA |
| OpenAI | Codex Desktop (Microsoft Store package) | 26.304.38.0 – 26.513.4821.0 | 26.519.2081.0 | Patch available | CNA |
- Codex Desktop VendorOpenAI Affected 260202.0859 – 26.513.31313 Fixed in 26.519.22136 Patch available CNA
- Codex Desktop VendorOpenAI Affected 26.304.38 – 26.513.40821 Fixed in 26.519.21041 Patch available CNA
- Codex Desktop (Microsoft Store package) VendorOpenAI Affected 26.304.38.0 – 26.513.4821.0 Fixed in 26.519.2081.0 Patch available CNA
Remediation
- Fix · CNA Codex Desktop (OpenAI) Fixed in 26.519.22136
- Fix · CNA Codex Desktop (OpenAI) Fixed in 26.519.21041
- Fix · CNA Codex Desktop (Microsoft Store package) (OpenAI) Fixed in 26.519.2081.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-19590
- 2026-10-03 Alias added: GHSA-433v-pqvh-w4gj
References
More OpenAI vulnerabilities
- TI-2026-15921 OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS… CVSS 3.1HIGH 7.3
- TI-2025-06388 OpenAI Operator - API Spoofing through Locking Operator on FullScreen CVSS 4.0MEDIUM 6.9
- TI-2026-15922 OpenAI Codex Desktop for Windows and macOS automatically inspected Git metadata and… CVSS 3.1CRITICAL 9.8
- TI-2026-15920 OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS… CVSS 3.1HIGH 8.8
- TI-2025-37063 Codex has sandbox bypass due to bug in path configuration logic CVSS 4.0HIGH 8.6
- TI-2026-85640 Argument injection in Codex Desktop for Windows project paths CVSS 3.1HIGH 8.0
Sources
- CVE-2026-19590 · CVE Program
- CVE-2026-19590 · NVD
- FIRST EPSS
- GHSA-433v-pqvh-w4gj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences