Vulnerabilities

CVE-2026-52858

High 7.8 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-06-11
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 10 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Vim Vim < 9.2.0561 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1027.006: HTML Smuggling stealth
  • T1027.009: Embedded Payloads stealth
  • T1055: Process Injection stealth, privilege-escalation
  • T1176: Software Extensions persistence
  • T1195.001: Compromise Software Dependencies and Development Tools initial-access
  • T1505.004: IIS Components persistence
  • T1505.005: Terminal Services DLL persistence
  • T1564.009: Resource Forking stealth
  • T1574.006: Dynamic Linker Hijacking stealth, execution
  • T1574.013: KernelCallbackTable stealth, execution
  • T1620: Reflective Code Loading stealth

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities