AI hack · Exploited vulnerability · 10 Sep 2026CVE-2026-105740Exploited, Previdian saysFixed in 1.9.0, per TheHackerWire

Attackers exploit a Langflow flaw that let any logged-in user run commands by adding an MCP server, Previdian says

Langflow, an open-source platform for building AI apps and agentic workflows, let any logged-in user 3 sourcesLangflow (GitHub security advisory)Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server10 Sep 2026 · first-handThe Hacker NewsLangflow's Critical Authenticated RCEUndatedTheHackerWireCVE-2026-105740: Langflow Critical RCE via Authenticated Command Injection in Stdio TransportUndated by adding an MCP server. The flaw, CVE-2026-105740, is rated 9.9 out of 10. Previdian says 3 sourcesLangflow (GitHub security advisory)Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server10 Sep 2026 · first-handThe Hacker NewsLangflow's Critical Authenticated RCEUndatedTheHackerWireCVE-2026-105740: Langflow Critical RCE via Authenticated Command Injection in Stdio TransportUndated, and its honeypots logged 1,706 attempts from 28 IP addresses by mid-October 2026. TheHackerWire says version 1.9.0 fixes it.

By Chris Hoskins, Founder, Boogey ·

Tap underlined words to see who reported them.

9.9

3 sourcesLangflow (GitHub security advisory)Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server10 Sep 2026 · first-handThe Hacker NewsLangflow's Critical Authenticated RCEUndatedTheHackerWireCVE-2026-105740: Langflow Critical RCE via Authenticated Command Injection in Stdio TransportUndated

None

2 sourcesLangflow (GitHub security advisory)Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server10 Sep 2026 · first-handThe Hacker NewsLangflow's Critical Authenticated RCEUndated

1,706

3 sourcesLangflow (GitHub security advisory)Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server10 Sep 2026 · first-handThe Hacker NewsLangflow's Critical Authenticated RCEUndatedTheHackerWireCVE-2026-105740: Langflow Critical RCE via Authenticated Command Injection in Stdio TransportUndated

1.9.0

SourceTheHackerWireCVE-2026-105740: Langflow Critical RCE via Authenticated Command Injection in Stdio TransportUndated

Why adding a server ran a command

  • Any user could add one

    The endpoint that saves MCP servers, the connectors that give agents their tools, accepted them from any logged-in user, SourceLangflow (GitHub security advisory)Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server10 Sep 2026 · first-hand.

  • Straight to the shell

    For a stdio server, one Langflow starts as a program on its own machine, the command field 3 sourcesLangflow (GitHub security advisory)Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server10 Sep 2026 · first-handThe Hacker NewsLangflow's Critical Authenticated RCEUndatedTheHackerWireCVE-2026-105740: Langflow Critical RCE via Authenticated Command Injection in Stdio TransportUndated, the server's command line.

  • One narrow check

    Langflow's only check was whether Node.js was installed, when the command named npx. There was SourceLangflow (GitHub security advisory)Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server10 Sep 2026 · first-hand.

  • Nobody pressed run

    The command ran SourceLangflow (GitHub security advisory)Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server10 Sep 2026 · first-hand, as it does when someone opens the MCP settings page. No flow had to run.

So any logged-in user, admin or not, could run any command with 2 sourcesLangflow (GitHub security advisory)Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server10 Sep 2026 · first-handThe Hacker NewsLangflow's Critical Authenticated RCEUndated.

Langflow said MCP server configs sit in project settings, where SourceThe Hacker NewsLangflow's Critical Authenticated RCEUndated doesn't show them.

One attack, as Previdian's Ryan Dewhurst describes it

  1. Step 1

    Check the version

    The attackers first SourceThe Hacker NewsLangflow's Critical Authenticated RCEUndated of Langflow was running.

  2. Step 2

    Try auto-login

    They tried Langflow's SourceThe Hacker NewsLangflow's Critical Authenticated RCEUndated, which the honeypot had switched off.

  3. Step 3

    Use a common password

    Then they logged in with SourceThe Hacker NewsLangflow's Critical Authenticated RCEUndated.

  4. Step 4

    Go straight to MCP

    They used the login token at once on SourceThe Hacker NewsLangflow's Critical Authenticated RCEUndated.

Much of the activity came from one IP address, seen trying to SourceThe Hacker NewsLangflow's Critical Authenticated RCEUndated, The Hacker News reports.

