CVE-2026-134832 in Viminfo

Summary

by MITRE • 11/23/2026

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.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/23/2026

The vulnerability identified in Vim versions prior to 9.2.1352 represents a critical security bypass within the text editor's tag navigation functionality, specifically affecting the expand_tag_fname function. This flaw allows malicious actors to circumvent the 'tagsecure' setting, which is designed to restrict file access and network requests to safe or predefined locations. By exploiting this weakness, an attacker can manipulate how URLs embedded in tags files are processed during jump operations. The core technical issue lies in the insufficient validation of URL formats within tag entries, enabling attackers to inject crafted payloads that escape standard security checks intended to prevent unauthorized external resource fetching.

The operational impact of this vulnerability is significant for developers and users who rely on Vim's integrated development features, particularly those working with cloned repositories containing auto-generated or third-party tags files. When a user attempts to jump to a tag defined in such a file, the editor may inadvertently trigger netrw, its built-in network resource handling module, to fetch content from an attacker-controlled URL. This action is not merely a local file access issue but involves active outbound network communication initiated by the application itself under the guise of legitimate navigation tasks.

The primary consequence of this exploitation vector is the potential leakage of sensitive environment variable values and other contextual data associated with the user's session or system configuration. Since netrw fetches resources based on the crafted URL, an attacker can configure their server to log request headers, query parameters, or other metadata that inadvertently reveal private information about the victim's environment. This constitutes a form of cross-site scripting-like behavior within a desktop application context, where trust in local file structures is abused to initiate external network interactions without explicit user consent for each individual fetch operation.

From a classification perspective, this vulnerability aligns with CWE-20 Improper Input Validation and CWE-918 Server-Side Request Forgery (SSRF) principles, as the application fails to properly validate input data before using it in security-critical decisions involving network access. In terms of attack tactics, this behavior corresponds to ATT&CK technique T1567 Exfiltration Over Web Service, where data is exfiltrated through legitimate web protocols and services that may bypass traditional perimeter defenses due to their trusted nature within the application's operational context.

Mitigation strategies for this vulnerability primarily involve updating Vim to version 9.2.1352 or later, which includes patches addressing the input validation logic in expand_tag_fname(). For environments where immediate patching is not feasible, users should exercise extreme caution when opening tags files from untrusted sources or cloned repositories that may contain maliciously crafted entries. Additionally, configuring netrw to restrict outbound connections or disabling tag-based navigation features for external resources can provide a layer of defense against exploitation until the software update is applied. Security teams should also monitor network logs for unusual outbound requests originating from Vim processes as an indicator of potential compromise attempts targeting this specific flaw.

Responsible

VulnCheck

Reservation

11/22/2026

Disclosure

11/23/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!