Vim and GNU Emacs: Claude Code helpfully found zero-day exploits for both
- Published
- Record updated
Summary
Researcher Hung Nguyen of AI red teaming company Calif used simple prompts to Anthropic's Claude Code to find zero-day remote code execution flaws in Vim and GNU Emacs. In Vim, Claude Code identified missing security checks (P_MLE and P_SECURE) in the tabpanel sidebar and in autocmd_add(), then produced a proof-of-concept that bypassed the Vim sandbox by getting a target to open a malicious file. A separate Emacs flaw, dating to 2018, lets opening a file inside a directory with a crafted .git/ folder execute attacker-controlled commands through Git.
Mitigation
Vim's maintainers fixed the issue, tracked as CVE-2026-34714 (CVSS 9.2), in version 9.2.0272. The GNU Emacs maintainers declined to fix the issue, which has no CVE identifier, and believe it is a Git problem; Nguyen suggests manual mitigations, but the source does not describe them.
Related items
- InfoPrompting AI to be ‘thorough’ can drive sandbox escapes, Anthropic saysSame vendor · CSO Online
- InfoDespite doom and gloom headlines, AI attacks are thin on the groundSame vendor · CSO Online
- InfoDrupal Flaw Found by Anthropic Scanner Exploited in AttacksSame vendor · SecurityWeek
- InfoCrowdStrike Accelerates the Shift to the Agentic SOCSame vendor · CrowdStrike Blog
- InfoThree LLM inflection points in twelve monthsSame vendor · Simon Willison's Weblog