Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-44656 — Reproduction environment for CVE-2026-44656, a Vim modeline command injection vulnerability. Includes Docker setup, PoC file, and exploit script to demonstrate arbitrary command execution via backtick expansion in the path option. | Kitploit
Tools/GitHubGitHub/cryingn/cve-2026-44656
Vulnerability AnalysisExploitationLearning & EducationBinary ExploitationLabs & Practice
GitHubcryingn/cve-2026-44656

CVE-2026-44656

Reproduction environment for CVE-2026-44656, a Vim modeline command injection vulnerability. Includes Docker setup, PoC file, and exploit script to demonstrate arbitrary command execution via backtick expansion in the path option.

View Repository
154 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-44656 - Vim Modeline path Option Command Injection Vulnerability

English|中文

This repository provides a reproduction environment for CVE-2026-44656. The vulnerability stems from a flaw in Vim's handling of backtick expansion expressions in the path option within modelines. Attackers can trigger arbitrary command execution using the Tab completion feature of the :find command.

Vulnerability Overview

  • CVE ID: CVE-2026-44656
  • Affected Scope: Vim (modeline + backtick expansion of path option)
  • Attack Vector: Craft a file containing a malicious modeline, setting path to include a backtick expression. When the user triggers path completion with :find + Tab, the expression is evaluated, executing arbitrary commands.

Reproduction Steps

root@kitploit:~
# 1. Build the Docker image
docker build -t cve_2026_44656_vim .

# 2. Run the container
docker run -it cve_2026_44656_vim

# 3. Open the PoC file inside the container
vim poc.txt

# 4. Trigger the vulnerability
#    Type: :find
#    Then press the Tab key to trigger path completion

# 5. Exit Vim
#    Press ESC, then type :q and press Enter

# 6. Verify if the vulnerability was successfully exploited
ls sakana.pwn    # ./eval.sh creates the file in the background

File Descriptions

  • Dockerfile - Builds a Debian-based container containing the vulnerable version of Vim
  • poc.txt - PoC file containing the malicious modeline
  • eval.sh - Attack payload script (creates sakana.pwn as verification)
  • vimrc - Vim configuration file enabling modeline
  • vim/ - Source code of the vulnerable Vim version

Mitigation

Add set nomodeline to your vimrc to disable modeline processing, or avoid opening untrusted files with modeline enabled.

Download Tool