SMSMC Blog

Your AI Workflow Tool Was Exploited 20 Hours After Disclosure. Did Anyone Even Know It Was Running?

Langflow was exploited within 20 hours of disclosure. The attackers harvested every API key on the server. If your organization did not know it was running, nobody is rotating those keys right now.

By Jim Venuto

20 hours

Disclosure to active exploitation

9.3 CVSS

Critical severity score

2 critical RCEs

In under 12 months

4 days

Exploited before CISA KEV listing

The Business Risk Nobody Is Talking About

Somewhere in your organization, a developer or data analyst discovered Langflow six months ago. It let them build AI workflows visually, without writing much code. They connected it to an OpenAI API key, maybe an internal database, possibly an AWS credential they had lying around. They spun it up on a company server, internal or cloud-hosted, and never filed a change ticket. Security never reviewed it. Nobody added it to the asset inventory.

On March 21, 2026, a critical remote code execution vulnerability in Langflow was publicly disclosed. CVSS score: 9.3. Within 20 hours, attackers were actively exploiting it in the wild. By the time CISA added it to the Known Exploited Vulnerabilities catalog on March 25, the exploitation window had been open for four days.

If nobody in your organization knew Langflow was running, nobody rotated the API keys stored in its configuration files. Nobody checked whether the server had been accessed. Nobody looked at the .env files that were almost certainly sitting on that host.

This is not a Langflow story. This is a shadow AI story.

What Langflow Is and Why Your Team Probably Has It

Langflow is an open-source, visual workflow builder for AI applications. It lets developers construct multi-step AI pipelines by dragging and dropping components: connect a prompt to an LLM, chain it to a vector database, hook it to an API endpoint. No deep coding required. IBM backs it. It has over 145,000 stars on GitHub. It is widely used.

That popularity is precisely what makes it a governance problem. Langflow sits in a category of tools that are technically sophisticated but operationally invisible to security teams. The appeal — low friction, no code review required, fast iteration — is also the risk profile. Non-security-trained staff deploy it directly on company infrastructure. They connect it to production API keys for OpenAI, Anthropic, AWS, or internal databases. They configure it with credentials stored in plaintext .env files on the host. And because nobody filed a ticket, nobody in IT knows it exists.

This is the definition of shadow AI infrastructure: AI tooling that is operationally active, connected to production resources, and outside the visibility of your security program.

Active Exploitation Confirmed: CVE-2026-33017 is CISA KEV-listed as of March 25, 2026. If you have Langflow running and have not upgraded to version 1.9.0, your host is exposed to unauthenticated remote code execution. Do not wait.

CVE-2026-33017: What the Vulnerability Actually Is

CVE-2026-33017 is an unauthenticated remote code execution vulnerability in Langflow’s API endpoint. The root cause is Python’s exec() function being called with user-supplied input and no meaningful sandboxing. An attacker sends a single crafted HTTP POST request to a specific endpoint. No authentication required. No prior access needed. One request and the attacker is executing arbitrary code with the privileges of the Langflow process.

In most self-hosted deployments, that process runs as root or as a privileged service account. The attacker owns the box.

What made exploitation so fast — 20 hours from advisory to active attacks — is that no proof-of-concept code was needed. Attackers read the advisory, understood the vulnerable code path, and built working exploits directly from the description. The technical bar was low. The exploitation timeline reflects that.

CISA’s KEV listing on March 25 mandated that federal agencies patch by April 8, 2026. For any organization with Langflow in their environment, that federal deadline is an upper bound, not a target. Treat it as already past.

This Is the Second Time in Under a Year

CVE-2026-33017 did not emerge in a vacuum. In May 2025, Langflow was hit with CVE-2025-3248 — a nearly identical pattern. Also unauthenticated RCE, also CISA KEV-listed, also actively exploited. Threat researchers documented 361 malicious IP addresses conducting active exploitation. The Flodrix botnet was among the actors. Organizations patched. And then, apparently, many of them stopped asking the follow-up question.

The question that should have followed the first CVE was: what else like this is running in our environment? What other open-source AI tools did developers deploy quietly in the last 18 months? What credentials did they store in .env files on those hosts?

Two critical unauthenticated RCEs in the same product in under a year is a pattern. If your organization patched the first one and moved on, you treated a governance failure as a patch management problem.

Patch management is necessary. It is not sufficient. The underlying issue is that the tool was deployed without oversight in the first place. Patching it does not address the dozens of other AI tools sitting in your environment under the same conditions.

The Governance Gap That Made This Possible

The gap is not technical. It is organizational. Security teams have reasonable processes for reviewing new software deployments — change management tickets, security reviews, asset inventories. Those processes were built for enterprise software. They were not built for the current wave of open-source AI tooling that developers can spin up in an afternoon without involving IT. The governance framework has not caught up to the deployment velocity.

What the Credential Harvest Actually Means

When an attacker gains code execution on a Langflow host, the credential harvest is the primary objective. Langflow hosts routinely contain:

  • .env files with API keys for OpenAI, Anthropic, Hugging Face, and similar services
  • Database connection strings for PostgreSQL, MySQL, or MongoDB instances
  • AWS, GCP, or Azure credentials for cloud-hosted AI infrastructure
  • Internal service tokens and webhook secrets from connected workflows
  • Vector database API keys for embeddings and retrieval systems

