CVE-2026-41411: Vim: Command injection via backtick expansion in tag filenames

Published Apr 24, 2026
·
Updated

Last updated 13 May 2026

Other sources

Vim is an open source, command line text editor. Prior to 9.2.0357, A command injection vulnerability exists in Vim's tag file processing. When resolving a tag, the filename field from the tags file is passed through wildcard expansion to resolve environment variables and wildcards. If the filename field contains backtick syntax (e.g., command), Vim executes the embedded command via the system shell with the full privileges of the running user.

NVD

Vim: Command injection via backtick expansion in tag filenames

Microsoft

Affected Software

4 affected componentsFixes available
vim Vim<9.2.0357
vim Vim<9.2.0357
Microsoft azl3 vim 9.2.0240-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.0357
  3. Configuration

    Ensure the tags file does not contain backtick syntax in the filename field (e.g., entries like `command`), because Vim will execute embedded commands via the system shell when resolving tags.

    Vim (tag file processing) tag filename handling (backtick expansion) = Disable/avoid backtick syntax in tag filenames

Event History

Apr 24, 2026
CVE Published
via MITRE·04:51 PM
Data Sourced
via MITRE·04:51 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·06:02 PM
DescriptionSeverityAffected Software
Apr 26, 2026
Data Sourced
via Microsoft·08:05 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:05 AM
Affected Software
Updated
via Microsoft·08:05 AM
DescriptionSeverity
May 28, 2026
Data Sourced
via Ubuntu·08:17 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·08:18 PM
Description
May 29, 2026
Data Sourced
via Debian·08:20 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-41411?

CVE-2026-41411 has been classified as a high severity vulnerability due to its potential for command injection.

2

How do I fix CVE-2026-41411?

Updating Vim to version 9.2.0357 or later will resolve the CVE-2026-41411 vulnerability.

3

What systems are affected by CVE-2026-41411?

CVE-2026-41411 affects all versions of Vim prior to 9.2.0357.

4

What is command injection in the context of CVE-2026-41411?

In CVE-2026-41411, command injection allows attackers to execute arbitrary commands through crafted tag filenames.

5

When was CVE-2026-41411 disclosed?

CVE-2026-41411 was disclosed as part of a security advisory from Vim addressing vulnerabilities present in earlier versions.

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