Bug 2487981 (CVE-2026-52858) - CVE-2026-52858 vim: Vim: Arbitrary code execution via Python omni-completion
Summary: CVE-2026-52858 vim: Vim: Arbitrary code execution via Python omni-completion
Keywords:
Status: NEW
Alias: CVE-2026-52858
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2491430
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-11 19:02 UTC by OSIDB Bzimport
Modified: 2026-08-21 11:24 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:38509 0 None None None 2026-07-13 06:50:09 UTC
Red Hat Product Errata RHSA-2026:38510 0 None None None 2026-07-13 07:26:38 UTC
Red Hat Product Errata RHSA-2026:38511 0 None None None 2026-07-13 10:56:03 UTC
Red Hat Product Errata RHSA-2026:54769 0 None None None 2026-08-18 12:25:30 UTC
Red Hat Product Errata RHSA-2026:55431 0 None None None 2026-08-17 02:29:48 UTC

Description OSIDB Bzimport 2026-06-11 19:02:19 UTC
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.

Comment 2 errata-xmlrpc 2026-07-13 06:50:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:38509 https://access.redhat.com/errata/RHSA-2026:38509

Comment 3 errata-xmlrpc 2026-07-13 07:26:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:38510 https://access.redhat.com/errata/RHSA-2026:38510

Comment 4 errata-xmlrpc 2026-07-13 10:56:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:38511 https://access.redhat.com/errata/RHSA-2026:38511

Comment 5 errata-xmlrpc 2026-08-17 02:29:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:55431 https://access.redhat.com/errata/RHSA-2026:55431

Comment 6 errata-xmlrpc 2026-08-18 12:25:29 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.22

Via RHSA-2026:54769 https://access.redhat.com/errata/RHSA-2026:54769


Note You need to log in before you can comment on or make changes to this bug.