JLSEC-2026-1877: High severity julia/vim_jll vulnerability
Vim is an open source, command line text editor. Prior to version 9.2.0561, the Python omni-completion script in python3complete.vim for Vim with the +python3 interpreter enabled (and the legacy pythoncomplete.vim for builds with the +python interpreter) executes the import and from statements found in the current buffer through Python's import machinery. Because the buffer's working directory is on sys.path, opening a hostile .py file with a sibling Python package and invoking omni-completion runs that package's top-level code as the editing user. This issue has been patched in version 9.2.0561.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 9.2.0561
Event History
Frequently Asked Questions
Under what conditions can this issue be exploited?
An attacker must persuade a user to open a hostile Python file and invoke Python omni-completion. The Vim build must have the +python3 interpreter enabled, or use the legacy completion script with the +python interpreter enabled.
What makes a Python file hostile in this scenario?
The file can contain import or from statements and be placed alongside a Python package controlled by the attacker. When omni-completion processes those statements, Python may import the sibling package and execute its top-level code as the editing user.
What is the impact if exploitation succeeds?
The attacker-controlled package code runs with the privileges of the user editing the file. This can affect confidentiality, integrity, and availability of that user's environment.
How can the issue be remediated?
Update Vim to version 9.2.0561 or later. The issue is patched in that version.
What can be done before updating?
Avoid invoking Python omni-completion on untrusted Python files, particularly files obtained with adjacent or sibling Python packages. This prevents the described import path from being triggered.