CVE-2026-19590 (GCVE-0-2026-19590)
Vulnerability from cvelistv5 – Published: 2026-09-01 17:04 – Updated: 2026-09-01 17:04
VLAI
EPSS
VEX
Summary
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.
Severity
No CVSS data available.
CWE
- CWE-427 - Uncontrolled Search Path Element
Assigner
References
1 reference
Impacted products
3 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| OpenAI | Codex Desktop |
Affected:
260202.0859 , ≤ 26.513.31313
(custom)
Unaffected: 26.519.22136 |
guessed | |
| OpenAI | Codex Desktop |
Affected:
26.304.38 , ≤ 26.513.40821
(custom)
Unaffected: 26.519.21041 |
guessed | |
| OpenAI | Codex Desktop (Microsoft Store package) |
Affected:
26.304.38.0 , ≤ 26.513.4821.0
(custom)
Unaffected: 26.519.2081.0 |
guessed |
{
"containers": {
"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\u0027s 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\u0027s command sandbox, without user approval, and with the user\u0027s privileges, allowing it to read, change, or delete the user\u0027s files and access other resources available to the user\u0027s 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-01T17:04:43.060Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-19590",
"date": "2026-09-02",
"epss": "0.00133",
"percentile": "0.03132"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-19590\",\"sourceIdentifier\":\"8f4f43ab-ba69-4d92-aa1d-d772184d6fb7\",\"published\":\"2026-09-01T18:17:40.140\",\"lastModified\":\"2026-09-01T21:03:04.987\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"OpenAI Codex Desktop for Windows and macOS could execute attacker-controlled Git hooks because automated Git operations trusted the repository\u0027s 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\u0027s command sandbox, without user approval, and with the user\u0027s privileges, allowing it to read, change, or delete the user\u0027s files and access other resources available to the user\u0027s account. An ordinary Git clone does not preserve the attacker-controlled repository-local configuration required for exploitation.\"}],\"affected\":[{\"source\":\"8f4f43ab-ba69-4d92-aa1d-d772184d6fb7\",\"affectedData\":[{\"vendor\":\"OpenAI\",\"product\":\"Codex Desktop\",\"platforms\":[\"macOS\"],\"versions\":[{\"version\":\"260202.0859\",\"lessThanOrEqual\":\"26.513.31313\",\"versionType\":\"custom\",\"status\":\"affected\"},{\"version\":\"26.519.22136\",\"status\":\"unaffected\"}]},{\"vendor\":\"OpenAI\",\"product\":\"Codex Desktop\",\"platforms\":[\"Windows\"],\"versions\":[{\"version\":\"26.304.38\",\"lessThanOrEqual\":\"26.513.40821\",\"versionType\":\"custom\",\"status\":\"affected\"},{\"version\":\"26.519.21041\",\"status\":\"unaffected\"}]},{\"vendor\":\"OpenAI\",\"product\":\"Codex Desktop (Microsoft Store package)\",\"platforms\":[\"Windows\"],\"versions\":[{\"version\":\"26.304.38.0\",\"lessThanOrEqual\":\"26.513.4821.0\",\"versionType\":\"custom\",\"status\":\"affected\"},{\"version\":\"26.519.2081.0\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"weaknesses\":[{\"source\":\"8f4f43ab-ba69-4d92-aa1d-d772184d6fb7\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-427\"}]}],\"references\":[{\"url\":\"https://github.com/openai/codex/pull/22843\",\"source\":\"8f4f43ab-ba69-4d92-aa1d-d772184d6fb7\"}]}}"
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Loading…
Loading…