Skip to content
VulniPulse
Advisory severityHigh7.8Red Hat Linux

High [CVE-2026-55895] Arbitrary code execution via Vimscript code injection in netrw plugin

This high-severity Red Hat Linux advisory covers CVE-2026-55895.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2026-55895 Source published Source updated

VulniPulse record published Record updated

Affected products & platforms
Red Hat LinuxUnclassified
Open source advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

Vim is an open source, command line text editor. Prior to 9.2.0663, a Vimscript code injection vulnerability exists in s:NetrwLocalRmFile() in the netrw plugin (runtime/pack/dist/opt/netrw/autoload/netrw.vim) when deleting a local file from the browser.

A filename derived from the buffer's directory listing is interpolated into an Ex command line passed to:execute with only the backslash character escaped, allowing a crafted filename containing a bar (|) to terminate the intended command and execute arbitrary Vimscript, including shell commands via:call system() and:!.

This vulnerability is fixed in 9.2.0663. A flaw was found in Vim, specifically within the netrw plugin.

A local user could exploit a Vimscript code injection vulnerability by attempting to delete a specially crafted local file from the browser. This could lead to arbitrary code execution on the affected system.

This is an Important vulnerability in Vim's netrw plugin that could lead to arbitrary code execution. This risk is mitigated by the requirement for local user interaction and a specific sequence of actions.

Red Hat severity: Important — CVSS 7.8 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H). Weakness: CWE-94.

Affected versions
  • < 9.2.0663

Official advisory · high-confidence parse· fetched 21 days ago·verify at source

Fixed versions
  • 9.2.0663

Official advisory · high-confidence parse· fetched 21 days ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • To mitigate this vulnerability, users should avoid deleting untrusted or suspicious files directly from Vim's netrw file browser. Exercise caution when interacting with files from unknown or untrusted sources within the editor environment.

Official advisory · high-confidence parse· fetched 21 days ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.