The attempts, by Previdian's count

  1. 19 Sep 2026

    Previdian's count begins with SourceThe Hacker NewsLangflow's Critical Authenticated RCEUndated, decoy servers set out to draw attackers.

  2. 11 Oct

    Attempts ramp up, with SourceThe Hacker NewsLangflow's Critical Authenticated RCEUndated.

  3. 15 Oct

    316 attempts in one day. By mid-October, Previdian's 3 sourcesLangflow (GitHub security advisory)Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server10 Sep 2026 · first-handThe Hacker NewsLangflow's Critical Authenticated RCEUndatedTheHackerWireCVE-2026-105740: Langflow Critical RCE via Authenticated Command Injection in Stdio TransportUndated, from 28 IP addresses.

GreyNoise and Previdian data show that same address also went after other Langflow and Flowise flaws. The Hacker News sees an unknown actor SourceThe Hacker NewsLangflow's Critical Authenticated RCEUndated, goals unclear.

Where it stands

TheHackerWire says SourceTheHackerWireCVE-2026-105740: Langflow Critical RCE via Authenticated Command Injection in Stdio TransportUndated are vulnerable, so 1.9.0 is the fix. Exploiting it needs SourceTheHackerWireCVE-2026-105740: Langflow Critical RCE via Authenticated Command Injection in Stdio TransportUndated and network access to Langflow's web interface, TheHackerWire notes. Dewhurst recommends upgrading, SourceThe Hacker NewsLangflow's Critical Authenticated RCEUndated and using strong, unique passwords. He also advises reviewing login logs and requests to the MCP servers endpoint.

The Boogey fix

Could one ordinary login make your AI product run a program?

You’re exposed if

  • You run Langflow yourself on a version before 1.9.0, especially where the internet can reach it.
  • Your AI product lets users add their own MCP servers or tool connectors, and some of them start a program on your servers.
  • Any signed-in user, not only an admin, can save or edit those connector settings.
  • Your agent can add or change its own tools when a user or a document asks it to.

Fix it

  1. 01Admins only, checked on the server

    Let only admin accounts add or edit a connector that starts a program, and check the role in your API on every request. Langflow's endpoint took them from SourceLangflow (GitHub security advisory)Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server10 Sep 2026 · first-hand.

  2. 02Approved programs, no shell

    Accept only programs from a fixed list you ship, with arguments passed one by one, never through a shell. Ignore environment variables users set. Langflow passed the command 3 sourcesLangflow (GitHub security advisory)Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server10 Sep 2026 · first-handThe Hacker NewsLangflow's Critical Authenticated RCEUndatedTheHackerWireCVE-2026-105740: Langflow Critical RCE via Authenticated Command Injection in Stdio TransportUndated.

  3. 03Nothing runs on page load

    Start a connector only when a flow calls it, or after an admin approves its exact command. Langflow's ran SourceLangflow (GitHub security advisory)Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server10 Sep 2026 · first-hand.

  4. 04Keep the agent out of its tool list

    Write it into your agent's instructions that it never adds or changes a connector itself. If a user or a document asks, it shows the exact command and leaves the change to an admin. Then give its tools no write access to connector settings.

  5. 05Close the easy logins

    If you run Langflow, move to 1.9.0 or later. Ship your product with auto-login off and no default passwords. Dewhurst saw attackers get in with 2 sourcesThe Hacker NewsLangflow's Critical Authenticated RCEUndatedTheHackerWireCVE-2026-105740: Langflow Critical RCE via Authenticated Command Injection in Stdio TransportUndated.

On your platform

Settings you already have that help against this hack. Last checked 1 Dec 2026.

  • Lock out skip-all-prompts

    In managed settings, set permissions.disableBypassPermissionsMode to "disable" and add deny rules such as Bash(curl *) and Read(./.env).

    How

  • Check every tool call with a hook

    Add a PreToolUse hook that exits 2 or returns permissionDecision "deny". Set allowManagedHooksOnly in managed settings so only an admin’s hooks run.

    How

Every setting for every platform

How we test it

  1. 1Under a signed scope that names this check, and in your staging only, you share your lockfile and our test user signs in with no admin rights. We bring fake data. You install nothing.Being built
  2. 2The test user tries to save a tool connector that starts a program, then asks your agent to add one from a fake setup guide we wrote. Each names a made-up program your servers don’t have.Being built
  3. 3From the lockfile, we flag Langflow below 1.9.0.
Built
BT-08 · Vulnerable MCP server, agent framework or AI library codeBT-04 · Tool misuse by a hijacked agent

It fails if

  • A test user with no admin rights saves a connector that starts a program
  • Your agent adds the connector without an admin's approval
  • Your lockfile has Langflow below 1.9.0
Get started

Do your users, or your agent, add their own tools? We'll run this test on yours. Part of it is still being built.

What it reveals

The connectors around an AI app are server software, and attackers treat them that way. Any setting that starts a program needs a command line's guards. That means admins only, approved programs only, and nothing that runs because a page loaded.