CVE-2026-19590

Summary

CVECVE-2026-19590
StatePUBLISHED
AssignerOAI
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-01 18:17:40 UTC
Updated2026-09-03 15:17:19 UTC
DescriptionOpenAI 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.

Risk And Classification

Primary CVSS: v3.1 7.3 HIGH from ADP

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

EPSS: 0.001030000 probability, percentile 0.010630000 (date 2026-09-07)

Problem Types: CWE-427 | CWE-427 CWE-427: Uncontrolled Search Path Element


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED7.3HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary7.3HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA OpenAI Codex Desktop affected 260202.0859 26.513.31313 custom macOS
CNA OpenAI Codex Desktop unaffected 26.519.22136 macOS
CNA OpenAI Codex Desktop affected 26.304.38 26.513.40821 custom Windows
CNA OpenAI Codex Desktop unaffected 26.519.21041 Windows
CNA OpenAI Codex Desktop Microsoft Store Package affected 26.304.38.0 26.513.4821.0 custom Windows
CNA OpenAI Codex Desktop Microsoft Store Package unaffected 26.519.2081.0 Windows

References

ReferenceSourceLinkTags
github.com/openai/codex/pull/22843 8f4f43ab-ba69-4d92-aa1d-d772184d6fb7 github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Sina Kheirkhah (@SinSinology) of Summoning Team (@SummoningTeam). (en)

Additional Advisory Data

Solutions

CNA: Upgrade 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

CNA: Until updated, do not open untrusted repository archives or copied repository directories that preserve attacker-supplied .git/config.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report