CVE

Langflow Auto-Login RCE Check (CVE-2026-110186)

Fingerprint Langflow 1.0.0 through 1.12.8 for the default auto-login superuser session and the unauthenticated RCE behind it, disclosure-first.

AuthorTrickest
100%

Notes on this workflow

Safety: the MCP chain is the exploit - never enumerate or invoke MCP tools, never submit flows, never run components (path guard refuses mcp/flows/run/validate/store shapes; GET-only). AI-builder instances hold API keys for downstream LLM providers: exposure report only, touch nothing else. The auto_login GETs disclosed side effect (session creation) is stated in the output.

How it works: targets -> parse-targets -> fingerprint -> report. GET / (Langflow markers) -> GET /api/v1/version (public) -> version gate 1.0.0-1.12.8 affected / >=1.13.0 patched. Version undisclosed -> at most ONE auto_login GET: session object = bypass confirmed (authentication-state probe; session never used, report and stop); no session = potentially affected, verify out-of-band.

Target: IBM Langflow OSS (AI agent/workflow builder; default port 7860), 1.0.0-1.12.8. CVE-2026-93680 CWE-287: LANGFLOW_AUTO_LOGIN is ON by default (its own config warns it bypasses auth) - one GET /api/v1/auto_login returns a full superuser session. CVE-2026-110186 CWE-94: MCP tool enumeration from that session executes custom component code on the server. 9.8 pair, Metasploit module public, not KEV.

Results: out/results.jsonl + out/findings.jsonl (both CVEs on affected rows, EPSS split 1.9%/0.86%, KEV no). Remediation: upgrade to 1.13.0+ AND set LANGFLOW_AUTO_LOGIN=false with superuser credentials (1.13.0 refuses to start without a password; no workaround listed); rotate API keys/secrets stored in flows - pre-upgrade keys survive the fix; keep Langflow off untrusted networks. The agent builder that signs every visitor in as superuser.

Overview

This workflow checks Langflow deployments for the paired flaws IBM disclosed: CVE-2026-93680, the missing authentication that turns Langflow's default configuration into a superuser session for any visitor, and CVE-2026-110186, the unauthenticated code execution that turns that session into server takeover through MCP tool enumeration. The default matters: LANGFLOW_AUTO_LOGIN is on by default through 1.12.8, Langflow's own configuration text warns it bypasses authentication, and there is no 1.12.x backport, so the fix is 1.13.0. A public Metasploit module exists. Session-confirmed rows are the CRITICAL tier and carry treat-as-compromised-adjacent wording, because AI-builder instances usually hold API keys for downstream LLM providers. Deployment context keeps the framing honest: about 2,160 Langflow hosts observed, almost never exposed directly on port 7860, typically behind reverse proxies. Each host comes back with a verdict you can feed into exposure management.

Pipeline

  1. Read the target list and send at most three spaced GETs: the root page for Langflow UI markers, and the public version endpoint, which default deployments disclose.
  2. Only when the version is undisclosed, send exactly one GET of the auto-login endpoint as an authentication-state probe. The returned session is never used: report and stop. The probe is the documented bypass step and does create a session on the target, and the output says so.
  3. The exploit chain, MCP tool enumeration, flow submission, and code execution, is unreachable in this code: GET is the only permitted verb, three constants are the path allowlist, and any mcp, flows, run, or validate-shaped path is refused before a request leaves the process.
  4. Classify: 1.0.0 through 1.12.8 is affected by both headline flaws; 1.13.0 and later are patched; an undisclosed version paired with an auto-login session confirms the default-auth state directly, which is the sharpest row this workflow produces.
  5. Reconcile one verdict per target and write findings plus summary counts.

Inputs

  • Target list. Langflow server addresses you are authorized to test, however they are fronted. The default file ships a sample host; bind your own.

Outputs

  • findings.jsonl. One row per host: target, the version evidence, the auto-login probe result where run, verdict, severity, and the treat-as-compromised-adjacent note on session-confirmed rows.
  • summary.jsonl. One line with the total, verdict counts, the no-backport note, and the reverse-proxy deployment context.

Integrations

  • HTTP. At most three GETs per host with at least one second of spacing, the third only under the undisclosed-version condition, capped at one authentication-state probe.

Sample output

The records below are illustrative and do not come from a real run. They show a confirmed auto-login on an affected build, a patched build, and an undisclosed version with the session confirmed.

targetversionautologin_sessionverdictdetailerror
lf-a.example.com1.12.8truelf_exposed_affectedaffected build with auto-login session granted; treat as compromised-adjacent, rotate stored LLM provider keysnull
lf-b.example.org1.13.0falself_patchedat the 1.13.0 fix, the first release carrying itnull
lf-c.example.netnulltruelf_exposed_autologinversion undisclosed but the auto-login endpoint granted a session, proving the default-auth state; treat as compromised-adjacentnull
{"cves": ["CVE-2026-93680", "CVE-2026-110186"], "product": "Langflow", "total_targets": 3, "verdict_counts": {"lf_exposed_affected": 1, "lf_patched": 1, "lf_exposed_autologin": 1}, "kev": false, "fix": "1.13.0, no 1.12.x backport", "field_context": "about 2,160 Langflow hosts observed; port 7860 almost never exposed directly, deployments sit behind reverse proxies"}

FAQ

What does a session-confirmed row mean?

It means the workflow proved the deployment grants an unauthenticated visitor a full superuser session, which is the entry state for the takeover chain. That row is CRITICAL with treat-as-compromised-adjacent wording: hunt for unexpected flows and MCP tool changes, and rotate the LLM provider keys the instance holds.

Does the probe create anything on the target?

It creates one authentication session, and nothing else. The output discloses this honestly: the auto-login GET is the documented bypass step, capped at one request, run only when the version is undisclosed, and the returned session is never used.

Can this check run the exploit chain?

No. MCP tool enumeration, flow submission, and code execution are CVE-2026-110186's exploit chain, and the code refuses any mcp, flows, run, or validate-shaped path before a request leaves the process.

Which versions are affected?

1.0.0 through 1.12.8 carries both the default auto-login and the takeover path, fixed only in 1.13.0 with no 1.12.x backport, so the upgrade is the only remediation. Not on CISA KEV, with no confirmed exploitation but a public Metasploit module.

Get a personalized demo

See Trickest in Action

A 30-minute walkthrough. We map the platform to your stack and answer pricing and deployment questions for your environment.