PT-2026-48723 · Vim+2 · Vim+2

·

CVE-2026-52860

·

Published

2026-06-11

·

Updated

2026-07-16

CVSS v3.1

8.0

High

VectorAV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Vim versions prior to 9.2.0597
Description Python omni-completion in the text editor executes reconstructed function and class definitions from the current buffer using the exec() function to populate the completion dictionary. Because Python evaluates class base expressions, parameter annotations, and function default values during definition, a malicious buffer can trigger the execution of attacker-controlled Python expressions during the omni-completion process. The g:pythoncomplete allow import mitigation is ineffective in this case as the executed code is not an import statement.
Recommendations Update to version 9.2.0597.

Exploit

Fix

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-52860
ECHO-1AE5-1AA8-8736
GHSA-52MC-RQ6P-RC7C
GHSA-65P9-MWWX-7468
OESA-2026-2863
USN-8451-1

Affected Products

Linuxmint
Ubuntu
Vim