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

Published Aug 11, 2026
·
Updated

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:netrwmenuescape, EXTRLBAR, 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.

Other sources

Vim: Arbitrary Code Execution via Netrw Menu Construction

— Microsoft

Affected Software

10 affected componentsFixes available
vim Vim<9.2.0840
Microsoft azl3 vim 9.2.0782-1<9.2.0957-1
9.2.0957-1
vim Vim<9.2.0840
debian/vim*
debian/vim<2:9.1.1230-2+deb13u1
2:9.1.1230-2+deb13u1
debian/vim<2:9.2.0858-1
2:9.2.0858-1
alpine/vim<9.2.0854-r0
9.2.0854-r0
alpine/vim<9.2.0843-r0
9.2.0843-r0
IBM API Connect V12 OnPrem<=v12.1.0.0 - v12.1.1.2
debian/vim<=2:9.0.1378-2+deb12u2, <=2:9.1.1230-2
2:9.1.1230-2+deb13u22:9.2.0858-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.2.0957-1
  2. Upgrade

    Upgrade debian/vim to a version that resolves this vulnerability.

    Fixed in 2:9.1.1230-2+deb13u1
  3. Upgrade

    Upgrade debian/vim to a version that resolves this vulnerability.

    Fixed in 2:9.2.0858-1
  4. Upgrade

    Upgrade alpine/vim to a version that resolves this vulnerability.

    Fixed in 9.2.0854-r0
  5. Upgrade

    Upgrade alpine/vim to a version that resolves this vulnerability.

    Fixed in 9.2.0843-r0
  6. Upgrade

    Upgrade debian/vim to a version that resolves this vulnerability.

    Fixed in 2:9.1.1230-2+deb13u2Fixed in 2:9.2.0858-1
  7. Upgrade

    Upgrade Vim to a version that resolves this vulnerability.

    Fixed in 9.2.0840

Event History

Aug 11, 2026
CVE Published
via MITRE·03:41 PM
Data Sourced
via MITRE·03:41 PM
DescriptionWeakness
Data Sourced
via Red Hat·04:11 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·04:17 PM
DescriptionSeverityAffected Software
Aug 15, 2026
Data Sourced
via Microsoft·01:49 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:49 AM
Affected Software
Oct 8, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-73078?

CVE-2026-73078 has a risk score of 77, indicating it is a high severity vulnerability.

2

How do I fix CVE-2026-73078?

To mitigate CVE-2026-73078, update Vim to version 9.2.0840 or later as it contains the necessary security fixes.

3

What can exploit CVE-2026-73078?

CVE-2026-73078 can be exploited through user-controlled directory paths inserted into the Netrw menu commands.

4

What type of vulnerability is CVE-2026-73078?

CVE-2026-73078 is classified as a command injection vulnerability.

5

In which software is CVE-2026-73078 found?

CVE-2026-73078 is found in the Vim text editor versions prior to 9.2.0840.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203