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-advisory

Command Injection in Vim tar.vim Lets Crafted .tgz Filenames Execute Shell Commands

Updated 28d agoFirst seen May 14, 20262 sources

Vim disclosed a medium-severity command injection flaw in its tar.vim plugin, tracked as CVE-2026-46483 and GHSA-2fpv-9ff7-xg5w, affecting versions earlier than 9.2.479. The bug is in tar#Vimuntar() in runtime/autoload/tar.vim, where .tgz archive filenames are passed to shell commands such as gunzip and gzip -d using shellescape() without the required special handling, allowing Vim command-line special-character expansion on Unix-like systems.

A successful attack can execute arbitrary shell commands with the privileges of the user running Vim if a victim has the tar plugin enabled, has a malicious archive on disk, and manually runs the non-routine :Vimuntar command. The issue was reported and analyzed by Aisle Research, disclosed by Christian Brabandt, and fixed in Vim patch v9.2.479.

Share:
Command Injection in Vim tar.vim Lets Crafted .tgz Filenames Execute Shell Commands
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

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

3 EVENTS
May 14, 20261mo ago

Vim vulnerability CVE-2026-46483 is publicly disclosed

Christian Brabandt publicly disclosed the medium-severity vulnerability as CVE-2026-46483 and GHSA-2fpv-9ff7-xg5w. Advisory details explained that crafted .tgz filenames could trigger arbitrary shell command execution in the context of the Vim user.

Vim fixes CVE-2026-46483 in patch v9.2.479

Vim addressed the tar.vim command injection vulnerability in patch v9.2.479. Exploitation required a crafted archive filename, the tar plugin to be enabled, and a user to manually invoke the :Vimuntar command.

Aisle Research reports and analyzes command injection in Vim tar.vim

Aisle Research identified a command injection flaw in Vim's tar plugin affecting versions earlier than 9.2.479. The issue stems from tar#Vimuntar() using shellescape() without the special flag when handling .tgz archive filenames on Unix-like systems.

LINKED ENTITIES

Related entities

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

2 LINKEDOpen in app
Affected products
1 linked
Vim
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.