Skip to main content
Vulnerability Database/CVE-2026-79537

CVE-2026-79537: MetaMCP IDOR Authentication Bypass Vulnerability

CVE-2026-79537 is an insecure direct object reference flaw in metatool-ai MetaMCP that enables attackers to bypass authentication and access victim tenant data. This post covers technical details, affected versions, impact, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-79537 Overview

CVE-2026-79537 is an Insecure Direct Object Reference (IDOR) vulnerability in metatool-ai MetaMCP through version 2.4.22. The flaw resides in the Model Context Protocol (MCP) transport session dispatch layer. The session store (getSession in session-lifetime-manager.ts) keys sessions solely by the client-supplied mcp-session-id header. It performs no owner, namespace, or endpoint binding. Per-endpoint authorization middleware validates only the URL endpoint owner, never the session itself. An unauthenticated attacker can query GET /metamcp/health/sessions to discover active session IDs and namespace UUIDs, then hijack another tenant's session.

Critical Impact

Attackers can enumerate, invoke, and exfiltrate data from any tenant's private MCP tools using the victim's forwarded credentials.

Affected Products

  • metatool-ai MetaMCP through 2.4.22
  • MCP transport session dispatch (session-lifetime-manager.ts)
  • Multi-tenant MetaMCP deployments exposing /metamcp/health/sessions

Discovery Timeline

  • 2026-09-29 - CVE-2026-79537 published to the National Vulnerability Database
  • 2026-09-29 - Last updated in NVD database

Technical Details for CVE-2026-79537

Vulnerability Analysis

MetaMCP acts as a multi-tenant gateway for Model Context Protocol (MCP) servers. Each tenant provisions namespaces, endpoints, and MCP tool sessions. The system relies on session identifiers passed through the mcp-session-id HTTP header to route requests to the correct MCP server context.

The vulnerability breaks tenant isolation at the session dispatch layer. Because getSession looks up sessions purely by the attacker-controlled header, and the authorization middleware only checks whether the requester owns the URL endpoint, session ownership is never validated. A tenant that legitimately owns endpoint A can supply another tenant's session ID and receive the victim's session context, including forwarded credentials, tool lists, and tool results.

Compounding the flaw, GET /metamcp/health/sessions returns active session IDs and namespace UUIDs without requiring authentication. This turns session hijacking into a two-request attack against arbitrary tenants.

Root Cause

The root cause is missing object-level authorization on session lookup, a classic IDOR pattern. The session record contains no reference back to its owning tenant, namespace, or endpoint. The authorization boundary is enforced on the URL path but not on the session object bound to the request. Session identifiers are also treated as capabilities rather than opaque routing tokens, so possession alone grants full use.

Attack Vector

An attacker first issues an unauthenticated GET /metamcp/health/sessions request to enumerate live session IDs and namespace UUIDs. The attacker then authenticates as any low-privileged tenant, calls an endpoint they legitimately own, and substitutes the victim's mcp-session-id header value. MetaMCP dispatches the request against the victim's session, using the victim's forwarded upstream credentials. The attacker can list tools, invoke them, and exfiltrate returned data.

See the TraceForce Security Advisory CVE-2026-79537 and the MetaMCP GitHub repository for further technical detail.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-79537

Indicators of Compromise

  • Unauthenticated requests to GET /metamcp/health/sessions from external or unexpected source IPs.
  • Requests carrying an mcp-session-id header whose bound tenant does not match the authenticated user account.
  • MCP tool invocations against endpoints or namespaces the authenticated user has never previously accessed.
  • Sudden spikes in tools/list or tools/call volume from a single account against multiple namespaces.

Detection Strategies

  • Correlate the tenant recorded on the session object with the authenticated principal on every MCP request and alert on mismatches.
  • Baseline per-user namespace access patterns and flag cross-namespace session reuse.
  • Log all /metamcp/health/sessions accesses and treat unauthenticated calls as high severity.

Monitoring Recommendations

  • Ingest MetaMCP application and access logs into a centralized SIEM for correlation across tenants.
  • Monitor for repeated 200 responses to session-discovery endpoints followed by MCP tool calls from unrelated accounts.
  • Track outbound data volumes per session and alert on anomalous exfiltration patterns.

How to Mitigate CVE-2026-79537

Immediate Actions Required

  • Restrict network access to the /metamcp/health/sessions endpoint at the reverse proxy or Web Application Firewall (WAF).
  • Rotate any upstream credentials that MetaMCP forwards on behalf of tenants, since session IDs may already have leaked.
  • Force-invalidate all active MCP sessions and require reauthentication.
  • Audit application logs for prior enumeration of /metamcp/health/sessions and cross-tenant session use.

Patch Information

No fixed version is listed in the enriched CVE data at time of publication. Track upstream fixes in the MetaMCP GitHub repository and upgrade beyond version 2.4.22 once a patched release is available. Confirm remediation guidance in the TraceForce Security Advisory CVE-2026-79537.

Workarounds

  • Block or authenticate the /metamcp/health/sessions route via reverse proxy rules until an official patch is applied.
  • Enforce authorization middleware that binds each session to its owning tenant, namespace, and endpoint before dispatch.
  • Regenerate mcp-session-id values as high-entropy, single-tenant-scoped tokens and reject cross-tenant reuse.
  • Restrict MetaMCP administrative and health endpoints to internal management networks only.
bash
# Example NGINX rule to block unauthenticated access to session enumeration
location = /metamcp/health/sessions {
    allow 10.0.0.0/8;
    deny all;
    return 403;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.