Langflow OSS MCP SSE Improper Authentication Bypass (CVE-2026-93680)
Published: 2026-11-25 • Researcher: Richard Howe (rmhowe425) — PoC; IBM PSIRT — advisory
- Severity
- Critical
- CVE
- CVE-2026-93680
- Category
- web
- Affected product
- IBM Langflow OSS (Langflow AI application builder; MCP server SSE/HTTP endpoints)
- Affected versions
- 1.0.0 through 1.12.8 (NVD range >=1.0.0, <1.13.0); the PoC header claims 1.5.0–1.11.4 tested
- Disclosed
- 2026-11-25
- Patch status
- Patched
Tags
References
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-09-21 |
| Author / Researcher | Richard Howe (rmhowe425) — PoC; IBM PSIRT — advisory |
| CVE / Advisory | CVE-2026-93680 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; NVD) |
| Status | PoC |
| Tags | langflow, authentication-bypass, CWE-287, MCP, SSE, AI-platform, unauthenticated, Python, FastAPI, tool-abuse |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | IBM Langflow OSS (Langflow AI application builder; MCP server SSE/HTTP endpoints) |
| Versions Affected | 1.0.0 through 1.12.8 (NVD range >=1.0.0, <1.13.0); the PoC header claims 1.5.0–1.11.4 tested |
| Language / Platform | Python (PoC); Langflow server is Python/FastAPI, typically deployed with pip, Docker or Langflow Desktop on Linux/macOS |
| Authentication Required | No |
| Network Access Required | Yes |
Summary
IBM Langflow OSS 1.0.0 through 1.12.8 could allow a remote attacker to bypass security restrictions due to improper authentication, classified as CWE-287 by NVD. The archived PoC shows the practical route: an unauthenticated GET to the MCP SSE endpoint returns a server-issued session ID, and that session ID alone is then sufficient to POST MCP JSON-RPC messages such as initialize and the tools list method to the MCP HTTP endpoint. The result is access to the MCP tool surface of the Langflow instance without logging in, which can expose the tools and data sources the platform is wired to. The PoC demonstrates the bypass and tool enumeration; it does not itself implement post-auth remote code execution.
Vulnerability Details
Root Cause
Langflow’s MCP integration issues a session ID over the server-sent-events endpoint at /api/v1/mcp/sse and then trusts that session ID as the sole credential for subsequent JSON-RPC calls to /api/v1/mcp/. The HTTP handler does not verify an authenticated user or an API key for those calls, so possession of a session ID obtained from an anonymous SSE connection is treated as an authenticated session. IBM scores this as improper authentication. The SSE endpoint and the JSON-RPC endpoint are distinct code paths, and the auth check that protects the normal REST API is not applied consistently to the MCP transport.
Attack Vector
- Attacker sends an unauthenticated GET to /api/v1/mcp/sse and reads the streamed event that carries the session ID.
- Attacker POSTs a JSON-RPC initialize request to /api/v1/mcp/?session_id=
, followed by the notifications/initialized notification. - Attacker POSTs a JSON-RPC tools list request to the same endpoint and receives the server’s tool definitions and metadata.
- No login, bearer token, API key or cookie is ever presented; the session ID captured in step 1 is the whole exploit.
Impact
Unauthenticated access to the Langflow MCP tool surface. Depending on which tools the instance exposes and how they are wired, this gives an attacker visibility into configured components, models, knowledge bases and connected data sources, and the ability to invoke exposed tools; from there the impact ranges from information disclosure to misuse of the tools’ own privileges. NVD rates it 9.8 with high confidentiality, integrity and availability impact. The archived PoC demonstrates steps 1–3 (bypass plus tool enumeration); data exfiltration in the upstream walkthrough relies on the tools that the target instance exposes.
Environment / Lab Setup
OS: Ubuntu 22.04 (per the PoC header); any host that can reach the instance
Target: IBM Langflow OSS 1.0.0–1.12.8 with MCP enabled
(Langflow Desktop or a pip/Docker deployment)
Attacker: Linux workstation, Python 3
Tools: python3, requests, curl, a terminal per step (the
upstream README uses two terminals: SSE stream + JSON-RPC)Setup Steps
| |
Proof of Concept
Step-by-Step Reproduction
Step 1 — Capture an anonymous MCP session (terminal 1). The SSE stream prints the session ID and keeps the connection open.
Shell script1python3 poc.py -u http://127.0.0.1:7860Step 2 — Initialize the MCP session with that ID (terminal 2). No auth header is supplied.
Shell script1python3 poc.py -u http://127.0.0.1:7860 -s <session_id>Step 3 — Enumerate the MCP tools over the same unauthenticated session, then exercise any tool the instance exposes using its returned schema.
Shell script1 2 3# the same invocation performs initialize, notifications/initialized # and the tools list call in sequence python3 poc.py -u http://127.0.0.1:7860 -s <session_id>
Exploit Code
See
poc.pyin this folder; the upstream notes are inupstream-README.md.
| |
Expected Output
| |
The transcript above is illustrative: the streamed event name, the JSON-RPC serverInfo/capabilities fields and the tool list all depend on the Langflow build and on which components the instance exposes. The success condition is HTTP 200 with a result object instead of a 401/403, reached without ever presenting credentials.
Detection & Indicators of Compromise
- Web server or reverse-proxy logs showing GET /api/v1/mcp/sse followed by POST /api/v1/mcp/?session_id=… from the same source IP with no Authorization header, no session cookie and no prior /api/v1/login request.
- MCP JSON-RPC bodies containing “method”: “tools/list” or “method”: “tools/call” arriving from an unauthenticated client.
- A single source opening many SSE streams to mint sessions and then reusing each one for tool enumeration.
- Unusual MCP tool invocations, or knowledge-base/model data leaving the instance, correlated with the requests above.
- Langflow process or proxy 401/403 bursts on the REST API from an IP that nonetheless succeeds on the MCP endpoints.
SIEM / IDS rule (example):
| |
Remediation
| Action | Detail |
|---|---|
| Patch | Upgrade IBM Langflow OSS to 1.13.0 or later (NVD range is >=1.0.0, <1.13.0; IBM advisory node 7294467 is authoritative). |
| Workaround | If upgrading is not immediate, block /api/v1/mcp/sse and /api/v1/mcp/ at the reverse proxy or disable the MCP server feature on instances that do not need it. |
| Config Hardening | Keep Langflow off untrusted networks, front it with an authenticating reverse proxy that covers every path including the MCP endpoints, disable automatic login and set a superuser password, and review which tools and data sources each instance is allowed to reach. |
References
Notes
Auto-ingested from https://github.com/rmhowe425/POC-CVE-2026-93680 on 2026-11-25. Review verdict: real exploit code, ingested. The repository is a two-file PoC (poc.py plus a screenshot-based README) that actively drives the vulnerable MCP endpoints — it is not a scanner, checker or audit tool. No license file is present in the repository, so the single source file is archived with attribution for authorized research only.
Limitations: the script needs the session ID from the SSE stream (the upstream README uses two terminals), so it is not a single-shot exploit; the code stops at initialize and the tools list call and does not implement the exfiltration or any code execution that the upstream screenshots describe, so Status is PoC rather than Weaponized. The argparse description mentions RCE, but no RCE primitive is in the code — that claim should not be relied on. The version header in poc.py (1.5.0–1.11.4) differs from the NVD range (1.0.0–1.12.8); the NVD/IBM range was used above. Exact tool behaviour and deployment steps are instance-specific — see references. Run only against systems you own or have written authorization to test.
Related archived entries on the same product: pocs/web/2026-11-25_cve-2026-93674-langflow (authenticated MCP command injection) and pocs/web/2026-07-19_cve-2026-55255-langflow-responses-api-idor.
| |