{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-19593",
        "assignerOrgId": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7",
        "state": "PUBLISHED",
        "assignerShortName": "OAI",
        "dateReserved": "2026-08-12T03:54:42.487Z",
        "datePublished": "2026-09-01T17:10:24.909Z",
        "dateUpdated": "2026-09-01T17:10:24.909Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7",
                "shortName": "OAI",
                "dateUpdated": "2026-09-01T17:10:24.909Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "OpenAI Codex Desktop for Windows and macOS automatically inspected Git metadata and working-tree status when a user opened a workspace. If the workspace contains a repository with preserved attacker-controlled .git/config, the attr.tree setting and a configured clean or process filter can cause Git to run an attacker-controlled program. The program runs outside Codex's command sandbox with the signed-in user's privileges, without a workspace-trust prompt, command approval, or interaction with a model. The attacker can read, modify, or delete files and access credentials available to that user. Exploitation requires Git to be available on PATH and the user to open the attacker-prepared repository with its local Git configuration intact. An ordinary Git clone does not copy the source repository's .git/config and is not sufficient by itself."
                }
            ],
            "affected": [
                {
                    "vendor": "OpenAI",
                    "product": "Codex Desktop",
                    "platforms": [
                        "macOS"
                    ],
                    "versions": [
                        {
                            "version": "260202.0859",
                            "status": "affected",
                            "versionType": "custom",
                            "lessThanOrEqual": "26.513.31313"
                        },
                        {
                            "version": "26.519.22136",
                            "status": "unaffected"
                        }
                    ]
                },
                {
                    "vendor": "OpenAI",
                    "product": "Codex Desktop",
                    "platforms": [
                        "Windows"
                    ],
                    "versions": [
                        {
                            "version": "26.304.38",
                            "status": "affected",
                            "versionType": "custom",
                            "lessThanOrEqual": "26.513.40821"
                        },
                        {
                            "version": "26.519.21041",
                            "status": "unaffected"
                        }
                    ]
                },
                {
                    "vendor": "OpenAI",
                    "product": "Codex Desktop (Microsoft Store package)",
                    "platforms": [
                        "Windows"
                    ],
                    "versions": [
                        {
                            "version": "26.304.38.0",
                            "status": "affected",
                            "versionType": "custom",
                            "lessThanOrEqual": "26.513.4821.0"
                        },
                        {
                            "version": "26.519.2081.0",
                            "status": "unaffected"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-15",
                            "description": "CWE-15: External Control of System or Configuration Setting",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://openai.com/codex"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Satoki Tsuji (@satoki00) / Ikotas Labs, Inc."
                }
            ],
            "configurations": [
                {
                    "lang": "en",
                    "value": "macOS or Windows with Git available on PATH and an attacker-supplied workspace preserving attacker-controlled .git/config, Git attributes, and clean or process filter settings. The app-side Git worker executes the helper outside Codex's command sandbox without a workspace-trust prompt or command approval. A normal Git clone does not preserve the source repository's local .git/config."
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "Update 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 attacker-supplied workspace folders that retain untrusted .git metadata."
                }
            ],
            "x_generator": {
                "engine": "cvelib 1.8.0"
            }
        }
    }
}