
Proof-of-concept and offensive security research analyzing CVE-2026-23744 (MCPJam Inspector Unauthenticated RCE, Patched in v1.4.3+).
@mcpjam/inspectorDISCLAIMER: This repository and the associated scripts are intended solely for authorized security assessments, penetration testing, security research, and educational analysis. Unauthorized testing of systems without explicit written consent is illegal and strictly prohibited. The author assumes no liability for misinterpretation or misuse of this material.
| Property | Details |
|---|
| CVE ID | CVE-2026-23744 |
| CVSS Score | 9.8 (Critical) |
| Vulnerability Class | Missing Authentication for Critical Function (CWE-306) |
| Affected Package | @mcpjam/inspector <= 1.4.2 |
| Patched Version | @mcpjam/inspector >= 1.4.3 |
| Default Binding | 0.0.0.0 (Exposed to local network / Internet) |
This repository contains a Proof-of-Concept (PoC) automation script demonstrating CVE-2026-23744, a critical-severity vulnerability affecting @mcpjam/inspector (a local-first development platform for Model Context Protocol servers).
The vulnerability stems from Missing Authentication for a Critical Function (CWE-306) combined with an insecure default network binding. By default, the MCPJam Inspector interface binds to 0.0.0.0 rather than 127.0.0.1, exposing the HTTP API control plane to the local network or the internet. Remote threat actors can exploit the unauthenticated /api/mcp/connect endpoint by transmitting a crafted JSON payload containing arbitrary operating system commands inside the serverConfig object, leading to full-context Remote Code Execution (RCE).
The automated assessment tool implements the following logical methodology:
/api/mcp/connect), forcing the application runtime to drop down to the shell layer and execute the payload.exploit.py: The core automation framework handling host state checks, payload encoding, and HTTP interaction./api/mcp/connectEnsure your environment is properly provisioned with Python 3.x before running the assessment framework.
git clone [https://github.com/](https://github.com/)<your-username>/CVE-2026-23744.git
cd CVE-2026-23744
### Execution
Run the assessment script against the target host:
'''bash
python3 exploit.py -t <target_ip> -api <target_api> -user <user_ip>
Or specify a custom target port:
'''bash
python3 exploit.py -t <target_ip> -api <target_api> -user <user_ip> -p <target_port>
### Remediation & Mitigation
Upgrade Package: Update @mcpjam/inspector to version 1.4.3 or higher.
Network Binding: Ensure the application explicitly binds to 127.0.0.1 (localhost) rather than 0.0.0.0.
Access Control: Restrict network exposure to trusted management subnets using host-based firewall rules (iptables / ufw) or security groups.
### Disclosure Timeline
2026-01-16: CVE-2026-23744 published to the National Vulnerability Database (NVD).
2026-01-16: Vendor patch published in version 1.4.3 (commit e6b9cf9).
2026-01-23: Public vulnerability disclosures and technical advisories released.
### References
https://nvd.nist.gov/vuln/detail/CVE-2026-23744
https://github.com/advisories/GHSA-232v-j27c-5pp6
https://cwe.mitre.org/data/definitions/306.html