JLSEC-2026-1872: Command Injection

Published Dec 2, 2026
·
Updated

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.

Affected Software

1 affected component
julia/vim_jll*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.2.0479

Event History

Dec 2, 2026
Advisory Published
via OSV·02:32 PM
Data Sourced
via OSV·02:32 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who is exposed to this issue?

Users of Vim on Unix-like systems are exposed when they decompress .tgz archives through the affected tar#Vimuntar() functionality. The identified affected software entry is julia/vim_jll.

2

What must an attacker do to exploit it?

An attacker needs to provide a crafted .tgz archive filename and have a user decompress that archive in Vim. Exploitation relies on Vim command-line special expansion in the filename and results in shell-command execution in the user's context.

3

Are default configurations affected?

The provided data does not establish whether the vulnerable archive-decompression path is enabled or reached in a default configuration. The issue is specifically triggered when decompressing .tgz archives using the affected Vim functionality on Unix-like systems.

4

What version contains the fix?

The vulnerability is fixed in Vim 9.2.0479. Versions prior to 9.2.0479 are affected according to the provided information.

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