Commit Graph

1 Commits

Author SHA1 Message Date
RHEL Packaging Agent
df0792b607 Fix CVE-2026-52858: possible code execution with python3complete
Backport two upstream commits to fix CVE-2026-52858, which
allowed possible code execution via import/from statements in
python3complete and pythoncomplete omni-completion plugins.

Patch 9.2.0561 disables execution of import/from statements
by default and adds a g:pythoncomplete_allow_import opt-in
variable. Patch 9.2.0568 fixes a bug where the vim module
was not imported in evalsource() scope, causing the opt-in
variable to silently have no effect.

CVE: CVE-2026-52858
Upstream patches:
 - 4b850457e1.patch
 - 868ad62cb8.patch
Resolves: RHEL-186651

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-08-05 18:08:07 +02:00