CVE-2026-44656
Vim: OS Command Injection via 'path' completion
Reported by github_m · Published May 8, 2026
Vim is an open source, command line text editor. Prior to version 9.2.0435, an OS command injection vulnerability exists in Vim's :find command-line completion. When the path option contains backtick-enclosed shell commands, those commands are executed during file name completion. Because the path option lacks the P_SECURE flag, it can be set from a modeline, allowing an attacker who controls the contents of a file to execute arbitrary shell commands when the user opens that file in Vim and triggers :find completion. This issue has been patched in version 9.2.0435.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| vim-minimal | Amazon Linux | 2:9.2.597-1.amzn2023.0.1 |
| vim | Alpine | 9.2.0437-r0 |
| vim-enhanced | Amazon Linux | 2:9.2.597-1.amzn2023.0.1 |
| vim-data | Amazon Linux | 2:9.2.597-1.amzn2023.0.1 |
| vim-filesystem | Amazon Linux | 2:9.2.597-1.amzn2023.0.1 |
| vim-common | Amazon Linux | 2:9.2.597-1.amzn2023.0.1 |
| vim | vim | 9.2.0435 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vim | vim | < 9.2.0435 |
| amazon:2023 | vim-minimal | 0 |
| alpine | vim | 0 |
| amazon:2023 | vim-enhanced | 0 |
| amazon:2023 | vim-data | 0 |
| amazon:2023 | vim-filesystem | 0 |
| amazon:2023 | vim-common | 0 |
| vim | vim | 0 |
| amazon:2023 | vim-default-editor | 0 |
| amazon:2023 | xxd | 0 |
Timeline
- May 8, 2026 CVE Published
- May 10, 2026 Security Advisory (38 in total, the first dated here)
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Jun 28, 2026 CVE Updated
- Aug 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-44656
vulnetix vdb fixes CVE-2026-44656
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-44656/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/vim/vim/security/advisories/GHSA-hwg5-3cxw-wvvg x_refsource_CONFIRM
- https://github.com/vim/vim/commit/190cb3c2b9c769a3972bcfd991a7b5b6cb771ef0 x_refsource_MISC
- https://github.com/vim/vim/releases/tag/v9.2.0435 x_refsource_MISC