Intel

AIKIDO-2026-153689

@langwatch/mcp-server is vulnerable to Authentication Bypass

GHSA-h25p-f8f6-2ccfPublished Aug 28, 2026
August 28, 2026

66

CVE Score

Medium

Authentication Bypass

Are you affected? Scan for Free

TL;DR

The standalone HTTP server in the LangWatch MCP server, reachable only when the non-default --http transport is enabled, authorizes requests using just a session identifier without revalidating the bearer API key that issued the session. It also accepts API keys in the SSE query string, returns a wildcard Access-Control-Allow-Origin without validating the Origin header, binds beyond loopback, and never expires sessions or caps how many any bearer token may allocate. Someone who obtains a valid session identifier through a side channel can invoke platform tools such as creating and revoking API keys, while the permissive CORS and query-string key handling expose credentials to browsers, logs, and proxies. The fix ties sessions to their issuing credential, revalidates bearer keys before allocation, validates origins and removes wildcard CORS, binds to loopback by default, drops URL-based API key parameters, and enforces session expiration and allocation limits.

How do I fix this?

Upgrade the @langwatch/mcp-server library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run the standalone MCP server with the non-default --http transport reachable by clients.

Versions

0.7.0 - 1.0.0

Fixed in 2.0.0

Background info

@langwatch/mcp-server is vulnerable to Authentication Bypass in versions 0.7.0 - 1.0.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea