Critical Langflow Flaws: Upgrade to 1.13.0 Now
Updated November 28, 2026: the critical login-bypass and code-execution flaws are fixed in 1.13.0, and the current Langflow release is 1.13.4. If you have not upgraded yet, go straight to 1.13.4.
If you've built an AI agent or chatbot with Langflow and it runs on a server, this one is for you. Two critical security flaws in Langflow let someone with no account get past the login or run their own code on your server. The fix is to upgrade to 1.13.0 or later. The current release is 1.13.4.
If you don't use Langflow, you can skip this. If you're not sure, ask whoever built your AI workflows.
The short version
- Affected: every Langflow release from 1.0.0 through 1.12.8, according to IBM's security bulletin.
- Fixed in: Langflow 1.13.0, released October 22. Version 1.12.8 came out the same day and is still affected.
- Workaround: none. IBM doesn't offer one for servers that can't upgrade yet.
What happened
Langflow is an open-source tool for building AI agents and workflows by connecting blocks together. Its security reports go to IBM, which published a bulletin on October 28 listing four flaws. The Hacker News covered it on November 2.
The two that matter most are both rated 9.8 out of 10. One lets an attacker bypass login. The other lets them run code on the server, and IBM says it can be reached through MCP tool listing. MCP (Model Context Protocol) is the feature that lets Langflow offer your flows as tools to other AI apps. Neither one needs an account.
The other two are less severe but still worth fixing. One lets a user with a basic account get the built-in Agentic Assistant to run system commands on the server. The other can leak stored credentials to a logged-in user.
How bad is it?
As of the October 30 update, neither critical flaw was on the US government's list of bugs known to be used in real attacks. But there's already a public Metasploit module (a widely used hacking toolkit) for the login bypass. It connects to a Langflow server's MCP endpoint without a password and lists the tools on offer. It doesn't run code by itself, but it shows how easy the first step is.
There's also a setting to know about. When automatic login is on, Langflow signs everyone in as an admin without asking for a password. It's on by default in 1.12.8, and Langflow's own code says it should only be used for development. The Metasploit module was tested with it turned on.
Langflow has a track record here too. Six earlier Langflow flaws are already on that known-exploited list, so attackers clearly pay attention to it.
What to do now
If your Langflow server can be reached from the internet, treat this as today's job:
- Back up the database, the secret key and any uploaded files first.
- If you use automatic login, set up a real password sign-in for your account before you upgrade. Version 1.13.0 turns automatic login off by default.
- Upgrade with
pip install --upgrade "langflow==1.13.2", or switch your Docker image tolangflowai/langflow:1.13.2and keep your saved data. - If you can't sign in after the upgrade, follow Langflow's recovery steps. Don't delete or reinstall Langflow to get back in, because its docs warn that can wipe your flows.
If you can't upgrade today, at least take the server off the public internet until you can. Also check which API keys your flows use. If the server was exposed with automatic login on, change those keys.
The bigger lesson
AI workflow tools often hold your most sensitive keys, like your OpenAI key, database login and CRM access, all in one place. That makes them a great target. Keep them behind a login, off the open internet when you can, and update them as quickly as you'd update your main website.
One more heads-up
The Next.js security release that was due on November 3 has shipped. If your site runs on Next.js, upgrade to 16.4.6 (or 15.5.29 if you are on 15.5). We wrote up the details in this post.