Critical Langflow Flaws Allow Unauthenticated Code Execution on AI Workflow Servers

Two critical vulnerabilities in Langflow, the open-source framework for building AI agents and workflows, could allow remote attackers with no credentials to either bypass authentication or execute arbitrary code on affected servers. IBM, which receives vulnerability reports for the project, disclosed the issues last week, and the only remediation is upgrading to version 1.13.0.

According to the source report, every release from 1.0.0 through 1.12.8 is affected. That is a broad exposure window for a tool that has become popular with teams assembling retrieval-augmented generation pipelines, chatbot backends, and multi-agent orchestration layers.

Why Langflow Matters to Attackers

Langflow sits at a sensitive point in the AI stack. It provides a visual builder and API layer through which developers wire together language models, vector databases, tool calls, and custom Python components. Because those components frequently execute code and handle credentials for downstream services, a flaw that lets an unauthenticated user reach the execution path is far more serious than a typical web application bug. Compromise of a Langflow instance can mean access to model provider API keys, connected databases, and the internal network the server can reach.

The Two Flaws at a Glance

The disclosure describes two distinct critical issues: one permitting authentication bypass, and another enabling arbitrary code execution. The combination is especially dangerous. An authentication bypass alone exposes administrative functionality; code execution alone may require some level of access. Together, they suggest an unauthenticated attacker could move from initial reachability to running their own code on the host.

The advisory does not, in the summarized reporting, specify whether exploitation requires a particular configuration or feature to be enabled. Organizations running Langflow should assume the worst case and treat internet-facing instances as compromised until proven otherwise, particularly if the deployment predates the fix.

No Known Exploitation — Yet

The report notes that neither flaw appears in CISA's Known Exploited Vulnerabilities catalog at the time of writing. That is reassuring but not a reason to delay patching. AI tooling has become an attractive target for both opportunistic scanning and targeted intrusion, and the gap between public disclosure and exploitation has narrowed considerably across the ecosystem. Public proof-of-concept code often follows disclosure within days.

Remediation Guidance

  1. Upgrade to 1.13.0 immediately. This is the only version that addresses both issues. There is no patch for earlier releases.
  2. Inventory your deployments. Langflow is frequently spun up in development, proof-of-concept, and internal tooling environments that escape formal asset tracking. Search container registries, cloud accounts, and CI pipelines for affected versions.
  3. Remove internet exposure. If an instance cannot be patched right away, take it off the public internet and restrict access to trusted networks or a VPN.
  4. Rotate secrets. Any Langflow deployment that was reachable from untrusted networks should be treated as potentially compromised. Rotate API keys for model providers, database credentials, and any tokens stored in the application's configuration or environment variables.
  5. Review logs for anomalous activity. Look for unexpected requests to API endpoints, unusual component executions, and outbound connections to unfamiliar hosts.

The Broader AI Supply Chain Problem

This disclosure fits a pattern that security teams should internalize. The rapid adoption of AI orchestration frameworks has outpaced the maturity of their security review. Langflow is not unique in exposing a rich, code-executing surface to the network by default; it is simply one of the more visible examples. Many of these platforms are deployed by data scientists and ML engineers rather than by infrastructure teams, which means they often bypass the hardening, patching, and network segmentation controls applied to conventional applications.

Security leaders should extend vulnerability management and asset inventory to AI tooling explicitly. That means including these frameworks in SBOM and dependency tracking, applying the same internet-exposure rules used for other production services, and ensuring that whoever operates them knows where to route security advisories.

Bottom Line

If your organization runs Langflow, verify the version today. Anything below 1.13.0 carries two critical, unauthenticated attack paths. Patch, restrict exposure, and rotate credentials — in that order.

Source: The Hacker News — Critical Langflow Flaws Could Let Unauthenticated Attackers Run Code on Servers