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.

Affected Software

1 affected component
vim Vim<9.2.0840

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Vim (netrwPlugin.vim / netrw.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 NVD·04:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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