Vim 9.2.0405 before 9.2.1352 tagsecure Bypass via Escaped URL in Tags File
- State
- Published
- Severity
- 4.8 Medium
- Published
- Nov 22, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 22, 2026
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.
| Product | Versions |
|---|---|
| Vim Vim | 9.2.0405 to before 9.2.1352 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | VulnCheck | |
| 3.1 | 3.3 Low | VulnCheck |
Weaknesses
- CWE-180 Incorrect Behavior Order: Validate Before Canonicalize
References
- GitHub Security Advisory (GHSA-j6wv-2276-36jq)Vendor Advisory
- https://github.com/vim/vim/commit/8da4660cf4068e6812b4eacdf78c8b05c7774d9aPatch
- Vim v9.2.1352 Release NotesRelease Notes
- https://github.com/vim/vim/blob/v9.2.1351/src/tag.c#L4180-L4205Technical Details
- VulnCheck Advisory: Vim 9.2.0405 before 9.2.1352 tagsecure Bypass via Escaped URL in Tags FileThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.