What happened
Manifold Security disclosed eight security flaws across seven command-line AI coding agents in which a repository's own Git configuration names a command the agent runs on the developer's machine. Exploitation requires the repository to arrive before the agent is pointed at it. The command executes as the user, outside the agent's sandbox and without an approval prompt. Four of the eight flaws were unpatched at publication while the other four had fixes shipped.
Why it matters
This is a novel agent-execution attack class in the same family as SessionStart/.claude/.cursor config injection: a repo you clone or receive can drive code execution on the developer workstation with no prompt injection, no user click, and no approval. Because agents read git metadata in the background, every cloned repository is a potential code-execution channel.
Attack vector
A malicious or compromised repository's own Git configuration names a command (via .git/config, Git hooks, or a configured pager/diff/editor) that the agent runs when it background-runs git to read the project — before the user types a prompt. Command executes as the current OS user, outside the agent sandbox, without an approval prompt.
Affected systems
Seven command-line AI coding agents; eight disclosed flaws (lead CVE-2026-72718, plus CVE-2026-71963, CVE-2026-55607 and three others). Four of the eight unpatched at publication; the four patched had fixes shipped.
Mitigation
Apply the shipped fixes for the four patched flaws; for unpatched ones disable agent auto-run of terminal commands / restrict git-permitted command execution, and audit .git/config and hooks before cloning into an agent session. Source: Manifold Security via morningstarsecurity.com listing.