Skip to main content
← All vulnerabilities
CVE-2026-44656

Vim: OS Command Injection via 'path' completion

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.2.0435
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Vim is an open source, command line text editor. Prior to version 9.2.0435, an OS command injection vulnerability exists in Vim's :find command-line completion. When the path option contains backtick-enclosed shell commands, those commands are executed during file name completion. Because the path option lacks the P_SECURE flag, it can be set from a modeline, allowing an attacker who controls the contents of a file to execute arbitrary shell commands when the user opens that file in Vim and triggers :find completion. This issue has been patched in version 9.2.0435.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • vim vim

    fixed in 9.2.0435

References 4

GitHub · vim/vim

GitHub · CryingN/CVE-2026-44656