CVE-2026-46483: Vim: Command injection in tar#Vimuntar via missing shellescape {special} flag

Published May 15, 2026
·
Updated

Last updated 9 June 2026

Other sources

Vim is an open source, command line text editor. Prior to 9.2.0479, a command injection vulnerability exists in tar#Vimuntar() in runtime/autoload/tar.vim when decompressing .tgz archives on Unix-like systems. The function builds :!gunzip and :!gzip -d commands using shellescape(tartail) without the {special} flag, allowing a crafted archive filename to trigger Vim cmdline-special expansion and execute shell commands in the user's context. This vulnerability is fixed in 9.2.0479.

MITRE

Vim: Command injection in tar#Vimuntar via missing shellescape {special} flag

Microsoft

Affected Software

4 affected componentsFixes available
vim Vim<9.2.0479
vim Vim<9.2.0479
Microsoft azl3 vim 9.2.0392-1
debian/vim<=2:8.2.2434-3+deb11u1, <=2:8.2.2434-3+deb11u3, <=2:9.0.1378-2+deb12u2, <=2:9.1.1230-2
2:9.2.0524-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/vim to a version that resolves this vulnerability.

    Fixed in 2:9.2.0524-1
  2. Upgrade

    Upgrade Vim to a version that resolves this vulnerability.

    Fixed in 9.2.0479

Event History

May 15, 2026
CVE Published
via MITRE·02:57 PM
Data Sourced
via MITRE·02:57 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·04:01 PM
DescriptionSeverityAffected Software
May 17, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
Jun 9, 2026
Data Sourced
via Ubuntu·09:07 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·09:08 PM
DescriptionAffected Software
Data Sourced
via Launchpad·09:08 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2026-46483?

CVE-2026-46483 is considered a medium-severity vulnerability due to the risk of command injection.

2

How do I fix CVE-2026-46483?

To fix CVE-2026-46483, users should upgrade Vim to version 9.2.0479 or later.

3

What versions of Vim are affected by CVE-2026-46483?

Vim versions prior to 9.2.0479 are affected by CVE-2026-46483.

4

What types of systems are impacted by CVE-2026-46483?

CVE-2026-46483 impacts Unix-like systems when using Vim to decompress .tgz archives.

5

What is the nature of the vulnerability in CVE-2026-46483?

CVE-2026-46483 is a command injection vulnerability caused by a missing shellescape flag in the tar#Vimuntar function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203