Medium [CVE-2026-59856] Arbitrary code execution via crafted PHP file in omni-completion
This medium-severity Red Hat Linux advisory covers CVE-2026-59856 affecting Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published Record updated
Summary
Vim is an open source, command line text editor. Prior to 9.2.0736, the PHP omni-completion script in runtime/autoload/phpcomplete.vim interpolates a class or trait name, taken from the contents of the edited buffer, into a search() pattern that is run via win_execute() without escaping.
A name containing a single quote can terminate the search() string argument early, and because the bar is honored as an Ex command separator, the remainder of the name is run as Ex commands; via the:! command this allows arbitrary operating-system command execution when a victim opens a crafted PHP file and invokes omni-completion.
This issue is fixed in version 9.2.0736. The PHP omni-completion script improperly handles specially crafted input.
Red Hat Product Security has rated this vulnerability as having a Moderate impact. While successful exploitation allows for arbitrary operating-system command execution when a user opens a crafted PHP file and triggers omni-completion, this feature is disabled by default in Red Hat products.
The requirement for a non-default configuration, combined with mandatory user interaction, significantly reduces the real-world risk." Red Hat severity: Moderate — CVSS 5.3 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L). Weakness: CWE-94.
Is CVE-2026-59856 exploited?
No exploitation is reported in the sources VulniPulse tracks: CVE-2026-59856 is not in the CISA KEV catalog (checked ) and this advisory does not report exploitation. That is not proof the vulnerability cannot be exploited.
How do I fix CVE-2026-59856?
Upgrade to a fixed release named by Red Hat:
- 9.2.0736
- vim-2:9.1.083-9.el10_2.12
- vim-2:9.1.083-5.el10_0.4
- vim-2:8.2.2637-26.el9_8.13
- vim-2:8.2.2637-20.el9_2.3
- vim-2:8.2.2637-20.el9_4.4
- vim-2:8.2.2637-22.el9_6.4
- openshift/ose-rhel-coreos-9:4.22.9.8.202608130832-0
- rhaiis/model-opt-cuda-rhel9:1790621714
- rhaiis/vllm-cuda-rhel9:1790621718
- rhaiis/vllm-rocm-rhel9:1790621713
- rhaii/vllm-rocm-rhel9:1791425869
38 more fixed releases are listed below.
Confirm against the vendor advisory before you patch.
- < 9.2.0736
Official advisory · high-confidence parse· fetched 9 days ago·verify at source
- 9.2.0736
- vim-2:9.1.083-9.el10_2.12
- vim-2:9.1.083-5.el10_0.4
- vim-2:8.2.2637-26.el9_8.13
- vim-2:8.2.2637-20.el9_2.3
- vim-2:8.2.2637-20.el9_4.4
- vim-2:8.2.2637-22.el9_6.4
- openshift/ose-rhel-coreos-9:4.22.9.8.202608130832-0
- rhaiis/model-opt-cuda-rhel9:1790621714
- rhaiis/vllm-cuda-rhel9:1790621718
- rhaiis/vllm-rocm-rhel9:1790621713
- rhaii/vllm-rocm-rhel9:1791425869
- rhaii/vllm-gaudi-rhel9:1791427182
- rhaii/model-opt-cuda-rhel9:1791803821
- rhaii/vllm-cuda-rhel9:1791473631
- rhaii/vllm-spyre-rhel9:1791818357
- rhaii/vllm-cpu-rhel9:1791473614
- vim-main-9.2.780-1.hum1
- insights-proxy/insights-proxy-container-rhel9:1786433656
- rhai/base-image-rocm-rhel9:1790276886
- rhai/base-image-tpu-rhel9:1790276884
- rhai/base-image-cpu-rhel9:1790277045
- rhai/base-image-spyre-rhel9:1790276889
- rhai/base-image-cuda-rhel9:1790276974
- rhai/base-image-tpu-rhel9:1790703497
- rhai/base-image-rocm-rhel9:1790703506
- rhai/base-image-cpu-rhel9:1790703590
- rhai/base-image-spyre-rhel9:1790703568
- rhai/base-image-cuda-rhel9:1790703586
- rhai/base-image-rocm-rhel9:1790703494
- rhai/base-image-cpu-rhel9:1790703615
- rhai/base-image-tpu-rhel9:1790703516
- rhai/base-image-rocm-6.4-rhel9:1790703524
- rhai/base-image-cuda-13.0-rhel9:1790703601
- rhai/base-image-rocm-7.0-rhel9:1790703516
- rhai/base-image-cuda-12.9-rhel9:1790703608
- rhai/base-image-spyre-rhel9:1790703579
- rhai/base-image-neuron-rhel9:1790703516
- rhai/base-image-cuda-13.0-rhel9:1791231820
- rhai/base-image-cuda-12.9-rhel9:1791232257
- rhai/base-image-neuron-rhel9:1790703542
- RHSA-2026:48650
- RHSA-2026:55431
- RHSA-2026:47982
- RHSA-2026:72466
- RHSA-2026:72465
- RHSA-2026:70818
- RHSA-2026:54769
- RHSA-2026:73859
- RHSA-2026:73929
Official advisory · high-confidence parse· fetched 9 days ago·verify at source
Mitigation checklist
- Users should exercise caution when opening untrusted PHP files and avoid invoking omni-completion on them. To prevent exploitation, the PHP omni-completion script can be disabled by moving or renaming `phpcomplete.vim`. For example, execute `mv /usr/share/vim/vim*/autoload/phpcomplete.vim /usr/share/vim/vim*/autoload/phpcomplete.vim.bak`. This action will disable PHP omni-completion functionality. A restart of Vim is necessary for this change to take effect.
Official advisory · high-confidence parse· fetched 9 days ago·verify at source
Get an email when Red Hat RHEL & SELinux publishes the next one.
See Red Hat RHEL & SELinux's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).
More Red Hat Linux advisories
- CVE-2026-34486Apr 9, 2026Missing Encryption of Sensitive Data due to EncryptInterceptor bypass
- CVE-2026-46300May 13, 2026"Fragnesia" is a variant of Dirty Frag vulnerability in the ESP/XFRM leading to Local
- CVE-2026-31431Apr 22, 2026algif_aead - Revert to operating out-of-place
- CVE-2026-64849Aug 17, 2026Unauthenticated full-read SSRF in webhook delivery: _validate_webhook_url bypassed
- CVE-2026-48710May 26, 2026Security restriction bypass via malformed HTTP Host header
- CVE-2026-42271May 8, 2026Authenticated command execution via MCP stdio test endpoints
iPhone and Android apps · New on the App Store
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.