---
id: CVE-2026-73078
title: 'Vim is an open source, command line text editor'
summary: >-
  Vim is an open source, command line text editor. Prior to 9.2.0840,
  runtime/plugin/netrwPlugin.vim loads netrw and
  runtime/pack/dist/opt/netrw/autoload/netrw.vim constructs Bookmarks, History,
  and Targets menu entries by interpolating at…
severity: high
cvss: 8.6
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'
cwe:
  - CWE-77
  - CWE-184
vendor: vim
product: vim
affected:
  - vim < 9.2.0840
published: '2026-08-11'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T20:44:04.357'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73078'
references:
  - url: 'https://github.com/vim/vim/commit/29c6fd090d4520592f8be7d9ec81190edf25ef69'
    label: security-advisories@github.com
  - url: 'https://github.com/vim/vim/security/advisories/GHSA-rcr7-f3wr-22r2'
    label: security-advisories@github.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-73078.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-73078'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2514058'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-73078'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73078'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68711'
  - url: 'https://access.redhat.com/errata/RHSA-2026:66336'
  - url: 'https://access.redhat.com/errata/RHSA-2026:66348'
  - url: 'https://access.redhat.com/errata/RHSA-2026:66366'
  - url: 'https://access.redhat.com/errata/RHSA-2026:67956'
  - url: 'https://access.redhat.com/errata/RHSA-2026:70818'
  - url: 'https://access.redhat.com/errata/RHSA-2026:71603'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-08-11T16:56:42.968042Z'
cvssSource: cna
ingestedAt: '2026-09-12T05:50:14.577Z'
epss: 0.00336
epssPercentile: 0.24217
patched:
  - enterprise_linux_server_v_7_els
  - enterprise_linux_appstream_v_10
  - enterprise_linux_appstream_v_8
  - enterprise_linux_appstream_v_9
  - enterprise_linux_baseos_v_10
  - enterprise_linux_baseos_v_8
  - enterprise_linux_baseos_v_9
scores:
  cna: 8.6
  vendor: 8.8
---

## Overview

Vim is an open source, command line text editor. Prior to 9.2.0840, runtime/plugin/netrwPlugin.vim loads netrw and runtime/pack/dist/opt/netrw/autoload/netrw.vim constructs Bookmarks, History, and Targets menu entries by interpolating attacker-controlled directory paths into executed :menu commands. s:NetrwBookmarkMenu(), s:NetrwTgtMenu(), g:netrw_menu_escape, EX_TRLBAR, and netrw#MakeTgt() fail to neutralize the | command separator or single quotes at five construction sites, allowing a crafted path browsed or bookmarked in GUI Vim to execute arbitrary Ex and operating-system commands. This issue is fixed in version 9.2.0840.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2026:68711** · Red Hat · fixed in: Red Hat Enterprise Linux Server (v. 7 ELS) · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68711)
- **RHSA-2026:66336** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux BaseOS (v. 10) · released 2026-09-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:66336)
- **RHSA-2026:66348** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8), Red Hat Enterprise Linux BaseOS (v. 8) · released 2026-09-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:66348)
- **RHSA-2026:66366** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9), Red Hat Enterprise Linux BaseOS (v. 9) · released 2026-09-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:66366)
- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 6 · no fix planned: Red Hat Enterprise Linux 6 · updated 2026-09-24 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-73078.json)
- **RHSA-2026:67956** · Red Hat · fixed in: Red Hat Update Infrastructure 5 · released 2026-09-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:67956)
- **RHSA-2026:70818** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v.9.6), Red Hat Enterprise Linux BaseOS EUS (v.9.6) · released 2026-09-23 · [advisory](https://access.redhat.com/errata/RHSA-2026:70818)
- **RHSA-2026:71603** · Red Hat · fixed in: Red Hat Update Infrastructure 5 · released 2026-09-24 · [advisory](https://access.redhat.com/errata/RHSA-2026:71603)
