Actively exploited in the wild. This CVE is on the CISA Known Exploited Vulnerabilities list — treat remediation as urgent. Federal remediation due by 8 Apr 2026.
LangflowApplication

CVE-2026-33017

CRITICAL · 9.8 CVSS v3.1 Published 2026-03-20
Fix available
A fix is available. Upgrade to 1.8.2 or later.
See remediation →
100/100
Remediation priority · Urgent
In the wild High EPSS Public exploit Remotely reachable No privileges Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Langflow build_public_tmp endpoint accepts optional attacker-controlled flow data containing arbitrary Python code in node definitions, which gets passed to exec() with zero sandboxing. Since this endpoint is intentionally designed to be unauthenticated for public flows, any unauthenticated attacker can achieve remote code execution by supplying malicious flow data.

MitigationUpgrade to Langflow version 1.9.0 or later. If immediate patching is not feasible, restrict or disable access to the /api/v1/build_public_tmp/{flow_id}/flow endpoint at the network level until the upgrade can be completed.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
LangflowApplication
Affected:< 1.8.2

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Confirm Langflow is installed
    Run 'pip show langflow' or check for langflow process running (ps aux | grep langflow)
    Affected if Langflow is installed and running
  2. Check installed Langflow version
    Run 'pip show langflow' and note the Version field, or check the running service's version endpoint if available
    Affected if Version is less than 1.8.2 (vulnerable) or cannot be determined (treat as vulnerable)
  3. Verify vulnerable endpoint exists
    Check if the API endpoint /api/v1/build_public_tmp/{flow_id}/flow is available by reviewing the Langflow source code or routing configuration in the installation directory
    Affected if Endpoint exists in the codebase (pre-1.8.2 versions contain this endpoint)
  4. Check network exposure of API
    Review firewall rules, reverse proxy configuration, or Kubernetes/network policies to determine if the Langflow API port (default 7860) is exposed to untrusted networks or the internet
    Affected if API port is accessible from untrusted networks without authentication controls
  5. Inspect access logs for exploitation attempts
    Check Langflow access logs for POST requests to /api/v1/build_public_tmp/*/flow with unusual data payloads, or look for exec() errors in application logs
    Affected if Suspicious requests found or evidence of successful exploitation in logs

You are affected if Langflow is running with version < 1.8.2 AND the API is accessible to untrusted users, as the vulnerable endpoint requires no authentication and executes arbitrary Python code from the request body.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 1.8.2 or later
Fixed in 1.8.2
Vendor patch github.com →
Interim mitigation

Upgrade to Langflow version 1.9.0 or later. If immediate patching is not feasible, restrict or disable access to the /api/v1/build_public_tmp/{flow_id}/flow endpoint at the network level until the upgrade can be completed.

Recommended fix High confidence

Langflow 1.9.0 or later

  1. Upgrade Langflow to version 1.9.0 or later to resolve the code injection vulnerability
  2. If using pip, run: pip install langflow==1.9.0 or pip install langflow>=1.9.0
  3. If using Docker, update your image to use the 1.9.0 tag or later: docker pull langflowai/langflow:1.9.0
  4. After upgrade, verify the /api/v1/build_public_tmp/{flow_id}/flow endpoint no longer accepts attacker-supplied Python code in the data parameter
  5. Confirm the upgrade by checking the Langflow version (e.g., via API or admin interface)
Caveat Review release notes for 1.9.0 for any breaking changes in flow structure or API behavior; test critical workflows before production deployment

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Langflow Exploited in the wild — priority engagement
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing3.0 h
  • Review / QA2.0 h
9.0 hours of engineering $1,570
Get it fixed fast

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,512.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-33017 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-33017 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data