macvim-dev / macvim-dev/macvim
[Security] MacVim affected by CVE-2026-44656 — :find completion backtick OS command injection (vim < 9.2.0435)
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Vim Script
- Estrellas
- 7.9k
- Forks
- 691
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
[Security] MacVim affected by CVE-2026-44656 — :find completion backtick OS command injection (vim < 9.2.0435)
Summary
MacVim bundles the vim source at version 9.2 (patches 1-332 in the current build), which is
below the patched version 9.2.0435 that fixes CVE-2026-44656.
Vulnerability Details
- Upstream CVE: CVE-2026-44656
- Inherited from:
vim/vim - Affected code:
:findcommand-line completion withpathoption - Vulnerability type: CWE-78 — OS Command Injection
- Fixed in: vim 9.2.0435 (commit
190cb3c2b9c769a3972bcfd991a7b5b6cb771ef0)
Root Cause
Prior to vim 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
(e.g., path= cmd``), those commands are executed during filename completion. Because the pathoption can be set via modelines or project-local configuration files, an attacker who controls such files can execute arbitrary commands when the victim uses tab-completion with:find`.
Affected MacVim Version
MacVim r183 (vim 9.2 patches 1-332) — current HEAD as of 2026-05-18.
The fix commit 190cb3c2b9c769a3972bcfd991a7b5b6cb771ef0 from vim/vim is not present
in the macvim-dev/macvim repository:
git log --all --oneline | grep 190cb3c2 # returns no output
Suggested Fix
Merge or cherry-pick vim/vim patches up to at least 9.2.0435:
References
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comience revisando los parches de Vim 9.2 incluidos y comparando git log --all --oneline | grep 190cb3c2 con el commit upstream 190cb3c2b9c769a3972bcfd991a7b5b6cb771ef0. Actualice el código fuente incluido a Vim 9.2.0435 o posterior y, después, verifique que la corrección esté incluida en el build de MacVim y que el comportamiento afectado de completado de :find ya no sea vulnerable.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- macos, vim
- Área
- desktop, security
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Tranquilo
- Claridad
- Bien especificado
- Aptitud para principiantes
- 48/100