https://seclists.org/oss-sec/2026/q3/576: [vim-security] Arbitrary Ex Command Execution via File Names in C Omni-Completion in Vim < 9.2.1011

Published Aug 25, 2026
·
Updated

Affected Software

1 affected component
vim Vim<9.2.1011

Frequently Asked Questions

1

What conditions are required for exploitation?

The user must invoke C omni-completion for a member access, and Vim must receive a tags file name from tagfiles() that contains a bar character. The bar terminates the constructed :vimgrep command, allowing subsequent text in the file name to be executed as an Ex command.

2

Which Vim versions are affected?

Vim versions earlier than 9.2.1011 are affected. The issue is in the C omni-completion script at runtime/autoload/ccomplete.vim.

3

What can be done if updating is not immediately possible?

Avoid using C omni-completion with tags file names containing a bar character. Review the tags file paths returned by tagfiles() and remove or rename untrusted paths with that character.

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