{"api_version":"1","generated_at":"2026-09-09T07:48:37+00:00","cve":"CVE-2026-19590","urls":{"html":"https://cve.report/CVE-2026-19590","api":"https://cve.report/api/cve/CVE-2026-19590.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-19590","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-19590"},"summary":{"title":"CVE-2026-19590","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.","state":"PUBLISHED","assigner":"OAI","published_at":"2026-09-01 18:17:40","updated_at":"2026-09-03 15:17:19"},"problem_types":["CWE-427","CWE-427 CWE-427: Uncontrolled Search Path Element"],"metrics":[{"version":"3.1","source":"ADP","type":"DECLARED","score":"7.3","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","data":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}},{"version":"3.1","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","score":"7.3","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}}],"references":[{"url":"https://github.com/openai/codex/pull/22843","name":"https://github.com/openai/codex/pull/22843","refsource":"8f4f43ab-ba69-4d92-aa1d-d772184d6fb7","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-19590","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-19590","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"OpenAI","product":"Codex Desktop","version":"affected 260202.0859 26.513.31313 custom","platforms":["macOS"]},{"source":"CNA","vendor":"OpenAI","product":"Codex Desktop","version":"unaffected 26.519.22136","platforms":["macOS"]},{"source":"CNA","vendor":"OpenAI","product":"Codex Desktop","version":"affected 26.304.38 26.513.40821 custom","platforms":["Windows"]},{"source":"CNA","vendor":"OpenAI","product":"Codex Desktop","version":"unaffected 26.519.21041","platforms":["Windows"]},{"source":"CNA","vendor":"OpenAI","product":"Codex Desktop (Microsoft Store package)","version":"affected 26.304.38.0 26.513.4821.0 custom","platforms":["Windows"]},{"source":"CNA","vendor":"OpenAI","product":"Codex Desktop (Microsoft Store package)","version":"unaffected 26.519.2081.0","platforms":["Windows"]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"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.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"Until updated, do not open untrusted repository archives or copied repository directories that preserve attacker-supplied .git/config.","time":"","lang":"en"}],"exploits":[],"credits":[{"source":"CNA","value":"Sina Kheirkhah (@SinSinology) of Summoning Team (@SummoningTeam).","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"19590","cve":"CVE-2026-19590","epss":"0.001030000","percentile":"0.010630000","score_date":"2026-09-07","updated_at":"2026-09-08 00:05:28"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}},{"other":{"content":{"id":"CVE-2026-19590","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-09-03T14:29:12.027630Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-09-03T14:32:10.000Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"platforms":["macOS"],"product":"Codex Desktop","vendor":"OpenAI","versions":[{"lessThanOrEqual":"26.513.31313","status":"affected","version":"260202.0859","versionType":"custom"},{"status":"unaffected","version":"26.519.22136"}]},{"platforms":["Windows"],"product":"Codex Desktop","vendor":"OpenAI","versions":[{"lessThanOrEqual":"26.513.40821","status":"affected","version":"26.304.38","versionType":"custom"},{"status":"unaffected","version":"26.519.21041"}]},{"platforms":["Windows"],"product":"Codex Desktop (Microsoft Store package)","vendor":"OpenAI","versions":[{"lessThanOrEqual":"26.513.4821.0","status":"affected","version":"26.304.38.0","versionType":"custom"},{"status":"unaffected","version":"26.519.2081.0"}]}],"configurations":[{"lang":"en","value":"Codex Desktop for macOS or Windows with Git and an attacker-prepared repository whose preserved .git/config sets core.hooksPath to an attacker-controlled directory. Ordinary Git clones do not preserve this setting."}],"credits":[{"lang":"en","value":"Sina Kheirkhah (@SinSinology) of Summoning Team (@SummoningTeam)."}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-427","description":"CWE-427: Uncontrolled Search Path Element","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-01T17:04:43.060Z","orgId":"8f4f43ab-ba69-4d92-aa1d-d772184d6fb7","shortName":"OAI"},"references":[{"url":"https://github.com/openai/codex/pull/22843"}],"solutions":[{"lang":"en","value":"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":[{"lang":"en","value":"Until updated, do not open untrusted repository archives or copied repository directories that preserve attacker-supplied .git/config."}],"x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"8f4f43ab-ba69-4d92-aa1d-d772184d6fb7","assignerShortName":"OAI","cveId":"CVE-2026-19590","datePublished":"2026-09-01T17:04:43.060Z","dateReserved":"2026-08-12T03:54:29.956Z","dateUpdated":"2026-09-03T14:32:10.000Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-01 18:17:40","lastModifiedDate":"2026-09-03 15:17:19","problem_types":["CWE-427","CWE-427 CWE-427: Uncontrolled Search Path Element"],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.3,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-09-03T14:29:12.027630Z","id":"CVE-2026-19590","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"19590","Ordinal":"1","Title":"CVE-2026-19590","CVE":"CVE-2026-19590","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"19590","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2026-19590"}]}}}