Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
endpoint-software-vulnerabilitywidely-deployed-product-advisoryinitial-access-methodproof-of-concept-release

Vim Fixed Two Command Injection Flaws in Tag Handling and netrw

Updated 2mo agoFirst seen Apr 15, 20263 sources

The Vim project disclosed and patched two medium-severity command injection vulnerabilities that could let attackers run shell commands as the local Vim user. One flaw, fixed in v9.2.0357, affected tag navigation in versions before that release: Vim passed the filename field from a tags file through wildcard expansion, allowing backtick expressions in a malicious tag entry to trigger command execution when a user invoked tag lookups such as :tag, Ctrl-], or vim -t. Because Vim checks for tags files in the working directory by default, a repository-hosted malicious tags file was identified as a plausible delivery path.

A second flaw, fixed in v9.2.0383, affected Vim's bundled netrw plugin in versions earlier than that patch. The bug allowed crafted sftp:// or file:// URLs to influence temporary filenames derived from attacker-controlled suffixes, which could then be passed to external programs such as sftp or configured file handlers without proper escaping, leading to arbitrary OS command execution when a user opened a malicious URL. The netrw issue was reported by Joshua Rogers of AISLE Research Team, and both disclosures said CVE assignments had been requested but were not yet available at publication time.

Share:
Vim Fixed Two Command Injection Flaws in Tag Handling and netrw
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

2 events from the most recent confirmed update back to the earliest known activity.

2 EVENTS
Apr 21, 20262mo ago

Vim discloses and fixes netrw command injection in patch v9.2.0383

Vim disclosed a medium-severity OS command injection vulnerability in the bundled netrw plugin affecting versions earlier than 9.2.0383. Reported by Joshua Rogers of AISLE Research Team, the flaw involved crafted URLs leading to unsafe temporary filenames, and the project published a GitHub Security Advisory and fixing commit in patch v9.2.0383.

Apr 15, 20262mo ago

Vim fixes tag filename command injection in patch v9.2.0357

A command injection flaw in Vim's handling of tag filenames was disclosed as affecting versions prior to 9.2.0357. The issue could allow shell command execution via backtick expansion when a user navigates tags from a malicious tags file, and Vim fixed it in patch v9.2.0357.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

3 LINKEDOpen in app
Affected products
2 linked
VimVim
Organizations
1 linked
Aisle Research
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.

Vim Fixed Two Command Injection Flaws in Tag Handling and netrw | Mallory