CVE-2026-19590
published high CVSS 3.1 · 7.3Codex Desktop vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenAI | — | Codex Desktop260202.0859 through 26.513.31313 (affected · custom) · 26.519.22136 (unaffected) · Platforms: macOS | Version-specific | Not stated | OAI |
| OpenAI | — | Codex Desktop26.304.38 through 26.513.40821 (affected · custom) · 26.519.21041 (unaffected) · Platforms: Windows | Version-specific | Not stated | OAI |
| OpenAI | — | Codex Desktop (Microsoft Store package)26.304.38.0 through 26.513.4821.0 (affected · custom) · 26.519.2081.0 (unaffected) · Platforms: Windows | Version-specific | Not stated | OAI |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenAI | Codex Desktop | 260202.0859 through 26.513.31313 (affected · custom)26.519.22136 (unaffected) | OAI · cna |
| OpenAI | Codex Desktop | 26.304.38 through 26.513.40821 (affected · custom)26.519.21041 (unaffected) | OAI · cna |
| OpenAI | Codex Desktop (Microsoft Store package) | 26.304.38.0 through 26.513.4821.0 (affected · custom)26.519.2081.0 (unaffected) | OAI · cna |
Weaknesses
1- CWE-427 CWE-427: Uncontrolled Search Path Element
References
1Provider assertions
2OAI · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 45a739f70fc1b5c26f47237dfc89c551114bd2d3a886b5ef56b880acb5aba79d
- Ingested
- 23 Sep 2026, 09:03:51 UTC
- Source record
- Official CVE record