CVE-2026-9198 in langflow

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

IBM Langflow OSS 1.0.0 through 1.10.0 allows unauthenticated attackers to chain /api/v1/auto_login (mints SUPERUSER tokens to any network caller) with /api/v1/validate/code (executes user code via exec()) to achieve full RCE on default Langflow deployments

Affected software: langflow

Scores

What LogPulse has for it

How to mitigate it

Upgrade Langflow past 1.10.0 and turn off auto login (CVE-2025-3248, CVE-2026-0770, CVE-2026-9198)

Patch or upgrade. Upgrade Langflow to a release after 1.10.0, where the code validation endpoint no longer runs attacker-supplied Python without authentication. Turning off auto login and keeping Langflow off the internet closes the chain attackers use (auto_login, then validate/code).

Applies to: Langflow before 1.3.0 (CVE-2025-3248, CVE-2026-0770) and Langflow OSS 1.0.0 through 1.10.0 (CVE-2026-9198), self-hosted.

  1. List every Langflow instance (pip, Docker image langflowai/langflow, IBM watsonx Orchestrate or DataStax Langflow) and note the version shown under Settings or with 'pip show langflow'.
  2. Upgrade to the newest Langflow release after 1.10.0: 'pip install -U langflow', or pull the newest langflowai/langflow image and recreate the container.
  3. Set LANGFLOW_AUTO_LOGIN=false and set LANGFLOW_SUPERUSER and LANGFLOW_SUPERUSER_PASSWORD, then restart Langflow.
  4. Do not publish Langflow to the internet. Put it behind a VPN or an authenticating reverse proxy and allow only your own admin addresses.
  5. Rotate every API key and credential stored in Langflow flows and global variables, because an exploited instance exposes them.
  6. Check the reverse proxy log for POST requests to /api/v1/validate/code and GET requests to /api/v1/auto_login from unknown addresses, and check the host for unknown processes and cron jobs.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse