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

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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 to be exploited: yes. In CISA's catalogue since 2026-03-25. Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Likelihood of exploitation in the next 30 days (EPSS): 96.8%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-03-17T20:05:05.000Z
- Modified: 2026-07-13T16:15:26.964Z
- Also known as: GHSA-vwmf-pq79-vjvx, PYSEC-2026-379
- Weaknesses: CWE-94, CWE-95, CWE-306
- SSVC (CISA-ADP): exploitation active, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- langflow-ai langflow: < 1.9.0
- langflow (PyPI): before 1.9.0
- langflow langflow: before 1.8.2

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `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/E:A`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `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/E:A`

## References

- <https://github.com/langflow-ai/langflow/security/advisories/GHSA-vwmf-pq79-vjvx> (exploit, kev, mitigation, vendor-advisory, web)
- <https://medium.com/@aviral23/cve-2026-33017-how-i-found-an-unauthenticated-rce-in-langflow-by-reading-the-code-they-already-dc96cdce5896> (exploit, third-party-advisory, web)
- <https://github.com/langflow-ai/langflow/commit/73b6612e3ef25fdae0a752d75b0fabd47328d4f0> (patch, web)
- <https://github.com/advisories/GHSA-rvqx-wpfh-mfx7> (advisory, third-party-advisory)
- <https://www.sysdig.com/blog/cve-2026-33017-how-attackers-compromised-langflow-ai-pipelines-in-20-hours> (press/media-coverage, third-party-advisory, web)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-33017> (government-resource, us-government-resource, web)
- <https://github.com/langflow-ai/langflow/releases/tag/1.8.2> (patch, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33017> (advisory, kev)
- <https://github.com/langflow-ai/langflow/issues/12345> (web)
- <https://github.com/langflow-ai/langflow/pull/12160> (web)
- <https://github.com/langflow-ai/langflow> (package)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-33017> (web)
- <https://pypi.org/project/langflow> (package)
- <https://github.com/advisories/GHSA-vwmf-pq79-vjvx> (advisory)

## Sources

- CVE List: [CVE-2026-33017](https://www.cve.org/CVERecord?id=CVE-2026-33017), CVE Terms of Use, modified 2026-05-21
- GitHub Advisory Database: [GHSA-vwmf-pq79-vjvx](https://github.com/advisories/GHSA-vwmf-pq79-vjvx), CC-BY-4.0, modified 2026-06-29
- NVD: [CVE-2026-33017](https://nvd.nist.gov/vuln/detail/CVE-2026-33017), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-379](https://osv.dev/vulnerability/PYSEC-2026-379), CC-BY-4.0, modified 2026-07-13
- CISA KEV: [CVE-2026-33017](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2026-33017), CC0-1.0, modified 2026-03-25

---

Page: https://cve.day/CVE-2026-33017 · Whole record: https://cve.day/CVE-2026-33017.json · Rebuilt by cve.day 2026-11-25T22:59:16.278Z
