Security Digest · Vulnerability record
CVE-2026-19590: OpenAI Codex Desktop vulnerability
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.
CVSS 7.3 High EPSS 0.1% · p1 Patch this week
Should you act?
Normal patch cycle
No exploitation signal; fix it in your next routine update if you are affected. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.
- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.1%, percentile 1: FIRST’s model estimates a 0.1% chance of exploitation activity in the next 30 days, higher than 1% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Needs local access needed. Lower urgency for most teams unless an attacker could already run code on the machine.
- Editorial verdict: Patch this week. GitSpawn: Repo Git Config Runs Code in AI Coding Agents — Update your coding agents this week and never point one at a repository that arrived as files until you have read its .git/config; ordinary clones are not affected, and no attacks have been reported.
What it is
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.
Weakness type: CWE-427.
Product: OpenAI Codex Desktop · Assigned by: OAI · Published: 2026-09-01
Affected and fixed versions
| Vendor | Product | Affected versions (per CVE record) |
|---|---|---|
| OpenAI | Codex Desktop | 260202.0859 <= 26.513.31313 |
| OpenAI | Codex Desktop | 26.304.38 <= 26.513.40821 |
| OpenAI | Codex Desktop (Microsoft Store package) | 26.304.38.0 <= 26.513.4821.0 |
Severity scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADP | 3.1 | 7.3 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
- Attack vector: local access needed
- Attack complexity: low
- Privileges required: low (any account)
- User interaction: required (a user must click/open something)
- Scope: unchanged
CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.
Exploitation and urgency
- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none, automatable no, technical impact total.
- FIRST EPSS (model of 2026-10-21): 0.11% probability of exploitation activity in the next 30 days; percentile 1.
Timeline
- — CVE record published by OAI
- — erroneo.us brief: GitSpawn: Repo Git Config Runs Code in AI Coding Agents
- — CVE record last updated
Sources and references
Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.
Vulnerability records
- CVE.org record CVE-2026-19590 cve.org
- NVD entry CVE-2026-19590 nvd.nist.gov
Other references from the CVE record and advisory
- github.com github.com