Executive Summary
In September 2026, Manifold Security disclosed eight critical vulnerabilities across seven AI coding agents including Claude Code, Codex, and Cursor, where malicious Git configurations could execute attacker code without user approval. The flaws exploit the core.fsmonitor Git setting, allowing repository-supplied commands to run with full user privileges outside sandbox environments. Four vulnerabilities remained unpatched at publication, affecting popular development tools used by millions of developers worldwide.
This incident highlights the growing security risks in AI-powered development environments as organizations increasingly adopt autonomous coding agents. With the rapid expansion of AI tooling in software development workflows, similar supply-chain attacks targeting developer infrastructure represent a critical emerging threat vector requiring immediate attention.
Why This Matters Now
AI coding agents are becoming standard in enterprise development workflows, but their integration with Git repositories creates new attack surfaces that bypass traditional security controls, making this vulnerability class an urgent concern for software supply chain security.
Attack Path Analysis
Attackers exploit AI coding agents by crafting malicious Git repositories with weaponized .git/config files containing core.fsmonitor commands that execute automatically when agents perform status checks. The malicious code runs with user privileges outside sandboxes before trust prompts, enabling immediate system compromise. Attackers can then escalate privileges, move laterally through development environments, establish persistent command channels, exfiltrate sensitive code and credentials, and potentially deploy supply chain attacks affecting downstream systems.
Kill Chain Progression
This analysis maps confirmed threat intelligence to the full cloud kill chain to show where defensive gaps would emerge as an attack progresses.
Initial Compromise
Description
Attacker creates malicious Git repository with weaponized .git/config containing core.fsmonitor command that executes when AI coding agent performs git status or git diff operations during startup
Related CVEs
CVE-2026-19592
CVSS 7.3Git configuration vulnerability in OpenAI Codex that allows execution of attacker-controlled code through malicious .git/config files, bypassing sandbox protections and user approval prompts.
Affected Products:
OpenAI Codex CLI – 0.102.0 through 0.130.0
OpenAI Codex Desktop for macOS – 260202.0859 through 26.513.31313
OpenAI Codex Desktop for Windows – 26.304.38 through 26.513.40821
Exploit Status:
proof of conceptCVE-2026-72718
CVSS 7Git configuration injection vulnerability in goose AI coding agent allowing arbitrary code execution through malicious core.fsmonitor settings in .git/config files.
Affected Products:
GitHub goose – < 1.44.0
Exploit Status:
proof of conceptCVE-2026-55607
CVSS 8.8Git fsmonitor execution vulnerability in Claude Code during worktree operations allowing code execution before user trust prompt acceptance.
Affected Products:
Anthropic Claude Code – < 2.1.196
Exploit Status:
proof of conceptCVE-2026-71963
CVSS 7.5Git configuration vulnerability in Hermes Agent allowing execution of attacker-controlled commands through malicious .git/config files without user approval.
Affected Products:
Nous Research Hermes Agent – 0.18.2, 0.21.0
Exploit Status:
proof of concept
MITRE ATT&CK® Techniques
Supply Chain Compromise: Compromise Software Supply Chain
Command and Scripting Interpreter: JavaScript
Hijack Execution Flow: Path Interception by PATH Environment Variable
Unsecured Credentials: Credentials In Files
Masquerading: Match Legitimate Name or Location
Exploitation for Defense Evasion
Data from Local System
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
CISA Zero Trust Maturity Model 2.0 – Application Security Controls
Control ID: Applications and Workloads - Advanced
NYDFS 23 NYCRR 500 – Application Security
Control ID: 500.12
Digital Operational Resilience Act (DORA) – Identification and Classification of ICT Risk
Control ID: Article 8
NIS2 Directive – Cybersecurity Risk Management Measures
Control ID: Article 21
PCI DSS 4.0 – Software Development Security
Control ID: 6.2.4
ISO 27001:2022 – Secure System Engineering Principles
Control ID: A.14.2.5
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Computer Software/Engineering
Critical supply-chain vulnerabilities in AI coding agents enable arbitrary code execution through malicious Git configurations, compromising developer workstations and source code integrity.
Information Technology/IT
Git fsmonitor exploitation bypasses security controls in development environments, allowing attackers to execute commands with user privileges before trust prompts appear.
Financial Services
AI agent vulnerabilities threaten secure development practices for financial applications, potentially exposing sensitive code repositories and violating compliance requirements like PCI DSS.
Health Care / Life Sciences
Healthcare development teams using vulnerable AI coding agents risk HIPAA violations through unauthorized code execution and potential exposure of protected health information systems.
Sources
- Malicious .git Configs Can Make Claude, Codex, Cursor, and Other AI Agents Run Attacker Codehttps://thehackernews.com/2026/09/malicious-git-configs-can-make-claude.htmlVerified
- OpenAI Security Advisory CVE-2026-19592https://openai.com/security/advisories/cve-2026-19592Verified
- GitHub Security Advisory GHSA-r5pp-p5r8-466rhttps://github.com/aaif-goose/goose/security/advisories/GHSA-r5pp-p5r8-466rVerified
- Manifold Security GitSpawn Researchhttps://manifoldsecurity.com/gitspawnVerified
- Sonar Source Claude Arbitrary Code Execution Analysishttps://www.sonarsource.com/blog/claude-arbitrary-code-execution/Verified
- Cobalt Red Team FSMonitor Exploitation Techniquehttps://www.cobalt.io/blog/red-team-technique-exploiting-git-fsmonitor-for-initial-accessVerified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.
Aviatrix Zero Trust CNSF would likely constrain lateral movement and data exfiltration following AI coding agent compromise by implementing workload segmentation and controlled egress policies. The attack's blast radius would be significantly reduced through east-west traffic enforcement and identity-scoped access controls.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: Initial workstation compromise would likely still occur, but CNSF visibility could enable faster detection of anomalous process execution and unexpected network connections from developer environments
Control: Zero Trust Segmentation
Mitigation: Privilege escalation scope would likely be constrained through identity-aware access controls that limit the compromised user's reach to only explicitly authorized cloud resources and development environments
Control: East-West Traffic Security
Mitigation: Lateral movement between development environments and cloud resources would likely be significantly constrained through microsegmentation policies that block unauthorized inter-workload communications
Control: Multicloud Visibility & Control
Mitigation: Command and control establishment would likely be hindered through centralized visibility across multicloud environments that could detect anomalous external communication patterns from development infrastructure
Control: Egress Security & Policy Enforcement
Mitigation: Data exfiltration attempts would likely be constrained through controlled egress policies that restrict unauthorized data transfers from development environments to external destinations
Overall impact scope would likely be reduced through the layered segmentation and egress controls that constrain both the volume of exfiltrated data and the attacker's ability to pivot across cloud infrastructure
Impact at a Glance
Affected Business Functions
- Software Development
- Code Review and Quality Assurance
- DevOps and CI/CD Pipelines
- Intellectual Property Management
Estimated downtime: 3 days
Estimated loss: $50,000
Source code repositories, proprietary algorithms, API keys and credentials embedded in development environments, internal system configurations, and potentially customer data processed by affected AI coding agents during development workflows.
Recommended Actions
Key Takeaways & Next Steps
- • Implement Cloud Native Security Fabric (CNSF) with inline enforcement to detect and block malicious Git configuration abuse and AI agent exploitation attempts in real-time
- • Deploy Zero Trust Segmentation with least privilege access controls to contain compromised developer workstations and prevent lateral movement to critical development infrastructure
- • Enable Egress Security & Policy Enforcement to monitor and control outbound traffic from development environments, blocking unauthorized data exfiltration and command channels
- • Establish Multicloud Visibility & Control to detect anomalous interactions between AI agents and cloud services, identifying suspicious automation patterns and repeated malformed requests
- • Implement Threat Detection & Anomaly Response capabilities to baseline normal AI agent behavior and alert on deviations indicating potential GitSpawn exploitation or similar supply chain attacks



