Vulnerability Description
Vim is an open source, command line text editor. Prior to version 9.2.0496, a code injection vulnerability exists in s:stepmatch() in the cucumber filetype plugin (runtime/ftplugin/cucumber.vim) on Vim builds with +ruby support. Step-definition patterns read from .rb files under the repository's features/*/ or stories/*/ directories are embedded into a Ruby Kernel.eval argument without sufficient escaping, allowing a crafted pattern in an attacker-controlled repository to execute arbitrary Ruby (and through it arbitrary shell commands) when the user invokes a step-jump mapping ([d, ]d). This issue has been patched in version 9.2.0496.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Vim | Vim | < 9.2.0496 |
Related Weaknesses (CWE)
References
- https://github.com/vim/vim/commit/a65a52d684bc58535ad28a4ae824d22e76399934Patch
- https://github.com/vim/vim/releases/tag/v9.2.0496Product
- https://github.com/vim/vim/security/advisories/GHSA-4473-94jm-w5x9Vendor Advisory
FAQ
What is CVE-2026-47167?
CVE-2026-47167 is a vulnerability with a CVSS score of 5.3 (MEDIUM). Vim is an open source, command line text editor. Prior to version 9.2.0496, a code injection vulnerability exists in s:stepmatch() in the cucumber filetype plugin (runtime/ftplugin/cucumber.vim) on Vi...
How severe is CVE-2026-47167?
CVE-2026-47167 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-47167?
Check the references section above for vendor advisories and patch information. Affected products include: Vim Vim.