CVE-2026-19592: Git Git vulnerability

Published Sep 1, 2026
·
Updated

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.

Affected Software

3 affected components
Git Git
OpenAI Codex CLI
OpenAI Codex Desktop

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.131.0
  2. Upgrade

    Upgrade Codex Desktop for macOS to a version that resolves this vulnerability.

    Fixed in 26.519.22136
  3. Upgrade

    Upgrade Codex Desktop for Windows to a version that resolves this vulnerability.

    Fixed in 26.519.21041Patch Microsoft Store package 26.519.2081.0

Event History

Sep 1, 2026
CVE Published
via MITRE·05:14 PM
Data Sourced
via MITRE·05:14 PM
RemedyDescriptionWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users of Codex CLI on Windows, macOS, or Linux and Codex Desktop on Windows or macOS are exposed when they open or use an attacker-prepared Git repository that retains a malicious repository-local Git configuration.

2

Does cloning a repository normally trigger this condition?

No. An ordinary Git clone does not preserve the source repository's local .git/config, so exploitation requires a repository to be delivered or copied with that configuration intact.

3

What does an attacker need to make exploitation possible?

The attacker needs to cause the user to open or use a repository whose preserved .git/config sets core.fsmonitor to an attacker-controlled filesystem-monitor helper. Git can then execute that helper when Codex collects repository metadata.

4

How can I check whether a repository is suspicious?

Inspect the repository-local .git/config for a core.fsmonitor setting. A value pointing to an attacker-controlled filesystem-monitor helper is the condition described for exploitation.

5

What happens if the helper executes?

It runs outside Codex's command sandbox and without a user-approval prompt, with the user's privileges. It can read, modify, or delete the user's files and access other resources available to that account.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203