# CVE-2026-73078: Vim: Arbitrary Code Execution via Netrw Menu Construction

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-08-11T15:41:08.048Z
- Modified: 2026-10-06T19:25:03.687Z
- Weaknesses: CWE-77, CWE-184
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- vim vim: < 9.2.0840; before 9.2.0840

## Every score

- GitHub_M: CVSS:4.0 8.6 High `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/vim/vim/security/advisories/GHSA-rcr7-f3wr-22r2> (patch, vendor-advisory)
- <https://github.com/vim/vim/commit/29c6fd090d4520592f8be7d9ec81190edf25ef69> (patch)

## Sources

- CVE List: [CVE-2026-73078](https://www.cve.org/CVERecord?id=CVE-2026-73078), CVE Terms of Use, modified 2026-08-11
- NVD: [CVE-2026-73078](https://nvd.nist.gov/vuln/detail/CVE-2026-73078), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-73078 · Whole record: https://cve.day/CVE-2026-73078.json · Rebuilt by cve.day 2026-11-25T22:59:32.274Z
