CVE-2026-19592 (GCVE-0-2026-19592)

Vulnerability from cvelistv5 – Published: 2026-09-01 17:14 – Updated: 2026-09-01 19:19
VLAI
Summary
OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS automatically collected Git repository metadata without disabling the repository-local core.fsmonitor setting. If a user opens or uses an attacker-prepared repository whose preserved .git/config sets core.fsmonitor to an attacker-controlled filesystem-monitor helper, Git can execute that helper while Codex collects repository metadata. The helper runs outside Codex's command sandbox and without a user-approval prompt, allowing attacker-controlled code to run with the user's privileges. The code can 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 source repository's local .git/config; exploitation requires a repository delivered or copied with that configuration intact.
CWE
  • CWE-15 - External Control of System or Configuration Setting
Assigner
References
Impacted products
Vendor Product Version CPE status
OpenAI Codex CLI Affected: 0.102.0 , ≤ 0.130.0 (semver)
Unaffected: 0.131.0
guessed Create a notification for this product.
OpenAI Codex Desktop Affected: 260202.0859 , ≤ 26.513.31313 (custom)
Unaffected: 26.519.22136
guessed Create a notification for this product.
OpenAI Codex Desktop Affected: 26.304.38 , ≤ 26.513.40821 (custom)
Unaffected: 26.519.21041
guessed Create a notification for this product.
OpenAI Codex Desktop (Microsoft Store package) Affected: 26.304.38.0 , ≤ 26.513.4821.0 (custom)
Unaffected: 26.519.2081.0
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "platforms": [
            "Windows",
            "macOS",
            "Linux"
          ],
          "product": "Codex CLI",
          "vendor": "OpenAI",
          "versions": [
            {
              "lessThanOrEqual": "0.130.0",
              "status": "affected",
              "version": "0.102.0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "0.131.0"
            }
          ]
        },
        {
          "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 CLI on Windows, macOS, or Linux, or Codex Desktop on macOS or Windows. Requires Git and an attacker-prepared repository whose preserved .git/config sets core.fsmonitor to an attacker-controlled helper. Automatic Git metadata collection runs the helper outside Codex\u0027s command sandbox without approval. Ordinary Git clones do not preserve the required configuration."
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "System Software and Security Lab, Fudan University"
        },
        {
          "lang": "en",
          "value": "maitai (@MaitaiThe) of Doyensec (@Doyensec), reporting through the Zero Day Initiative."
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS automatically collected Git repository metadata without disabling the repository-local core.fsmonitor setting. If a user opens or uses an attacker-prepared repository whose preserved .git/config sets core.fsmonitor to an attacker-controlled filesystem-monitor helper, Git can execute that helper while Codex collects repository metadata. The helper runs outside Codex\u0027s command sandbox and without a user-approval prompt, allowing attacker-controlled code to run with the user\u0027s privileges. The code can 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 source repository\u0027s local .git/config; exploitation requires a repository delivered or copied with that configuration intact."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-15",
              "description": "CWE-15: External Control of System or Configuration Setting",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-01T19:19:51.977Z",
        "orgId": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7",
        "shortName": "OAI"
      },
      "references": [
        {
          "url": "https://github.com/openai/codex/pull/22652"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "Upgrade Codex CLI to version 0.131.0 or later; Codex Desktop for macOS to application version 26.519.22136 or later; and 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 or use repository archives or copied directories that preserve attacker-controlled .git/config."
        }
      ],
      "x_generator": {
        "engine": "cvelib 1.8.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8f4f43ab-ba69-4d92-aa1d-d772184d6fb7",
    "assignerShortName": "OAI",
    "cveId": "CVE-2026-19592",
    "datePublished": "2026-09-01T17:14:49.978Z",
    "dateReserved": "2026-08-12T03:54:37.942Z",
    "dateUpdated": "2026-09-01T19:19:51.977Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-19592",
      "date": "2026-09-02",
      "epss": "0.00139",
      "percentile": "0.03592"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-19592\",\"sourceIdentifier\":\"8f4f43ab-ba69-4d92-aa1d-d772184d6fb7\",\"published\":\"2026-09-01T18:17:40.370\",\"lastModified\":\"2026-09-02T16:17:15.233\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS automatically collected Git repository metadata without disabling the repository-local core.fsmonitor setting. If a user opens or uses an attacker-prepared repository whose preserved .git/config sets core.fsmonitor to an attacker-controlled filesystem-monitor helper, Git can execute that helper while Codex collects repository metadata. The helper runs outside Codex\u0027s command sandbox and without a user-approval prompt, allowing attacker-controlled code to run with the user\u0027s privileges. The code can 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 source repository\u0027s local .git/config; exploitation requires a repository delivered or copied with that configuration intact.\"}],\"affected\":[{\"source\":\"8f4f43ab-ba69-4d92-aa1d-d772184d6fb7\",\"affectedData\":[{\"vendor\":\"OpenAI\",\"product\":\"Codex CLI\",\"platforms\":[\"Windows\",\"macOS\",\"Linux\"],\"versions\":[{\"version\":\"0.102.0\",\"lessThanOrEqual\":\"0.130.0\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"0.131.0\",\"status\":\"unaffected\"}]},{\"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\":{\"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-02T15:34:59.378504Z\",\"id\":\"CVE-2026-19592\",\"options\":[{\"exploitation\":\"poc\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"8f4f43ab-ba69-4d92-aa1d-d772184d6fb7\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-15\"}]}],\"references\":[{\"url\":\"https://github.com/openai/codex/pull/22652\",\"source\":\"8f4f43ab-ba69-4d92-aa1d-d772184d6fb7\"}]}}"
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…