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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: Low
- **Exploited in the wild:** Yes: in CISA KEV since 2026-03-25; federal due date 2026-04-08
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 27.56% (percentile 99, 2026-11-26)
- **CWE:** CWE-94, CWE-95, CWE-306
- **Aliases:** EDB-52627, GHSA-vwmf-pq79-vjvx, PYSEC-2026-379
- **Published:** 2026-03-17T20:05:05.000Z
- **Modified:** 2026-07-13T16:15:26.964Z

## Who should check

- Projects that depend on PyPI package langflow (\< 1.9.0)
- Anyone running langflow-ai langflow \< 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.

## Affected and fixed versions

- PyPI `langflow`: affected \< 1.9.0; fixed 1.9.0 (osv)
- langflow-ai langflow: \< 1.9.0 (cvelist)

## Mitigation

- Upgrade langflow to 1.9.0 or later.

## Timeline

- 2026-03-17: Published
- 2026-03-25: Added to CISA KEV (exploited in the wild)
- 2026-04-08: CISA remediation due date for US federal agencies
- 2026-07-13: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-33017. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-33017.md
Affected: langflow < 1.9.0
Fixed in: 1.9.0

Steps:
1. Search this machine and project for langflow (PyPI), langflow-ai langflow: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-33017 being exploited?

Yes. CISA lists CVE-2026-33017 in its Known Exploited Vulnerabilities catalog since 2026-03-25, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 27.56% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-33017?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-33017?

langflow \< 1.9.0.

### Is there a fix for CVE-2026-33017?

Yes. Fixed in 1.9.0. Upgrade langflow to 1.9.0 or later.

### How do I check if I'm affected by CVE-2026-33017?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/langflow-ai/langflow/security/advisories/GHSA-vwmf-pq79-vjvx>
- vendor: <https://github.com/advisories/GHSA-rvqx-wpfh-mfx7>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-33017>
- vendor: <https://github.com/advisories/GHSA-vwmf-pq79-vjvx>
- patch: <https://github.com/langflow-ai/langflow/commit/73b6612e3ef25fdae0a752d75b0fabd47328d4f0>
- patch: <https://github.com/langflow-ai/langflow/releases/tag/1.8.2>
- patch: <https://github.com/langflow-ai/langflow/pull/12160>
- exploit: <https://medium.com/@aviral23/cve-2026-33017-how-i-found-an-unauthenticated-rce-in-langflow-by-reading-the-code-they-already-dc96cdce5896>
- exploit: <https://www.exploit-db.com/exploits/52627>
- article: <https://www.sysdig.com/blog/cve-2026-33017-how-attackers-compromised-langflow-ai-pipelines-in-20-hours>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-33017>
- other: <https://github.com/langflow-ai/langflow/issues/12345>
- other: <https://github.com/langflow-ai/langflow>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-33017>
- other: <https://pypi.org/project/langflow>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-33017>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-vwmf-pq79-vjvx> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-379> (license: <https://creativecommons.org/licenses/by/4.0/>)
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/52627>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2026-33017> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-33017>
