Langflow, the critical flaw that opens the door to hackers in less than a day

Introduction

In the world of artificial intelligence, tools that allow the building of AI applications are becoming increasingly widespread, even among companies and developers who are not specialized in cybersecurity. This very diffusion makes them attractive targets for cybercriminals. The case of the CVE-2026-33017 vulnerability, discovered in the Langflow platform, is a concrete and concerning example of this.

What happened

Langflow is an open source tool that allows users to create AI-based workflows in a visual manner. On March 17, 2026, a critical vulnerability affecting all versions up to and including 1.8.1 was publicly disclosed. The issue had been previously identified on February 26, 2026, by security researcher Aviral Srivastava, who had reported it to the project maintainers.

The vulnerability, classified with a severity score of 9.3 out of 10 on the CVSS scale, allows anyone, without the need to authenticate, to execute arbitrary code on the server hosting Langflow. In simple terms: a malicious actor can issue instructions to the system as if they were the legitimate owner, without having to provide any password or credentials. This occurs because a specific endpoint of the application accepts and executes externally supplied code without any security checks.

The situation became urgent when, just twenty hours after the public disclosure of the flaw, the first exploitation attempts were detected. The attackers conducted reconnaissance activities on the affected systems, attempting to extract credentials and environment variables — that is, configuration information that may contain sensitive data such as access keys to third-party services. The collected data was being sent to an external address not associated with the legitimate system administrators.

Why it matters

Langflow is used by developers and companies to build applications based on language models and artificial intelligence. A compromise of these systems can have serious consequences: data theft, unauthorized access to connected services, operational disruption, and potential reputational damage. The speed with which exploitation began demonstrates how narrow the available time window is to respond after a vulnerability is published.

What companies and users can do

Those using Langflow in production environments should immediately verify which version is in use. If it is version 1.8.1 or earlier, urgent action is required. A patched version, 1.9.0.dev8, is available in the project’s development branch. While awaiting a stable update, it is recommended to restrict access to Langflow systems to trusted networks only and to monitor for any anomalous activity. It is also good practice to review the credentials and access keys present in the environment variables of potentially exposed systems.

Final takeaways

  • Critical vulnerabilities in AI software can be exploited within hours of their public disclosure: timely updating is essential.
  • The absence of authentication at certain endpoints represents a high risk, especially for tools exposed on the internet.
  • Monitoring your own systems and restricting unnecessary access significantly reduces the risk of compromise.

Sources:
https://thehackernews.com/2026/03/critical-langflow-flaw-cve-2026-33017.html
https://www.sysdig.com/blog/cve-2026-33017-how-attackers-compromised-langflow-ai-pipelines-in-20-hours
https://www.infosecurity-magazine.com/news/hackers-exploit-critical-langflow/
https://www.endorlabs.com/vulnerability/cve-2026-33017
https://www.cxodigitalpulse.com/critical-langflow-vulnerability-exploited-within-hours-of-public-disclosure/
https://cibersafety.com/en/cve-2026-33017-langflow-rce-without-authentication/

Source: CSIRT Italia