# CVE-2026-134832: Vim 9.2.0405 before 9.2.1352 tagsecure Bypass via Escaped URL in Tags File

> A crafted tags file in a cloned repository can make Vim's tagsecure check bypass, leaking environment variables when users jump to tags.

- **Severity:** Medium 4.8 (`CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Harmful if only installed:** No
- **Needs a specific call:** No
- **Fix available:** Yes
- **Published:** 22 Nov 2026
- **Updated:** 22 Nov 2026
- **Also known as:** AZL-115976, DEBIAN-CVE-2026-134832, DHI-yyc3-ehw3-r32l-kq52, ECHO-b346-8f45-817d, GHSA-4m4q-9qcr-f7xg, GHSA-j6wv-2276-36jq, RHSA-2026:102875, UBUNTU-CVE-2026-134832

## What is CVE-2026-134832?

CVE-2026-134832 is a medium-severity security feature bypass vulnerability in Vim, published on 22 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

Vim 9.2.0405 before 9.2.1352 contains a security bypass vulnerability in expand_tag_fname() that allows attackers to evade 'tagsecure' URL checks by escaping URLs in tags file entries. Attackers can supply a crafted tags file in a cloned repository so that jumping to a tag makes netrw fetch an attacker-controlled URL leaking environment variable values.

Weakness: CWE-180 (Incorrect Behavior Order: Validate Before Canonicalize)

## Which versions are affected by CVE-2026-134832?

1 open source package ship an affected version, including vim/vim.

Only installations with a non-default setting turned on are exposed.


| Package | Ecosystem | PURL | Affected | Fixed in |
| --- | --- | --- | --- | --- |
| `vim/vim` | GitHub | `pkg:github/vim/vim` | From 9.2.0405 | 9.2.1352 |
| `vim` | Red Hat:hummingbird:1 | `pkg:rpm/redhat/vim` | All versions | 2:9.2.1302-2.1.hum1 |
| `vim-X11` | Red Hat:hummingbird:1 | `pkg:rpm/redhat/vim-X11` | All versions | 2:9.2.1302-2.1.hum1 |
| `vim-common` | Red Hat:hummingbird:1 | `pkg:rpm/redhat/vim-common` | All versions | 2:9.2.1302-2.1.hum1 |
| `vim-data` | Red Hat:hummingbird:1 | `pkg:rpm/redhat/vim-data` | All versions | 2:9.2.1302-2.1.hum1 |
| `vim-default-editor` | Red Hat:hummingbird:1 | `pkg:rpm/redhat/vim-default-editor` | All versions | 2:9.2.1302-2.1.hum1 |
| `vim-enhanced` | Red Hat:hummingbird:1 | `pkg:rpm/redhat/vim-enhanced` | All versions | 2:9.2.1302-2.1.hum1 |
| `vim-filesystem` | Red Hat:hummingbird:1 | `pkg:rpm/redhat/vim-filesystem` | All versions | 2:9.2.1302-2.1.hum1 |
| `vim-minimal` | Red Hat:hummingbird:1 | `pkg:rpm/redhat/vim-minimal` | All versions | 2:9.2.1302-2.1.hum1 |
| `xxd` | Red Hat:hummingbird:1 | `pkg:rpm/redhat/xxd` | All versions | 2:9.2.1302-2.1.hum1 |

Status by vendor (upstream, then each distribution release and vendor build):

| Who | Release | Status | Packages | Fixed in |
| --- | --- | --- | --- | --- |
| Red Hat | hummingbird:1 | fixed | `vim`, `vim-X11`, `vim-common` and 6 more | 2:9.2.1302-2.1.hum1 |

## How do I fix CVE-2026-134832?

Upgrade vim/vim to 9.2.1352 or later.

## Is CVE-2026-134832 being exploited?

There is no known exploitation of CVE-2026-134832 in the wild and no public exploit code.

Public exploit code:

- Vim <9.2.1352: expand_tag_fname checks path_with_url before ExpandOne unescapes http:\/\/ — crafted tags file bypasses tagsecure and netrw fetches attacker URL with expanded env vars. Real compiled binaries 1-1351 vs 1-1352: E429 with $HOME leak vs E1576 (github_poc): https://github.com/googlesky/CVE-2026-134832

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-134832 and fix it if it is affected.

What it is: CVE-2026-134832 is a medium-severity security feature bypass vulnerability in Vim, published on 22 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2026-134832 in the wild and no public exploit code.
Exposure: Only installations with a non-default setting turned on are exposed.

Affected packages and fixed versions:
- vim/vim (GitHub): affected from 9.2.0405; fixed in 9.2.1352

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-134832/ (Markdown: https://insights.sbomify.com/CVE-2026-134832/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-134832
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-134832
- OSV: https://osv.dev/vulnerability/CVE-2026-134832

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-134832/
Summaries are generated and may contain mistakes; the official description above is the record.
