CVE-2026-59856
Last modified
CVE-2026-59856 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vim | Vim | < 9.2.0736 |
References
- https://github.com/vim/vim/security/advisories/GHSA-fh26-8f79-wj97Exploit, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-59856?
How severe is CVE-2026-59856?
How do I fix CVE-2026-59856?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5985A security flaw has been discovered in code-projects Simple …7.3
- CVE-2026-59850A flaw was found in libssh. If data packets are processed af…7.5
- CVE-2026-59851A flaw was found in libssh. On servers with GSSAPIKeyExchang…8.8
- CVE-2026-59853SiYuan is an open-source personal knowledge management syste…6.5
- CVE-2026-59854SiYuan is an open-source personal knowledge management syste…4.9
- CVE-2026-59855SiYuan is an open-source personal knowledge management syste…8.6
- CVE-2026-59857Vim is an open source, command line text editor. Prior to 9.…5.5
- CVE-2026-59858Vim is an open source, command line text editor. Prior to 9.…7.8
- CVE-2026-59859Kiota is an OpenAPI based HTTP Client code generator. Prior …8.7
- CVE-2026-5986A weakness has been identified in Zod jsVideoUrlParser up to…5.5
- CVE-2026-59860Kiota is an OpenAPI based HTTP Client code generator. Prior …8.7
- CVE-2026-59861Kiota is an OpenAPI based HTTP Client code generator. Prior …7.5
Are you affected by CVE-2026-59856?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
