PatchSiren cyber security CVE debrief
CVE-2026-47167 vim CVE debrief
A code injection vulnerability exists in s:stepmatch() in the cucumber filetype plugin (runtime/ftplugin/cucumber.vim) on Vim builds with +ruby support. Prior to version 9.2.0496, 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. This allows 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).
- Vendor
- vim
- Product
- Unknown
- CVSS
- MEDIUM 5.1
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-11
- Original CVE updated
- 2026-06-15
- Advisory published
- 2026-06-11
- Advisory updated
- 2026-06-15
Who should care
Users of Vim with +ruby support, especially those working with cucumber filetype plugins.
Technical summary
The vulnerability exists due to insufficient escaping of step-definition patterns read from .rb files. This allows an attacker to execute arbitrary Ruby and shell commands.
Defensive priority
MEDIUM
Recommended defensive actions
- Update Vim to version 9.2.0496 or later.
- Avoid using untrusted repositories with cucumber filetype plugins.
- Use caution when invoking step-jump mappings.
Evidence notes
CVE-2026-47167 has a CVSS score of 5.1 and is classified as MEDIUM severity.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-47167 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-47167
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-47167 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-47167
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/vim/vim/commit/a65a52d684bc58535ad28a4ae824d22e76399934
-
Source reference
Unverified legacy reference
URL: https://github.com/vim/vim/releases/tag/v9.2.0496
-
Source reference
Unverified legacy reference
URL: https://github.com/vim/vim/security/advisories/GHSA-4473-94jm-w5x9
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.