CVE-2026-134832
Description
A flaw was found in Vim. An attacker can provide a specially crafted tags file containing an escaped web address (URL) within a repository. When a user navigates to a tag from this file, Vim fails to properly enforce URL security checks prior to variable expansion, causing the editor to initiate an outbound network request. This flaw can lead to information disclosure by exposing the values of local environment variables to an attacker-controlled server.
Statement
This vulnerability is rated as having a Low severity for Red Hat products because exploitation requires significant user interaction within an untrusted repository, cannot achieve arbitrary code execution, and only exposes specific environment variables if their names are already targeted by an attacker. In typical Red Hat Enterprise Linux environments, Vim is run interactively as a local text editor, limiting the scope of impact to the interactive user's session privileges. An attacker must persuade a user to open a repository with a maliciously crafted tags file and navigate to an entry that triggers an outbound network request through the built-in netrw plugin.
Mitigation
Disable the netrw plugin in Vim configuration to prevent remote URL requests, or avoid processing tags files from untrusted repositories.
To disable the netrw plugin globally or for an individual user, add the following lines to `/etc/vimrc` or `~/.vimrc`:
vim
let g:loaded_netrw = 1
let g:loaded_netrwPlugin = 1
Caveats:
Disabling netrw prevents Vim from opening remote URLs and disables the built-in directory browser. As an operational precaution, avoid jumping to tags defined in tags files from untrusted or unverified source repositories.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 3.3 | N/A | 3.3 |
| Attack Vector | Local | N/A | Local |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | Required | N/A | Required |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | Low | N/A | Low |
| Integrity Impact | None | N/A | None |
| Availability Impact | None | N/A | None |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
cve.org: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Understanding the Weakness (CWE)
Access Control,Integrity
Technical Impact: Bypass Protection Mechanism; Execute Unauthorized Code or Commands
An attacker could bypass the protection mechanism by including dangerous inputs that are only produced after the modification (such as canonicalization and cleansing). This can be used to launch various attacks including injection, executing arbitrary code, or causing other unintended behavior.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.