# CVE-2026-19590: OpenAI Codex Desktop for Windows and macOS could execute attacker-controlled Git hooks because automated Git operations trusted the reposit…

- Severity: High 7.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-09-01T17:04:43.060Z
- Modified: 2026-09-03T15:17:19.780Z
- Weaknesses: CWE-427
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- OpenAI Codex Desktop: from 260202.0859 up to 26.513.31313; from 26.304.38 up to 26.513.40821 (not affected: 26.519.22136; 26.519.21041)
- OpenAI Codex Desktop (Microsoft Store package): from 26.304.38.0 up to 26.513.4821.0 (not affected: 26.519.2081.0)

## References

- <https://github.com/openai/codex/pull/22843>

## Sources

- CVE List: [CVE-2026-19590](https://www.cve.org/CVERecord?id=CVE-2026-19590), CVE Terms of Use, modified 2026-09-03
- NVD: [CVE-2026-19590](https://nvd.nist.gov/vuln/detail/CVE-2026-19590), Public domain, modified 2026-09-03

---

Page: https://cve.day/CVE-2026-19590 · Whole record: https://cve.day/CVE-2026-19590.json · Rebuilt by cve.day 2026-11-25T22:59:35.988Z