Sysdig’s threat research team documented the exploitation timeline and confirmed that credential harvesting begins within 24 hours of initial access. This is not attackers being methodical — it is automated. Scripts enumerate environment variables, read .env files, scan for credential patterns, and exfiltrate everything found before the first human analyst even sees an alert.

One Langflow exploit does not just compromise the Langflow server. It compromises every service that server had credentials for. That is your AI supply chain. A single unpatched host becomes the pivot point for a multi-system breach.

Credential Rotation Is Not Optional: If your Langflow instance was publicly accessible at any point after March 21, 2026, assume the credentials stored on that host are compromised. Rotate them regardless of whether you see signs of exploitation.

SLED Organizations: The Federal Deadline Does Not Cover You

CISA’s April 8 mandate applies to federal civilian executive branch agencies. State, local, education, and tribal organizations operate under no equivalent enforcement deadline for CVE-2026-33017. The vulnerability is the same. The exploitation risk is the same. The mandate is not.

SLED organizations are high-value targets precisely because of this gap. They hold sensitive constituent data, student records, and public safety information. They tend to have fewer dedicated security staff than federal agencies. And the absence of a federal mandate creates the organizational psychology that allows “we’ll get to it” to persist far longer than it should.

If you are in a SLED environment and Langflow or any similar AI workflow tool is running in your infrastructure, the remediation timeline is identical to a federal agency’s. The threat actors do not check whether you’re a municipality before running their scripts.

What to Do Right Now

Remediation has two phases: the immediate Langflow response and the broader AI governance response. Both matter. Only doing the first one repeats the pattern from CVE-2025-3248.

Immediate Langflow Response

  • Upgrade Langflow to version 1.9.0 or later immediately — this is the patched release
  • Audit all .env files and configuration files on the Langflow host and rotate every credential found
  • Set AUTO_LOGIN=false in your Langflow configuration to eliminate unauthenticated access
  • Remove public internet access to Langflow endpoints — require VPN or internal-only network access
  • Review Langflow access logs for unusual HTTP POST requests to API endpoints between March 21 and today
  • Check the host for indicators of compromise: new processes, unexpected outbound connections, modified startup scripts, or dropped binaries
  • If you find evidence of access, do not just patch and move on — isolate the host, preserve logs, and work through a proper incident response process

AI Tool Inventory: The Work That Actually Prevents the Next One

  • Conduct a full AI tool deployment inventory across your environment: Langflow, n8n, Flowise, LangChain, and similar self-hosted workflow tools
  • Include developer workstations, internal servers, and cloud instances in the scope — shadow AI lives everywhere
  • Add all identified AI tool deployments to your risk register with asset owner, credential inventory, and patch status
  • Establish a lightweight approval process for future AI tool deployments — not a six-week review, but a checkpoint that creates visibility
  • Review credentials stored in AI tools that connect to production systems and determine which need rotation on a schedule

The Leadership Question

NIST Cybersecurity Framework 2.0 introduced the Govern function as a first-class pillar alongside Identify, Protect, Detect, Respond, and Recover. The Govern function is about organizational context: establishing the policies, roles, and oversight structures that make everything else work. It is where AI governance lives.

The questions the Govern function asks of your AI tool posture are direct:

  • Do you have an inventory of AI tools deployed in your environment?
  • Is there an approval process for new AI tool deployments that includes a security checkpoint?
  • Do you have a mechanism to detect shadow AI — tools deployed without that approval?
  • Are the credentials used by AI tools inventoried and subject to rotation policies?
  • Is AI tool security assigned to a specific role with accountability?

If the honest answer to most of those questions is no, Langflow is your proof of concept for why that matters. It is not a hypothetical risk model. It is a real exploit chain that is actively running against organizations whose answer to those questions was also no.

The good news is that the governance gap is closeable. It does not require buying new tools or running a six-month program. It requires doing the inventory, establishing the checkpoint, and assigning the accountability. Those are organizational decisions, not technical ones. They can be made quickly when leadership understands what is at stake.

What is at stake is this: every AI workflow tool your team deploys connects to credentials. Those credentials connect to data, systems, and services. An unpatched, ungoverned AI tool is not just a vulnerable server — it is an unguarded door into every system it touches.

Hudson Valley CISO Can Help

Security Medic Consulting delivers AI governance assessments that identify ungoverned AI tools before attackers do. We conduct AI tool inventories, review credential exposure, and help you build the lightweight governance processes that close this gap — without the overhead of enterprise-scale programs your team does not have time for.

Talk to a Fractional CISO

Sources and References

  1. CISA (2026). Known Exploited Vulnerabilities Catalog — CVE-2026-33017. cisa.gov/known-exploited-vulnerabilities-catalog
  2. Sysdig Threat Research Team (2026). CVE-2026-33017: How attackers compromised Langflow AI pipelines in 20 hours.
  3. Lakshmanan, R. (2026, March 20). Critical Langflow Flaw CVE-2026-33017 Triggers Attacks within 20 Hours of Disclosure. The Hacker News.
  4. Toulas, B. (2026, March 26). CISA: New Langflow flaw actively exploited to hijack AI workflows. Bleeping Computer.
  5. Zorz, Z. (2026, March 27). CISA sounds alarm on Langflow RCE after rapid exploitation. Help Net Security.
  6. Qualys ThreatPROTECT (2026). CVE-2026-33017 advisory and detection guidance.
  7. National Institute of Standards and Technology (2024). The NIST Cybersecurity Framework 2.0. U.S. Department of Commerce. doi.org/10.6028/NIST.CSWP.29