Habr•September 16, 2026•🇷🇺Translated from Russian

GitSpawn Exposes Persistent Git Config Execution Risks in Coding Agents

Manifold Security has published GitSpawn, a report uncovering eight vulnerabilities across seven coding agents that allow arbitrary code execution simply by opening a received folder.

The attack leverages Git's core.fsmonitor configuration key stored in .git/config. This setting defines a command that Git automatically runs during index refreshes triggered by operations such as git status or git diff. Coding agents invoke these commands in the background immediately after opening a directory to build context, executing the payload before any user approval or prompt.

The researcher demonstrated the exploit by setting core.fsmonitor to a malicious script and confirming execution with a single git status command. Payloads ran even in the absence of any explicit user action beyond opening the folder.

Partial Patches Leave Broader Risks

Vendors responded with targeted fixes. Claude Code closed the core.fsmonitor vector in version 2.1.196, and similar patches were applied to Codex, Cursor, and Goose. However, these mitigations only prevent the agent from invoking Git with dangerous configuration values. Manual execution of git status or integration with build scripts, editors, and CI systems still triggers the payload.

Additional issues compound the problem. Manifold Security reported a second bypass path in Claude Code that remained open on version 2.1.252. Agents including Qwen Code, Grok Build, and Hermes Agent stayed unpatched as of the report date. A separate vector involving nested bare repositories was assigned CVE-2026-45033 and affected GitHub Copilot CLI until version 1.0.43.

The class of vulnerability is not new. VS Code addressed similar risks in 2021 through workspace trust prompts, yet the arrival of autonomous coding agents effectively reset those protections.

Stroq Tool for Pre-Opening Inspection

To address the gap, the researcher released Stroq, an open-source Apache-2.0 tool that scans repositories for dangerous settings before they are accessed. The command checks .git/config for executable values, .gitattributes, .husky hooks, postinstall scripts, and nested bare repositories.

Environment variable overrides can also neutralize the vectors at runtime by forcing core.fsmonitor to false and disabling automatic bare repository discovery. The tool is intended for use in pre-commit hooks and CI pipelines.

Related articles

Habr•Vulnerabilities & Exploits

Critical NFS2ROOT Vulnerability CVE-2026-99362 in Linux Kernel nfsd Allows Unauthenticated Remote Root Access

Researchers from OpenSec have disclosed NFS2ROOT (CVE-2026-99362), a critical vulnerability in the Linux kernel's NFS server module (nfsd) that enables remote code execution with kernel privileges without any authentication. The flaw affects systems running NFSv4.1 and NFSv4.2 and carries a CVSS score of 9.8. Exploitation requires only a single TCP connection to port 2049 and stems from a buffer overflow in the session slot caching mechanism of nfsd4_sequence(). A working exploit has been demonstrated that achieves kernel memory leaks, ASLR bypass, and arbitrary code execution via a crafted callback handler. The issue has existed since Linux 3.16 and is fixed in kernels 6.12.117, 6.18.61, 7.3.2, and 7.4-rc1. Administrators are advised to block external access to TCP port 2049 or disable the vulnerable protocol versions until patches are applied.

Habr•Vulnerabilities & Exploits

Anthropic Uses Claude to Discover Theoretical Attack on Post-Quantum Standards ML-KEM and ML-DSA

Anthropic has published research showing that its Claude models helped identify a new algorithm capable of solving the underlying lattice problems in ML-KEM and ML-DSA faster than previous methods on very large key sizes. The attack targets the Module-LWE problem and offers only asymptotic improvements that remain slower than existing techniques when applied to real-world parameter sets currently deployed by Amazon, Signal, and the NSA. Independent experts from the Cryptography Incident Review Group reviewed the findings and concluded that the method does not pose an immediate practical threat but represents an early warning signal for structured lattices. Scott Aaronson and Bart Preneel described the result as theoretically significant yet requiring further breakthroughs before any real-world impact on post-quantum cryptography becomes feasible. Anthropic recommends continuing migration to post-quantum standards using hybrid configurations that allow rapid algorithm replacement if future vulnerabilities emerge.

Habr•Vulnerabilities & Exploits

Anthropic Set to Publish Quantum Algorithm Breaking RingLWE and ModuleLWE Assumptions

Anthropic is preparing to release a paper titled 'Quasi-Polynomial Quantum Algorithms for Integral Lattices and Small-Rank Modular Lattices over Cyclotomic Rings That Are Powers of Two'. The work demonstrates a quasi-polynomial quantum algorithm capable of solving RingLWE and ModuleLWE problems that underpin several NIST post-quantum cryptography standards. Charles Hoskinson previously tweeted a cryptographic hash of the title to signal prior knowledge, while Michael DeBono later reconstructed the full title using Gemini and Fable. Scott Aaronson had already discussed related rumors in his blog, confirming he heard the claims but could not verify every detail. The attack requires a scalable quantum computer and currently features large constants that render it impractical, yet the result still forces reconsideration of structured lattice assumptions. NIST standards finalized in 2022 that rely on these problems now face renewed scrutiny, potentially pushing migration toward unstructured LWE variants with larger key sizes.

Security NEXT•Vulnerabilities & Exploits

Cacti Network Monitoring Tool Patched for SQL Injection Vulnerability Enabling OS Command Execution

The open-source network monitoring tool Cacti has been found vulnerable to an SQL injection flaw that allows attackers to manipulate database operations through crafted user settings. The vulnerability affects version 1.2.31 and earlier releases, enabling privilege escalation from standard user rights to administrator level and subsequent execution of operating system commands. A security advisory was published on November 29, 2026, identifying the issue as GHSA-5x85-g4vc-gq53 with a CVSS v3.1 base score of 8.8 rated High. Proof-of-concept code has been released publicly, and an exploitation technique named 4HTTP2SHELL was disclosed on November 26. Security firm Previdian observed SQL injection attempts against honeypots as early as November 27, confirming active exploitation in the wild. A fix is scheduled for the upcoming 1.2.32 release, while immediate mitigations include disabling guest access and restricting web interface exposure.