Vim 9.2.0405 to 9.2.1351: a crafted tags file can bypass 'tagsecure' and make netrw fetch a URL

Vim 9.2.0405 up to 9.2.1351 lets a crafted tags file in a cloned repository bypass the 'tagsecure' check, so jumping to a tag can make netrw fetch an attacker's URL. Update Vim to 9.2.1352 or later.

Severity
low
Product
Vim
CVE
CVE-2026-134832
Affected versions
Vim 9.2.0405 up to but not including 9.2.1352.
Fixed in
Vim 9.2.1352
Published
Last updated

Vim checks URLs in tags files against its 'tagsecure' option, so that jumping to a tag does not open a remote file. In Vim 9.2.0405 up to 9.2.1351 that check can be evaded: when a tags file entry carries an escaped URL, expand_tag_fname() does not recognise it as a URL. A crafted tags file, for example one committed to a repository a user clones, can then make the netrw plugin fetch an attacker-controlled URL when the user jumps to a tag, and the request can leak the values of environment variables. The user has to open the project and jump to the tag.

The Vim project rates the issue Low (advisory GHSA-j6wv-2276-36jq). The CNA (VulnCheck) scores it 4.8 (CVSS 4.0) and 3.3 (CVSS 3.1). This advisory uses the vendor's rating.

Who is affected

Windows hosts with Vim 9.2.0405 up to 9.2.1351 installed. netrw is part of the runtime files the Windows installer ships. Vim 9.1 and earlier 9.2 patch levels are not affected according to the CVE record.

How to check a host

Open Settings, Apps, Installed apps and look at the "Vim 9.2" entry, or run vim --version and read the "Included patches" line. The Windows installer writes the version as 9.2 followed by the four-digit patch number (for example 9.2.1352), the same as the vendor.

How to fix

Install Vim 9.2.1352 or later. The vendor's Windows builds are published at github.com/vim/vim-win32-installer (9.2.1420 on 2026-11-28), or run winget upgrade --id vim.vim. Until then, do not jump to tags in tags files from untrusted repositories.

How Openness reports it

Openness reads the installed Vim version on the Windows hosts it scans and reports CVE-2026-134832 with this advisory on every host whose version is from 9.2.0405 up to 9.2.1351. NVD has not analysed this CVE yet (status Awaiting Analysis, no affected configurations on 2026-11-30), so without this advisory the scan would not find it.

References

Check your servers. Openness Vulnerability Scanner logs in to your Linux and Windows servers and lists the installed versions that are affected. Download it free.

All advisories · This page as Markdown

Star on GitHub