Code execution via trusted repository hook path
Published Sep 1, 2026 · Updated Sep 3, 2026
Code execution in OpenAI Codex app for macOS 260202.0859 through 26.513.31313 allows local users to run attacker-controlled Git hooks. Automated Git helper operations honor core.hooksPath from the repository's preserved .git/config, causing Git to load hooks from an attacker-controlled directory outside the command sandbox. Exploitation requires a user to open a copied or archived repository that preserves this local configuration; the hook then runs with that user's privileges and can read, change, or delete accessible files.
Summary
What happened
Code execution in OpenAI Codex app for macOS 260202.0859 through 26.513.31313 allows local users to run attacker-controlled Git hooks. Automated Git helper operations honor core.hooksPath from the repository's preserved .git/config, causing Git to load hooks from an attacker-controlled directory outside the command sandbox. Exploitation requires a user to open a copied or archived repository that preserves this local configuration; the hook then runs with that user's privileges and can read, change, or delete accessible files.
The record
- CVE
- CVE-2026-19590
- Published
- Sep 1, 2026
- Updated
- Sep 3, 2026
- Vendor
- OpenAI
- Product
- Codex app for macOS
- Classifications
- CWE-427, T1204.002
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 1, 2026CVE publishedPublication date reported by the CVE source.
- Sep 3, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=260202.0859 <=26.513.31313
- Affected versionversion=26.304.38.0 <=26.513.4821.0
- Affected versionversion=26.304.38 <=26.513.40821
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo