7,000 Langflow servers exposed to active attacks

According to multiple security research teams, more than 7,000 Langflow servers are currently accessible from the public internet and under active attack. The vulnerable systems, which run the open-source AI workflow platform, allow attackers to chain basic injection flaws into full remote code execution (RCE). Check Point Research, Tenable, and VulnCheck have each reported that the same class of vulnerabilities affects LangGraph and LangChain, two of the most widely deployed frameworks for building AI agents. The attacks reportedly exploit known bug patterns — such as SQL injection in checkpointers — that were previously considered low-risk in traditional applications. In this context, however, the flaws give attackers direct shell access to servers storing OpenAI API keys, database credentials, and CRM tokens. The researchers emphasize that this is not a hypothetical scenario; they have observed active exploitation campaigns targeting these exposed instances since early 2026.

LangGraph SQLite checkpointer leads to full RCE

Check Point Research detailed how a SQL injection vulnerability in LangGraph's SQLite-based checkpointer can be chained into full remote code execution. The checkpointer is a core component that saves and restores agent state across conversations, but it was not designed to sanitize user-supplied input properly. By injecting malicious SQL commands through the checkpointer, an attacker can execute arbitrary Python code on the server. This gives them a shell with the same privileges as the running agent, which typically has access to environment variables containing API keys and database connection strings. The researchers demonstrated that the attack does not require authentication, as many LangGraph deployments expose the checkpointer endpoint publicly. They recommend immediately restricting network access to the checkpointer and applying input validation patches. The vulnerability affects all versions of LangGraph prior to the latest security update released in February 2026.

LangChain and Langflow share the same flaw pattern

Tenable and VulnCheck independently confirmed that LangChain and Langflow contain similar vulnerabilities to the one found in LangGraph. The common thread is that all three frameworks use SQLite as a default state store for agent memory and checkpointing, and none of them properly parameterize user input before executing queries. In LangChain, the vulnerability resides in the built-in conversation buffer memory module, which stores chat history in an SQLite database. By crafting a malicious message containing SQL commands, an attacker can manipulate the database and, in some configurations, execute arbitrary code. Langflow, which provides a visual interface for building LangChain workflows, exposes the same flaw through its REST API endpoints. The researchers noted that the attack surface is amplified because these frameworks are often deployed with default settings that expose management interfaces to the internet. They urge developers to switch to parameterized queries or use memory stores that do not rely on raw SQL execution.

Why AI agent frameworks are uniquely vulnerable

Security researchers argue that AI agent frameworks are particularly susceptible to these attacks because of their architectural design. Unlike traditional web applications, which typically separate user input from database queries, agent frameworks often embed database operations directly into the agent's execution loop. This means that any input the agent processes — whether from a user, an external API, or a tool call — can potentially be passed to a SQLite database without proper sanitization. Furthermore, these frameworks frequently run with elevated privileges because they need access to sensitive resources like language model APIs, cloud storage, and internal databases. A successful exploit therefore gives attackers a high-value entry point into an organization's infrastructure. The researchers also highlighted that the rapid adoption of AI agents has outpaced security best practices, with many developers deploying these frameworks without understanding the underlying security implications. They recommend that organizations conduct thorough security reviews of any agent framework before deployment and implement network segmentation to limit exposure.

Immediate mitigation steps for organizations

Organizations using LangGraph, LangChain, or Langflow should take immediate steps to protect their deployments, according to the researchers. First, they should apply the latest security patches released by each framework's maintainer in February 2026. Second, they must restrict network access to any management interfaces, checkpointers, or memory endpoints — these should never be exposed to the public internet. Third, developers should replace default SQLite memory stores with alternatives that use parameterized queries or no SQL at all, such as Redis or in-memory stores. Fourth, organizations should audit their agent deployments for any signs of compromise, including unexpected outbound connections, modified databases, or new user accounts. Finally, the researchers recommend implementing least-privilege principles for agent processes, ensuring they have only the minimum permissions needed to function. They also advise monitoring for unusual SQL queries or shell commands in agent logs. The security community expects additional vulnerabilities to be discovered in these frameworks as attackers continue to probe them.