Skip to main content
EPSS 0.1%top 99%

CVE-2026-19592: CWE-15: External Control of System or Configuration Setting in OpenAI Codex CLI

0
High
VulnerabilityCVE-2026-19592cvecve-2026-19592cwe-15
Published: 09/01/2026 (09/01/2026, 17:14:49 UTC)
Source: CVE Database V5
Vendor/Project: OpenAI
Product: Codex CLI

Description

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.

CVSS v3.1

Score 7.3high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected software

OpenAI

Codex CLI

Affected versions
>=0.102.0 <=0.130.0

OpenAI

Codex Desktop

Affected versions
>=260202.0859 <=26.513.31313

OpenAI

Codex Desktop

Affected versions
>=26.304.38 <=26.513.40821

OpenAI

Codex Desktop (Microsoft Store package)

Affected versions
>=26.304.38.0 <=26.513.4821.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 13:47:33 UTC

Technical Analysis

OpenAI Codex CLI for Windows, macOS, and Linux, along with Codex Desktop for Windows and macOS, automatically collects Git repository metadata but does not disable the repository-local core.fsmonitor setting. If a user opens or uses a repository prepared by an attacker that preserves a .git/config file setting core.fsmonitor to an attacker-controlled filesystem-monitor helper, Git will execute this helper during metadata collection. This execution happens outside the Codex command sandbox and without prompting the user, allowing arbitrary code execution with the user's privileges. The attacker-controlled code can read, modify, or delete user files and access other resources available to the user's account. Exploitation requires the repository to be delivered or copied with the malicious .git/config intact, as a standard Git clone does not preserve this local configuration.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary code with the privileges of the user running Codex CLI or Desktop. This can lead to unauthorized reading, modification, or deletion of user files and access to other resources available to the user's account. The vulnerability has a CVSS score of 7.3 (high severity), indicating significant confidentiality, integrity, and availability impacts. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid opening or using repositories delivered or copied with preserved .git/config files containing untrusted core.fsmonitor settings. Ordinary Git clones do not preserve this configuration, so using standard cloning methods reduces risk. Monitor vendor communications for updates and official patches.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
OAI
Date Reserved
2026-08-12T03:54:37.942Z
State
PUBLISHED

Threat ID: 6a9709e5acd9273b49fc60bf

Added to database: 09/01/2026, 17:22:45 UTC

Last enriched: 09/07/2026, 13:47:33 UTC

Last updated: 10/17/2026, 18:48:17 UTC

Views: 194

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses