WebHackList

Preliminary research

Vim R Markdown: UTF-8 filter mismatch reaches shell-backed globbing

Command Execution via Rmd Syntax Highlighting in Vim < 9.2.1178

Last synced: 5 December 2026.

An R Markdown syntax script filters code-fence language names with a regex that stops at an overlong UTF-8 NUL. The later globpath consumer passes surviving backtick syntax to the Unix shell, allowing command execution when a crafted supported file is opened with highlighting enabled.

Preserved copies · Christian Brabandt · Original publication ↗

GitHub MD fileGitHub PDF file

Record

Document
Command Execution via Rmd Syntax Highlighting in Vim < 9.2.1178
Researcher
Christian Brabandt
Published by
Vim project / oss-security
Topic
Other

In the archive

Related sources

Tags

This page is the archive's own catalogue record. The research is the work of Christian Brabandt, first published at the original source. Preserved copies are kept so the citation survives its host.