CVE-2026-47167
mediumpriority · track · 21EPSS 0.001 · 3 %ileDEEUFRRUUSEPSS · scored 2026-10-28
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1.2–6.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (13)
Products and version ranges known to be affected.
- Red Hat OpenShift Container Platformall versionscert_bundDEcpe:/a:redhat:openshift:container_platform
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1570vim: Mehrere Schwachstellen ermöglichen CodeausführungDeutsch2026-05-17csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in vim ausnutzen, um beliebigen Programmcode auszuführen.
- CERTFR-2026-AVI-1336Multiples vulnérabilités dans les produits IBMFrançais2026-10-16vendor · certfrFR
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://github.com/vim/vimPatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2026-47167cnnvd
- https://github.com/vim/vim/commit/a65a52d684bc58535ad28a4ae824d22e76399934enisa_euvd
- https://github.com/vim/vim/releases/tag/v9.2.0496enisa_euvd
- https://github.com/vim/vim/security/advisories/GHSA-4473-94jm-w5x9enisa_euvd
- https://github.com/vim/vim/commit/a65a52d684bc58535ad28a4ae824d22e76399934Patchnvd
- https://github.com/vim/vim/releases/tag/v9.2.0496Productnvd
- https://github.com/vim/vim/security/advisories/GHSA-4473-94jm-w5x9Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan