JLSEC-2026-1879: High severity julia/vim_jll vulnerability
Vim is an open source, command line text editor. Prior to version 9.2.0597, Vim's Python omni-completion executes reconstructed function and class definitions from the current buffer with exec() as part of populating the completion dictionary. Python evaluates function default values, parameter annotations, and class base expressions at definition time, so a hostile buffer can execute attacker-controlled Python expressions during omni-completion. The existing g:pythoncompleteallowimport mitigation (GHSA-52mc-rq6p-rc7c) does not cover this path, because the attacker-controlled code is not a harvested import/from statement. This issue has been patched in version 9.2.0597.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Vimto a version that resolves this vulnerability.Fixed in 9.2.0597
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users of Vim versions before 9.2.0597 are exposed when they invoke Python omni-completion on a hostile or untrusted buffer. Exploitation is local and requires user interaction, as reflected by AV:L and UI:R.
What must an attacker do to trigger code execution?
The attacker must provide buffer content containing Python function or class definitions with attacker-controlled expressions in default values, parameter annotations, or class base expressions. When Python omni-completion reconstructs those definitions, Vim executes them with exec().
Does setting g:pythoncomplete_allow_import prevent exploitation?
No. That mitigation only addresses harvested import/from statements and does not cover code execution through reconstructed function and class definitions.
What version fixes the issue?
The issue is patched in Vim 9.2.0597. Update affected installations to that version or later.