Langflow OSS allows unauthenticated remote code execution via public flow build

High 8.1SE Fix-First Score 45/100CVE-2026-120068SE-AIV-02045Remote code executionAI apps and chat interfacesMade public 3 Dec 2026

Download as PDF

What this means

An attacker with network access to a Langflow server can run arbitrary code on the server without logging in. This could lead to data theft, server takeover, lateral movement into connected systems, and disruption of service.

SecurityElites Manager Brief: the decision in one minute

Langflow OSS versions up to 1.13.0 have a missing security check that lets anyone run code on your server without a password. You need to upgrade to 1.13.1 immediately.

SecurityElites Fix-First Score45 of 100
Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity.
SecurityElites fix windowWithin 30 days
High severity. This is our suggestion from common practice; your own policy comes first.
Who should own the fixPlatform or infrastructure team responsible for Langflow deployments.
Likely effortAbout 30 minutes per deployment: download the new version, follow the upgrade steps for your setup (pip or Docker), and restart. Downtime depends on your deployment method and whether you have a backup ready.

Questions to ask your team or supplier

  • Which of our Langflow OSS instances are reachable from the internet or untrusted networks, and do they require authentication to build or run flows?
  • Do we have logs or monitoring in place that would show unauthorized flow creation or execution, and have we checked those logs for signs of past exploitation?
  • After we upgrade, should we disable public flow build functionality, and what access controls do we need around flow creation and execution?

Message you can forward to the owning team

Security notice: Langflow OSS allows unauthenticated remote code execution via public flow build (CVE-2026-120068)

Severity: High (8.1 of 10)
SecurityElites Fix-First Score: 45 of 100
SecurityElites fix window: Within 30 days
Action: no fixed version is listed yet; apply the risk-reduction steps and watch the vendor advisory.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-120068-langflow-oss-allows-unauthenticated-remote-code-execution-via-public/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-02045

What is at stake in your AI setup

  • Prompts and flow logic: attackers could modify or exfiltrate your AI workflows, model instructions, and system prompts.
  • API keys and credentials: an attacker with code execution can access environment variables and configuration files that store keys for external AI providers, databases, and services.
  • Connected systems and tools: if your Langflow instance can call external APIs, databases, or cloud services, an attacker can use those permissions to access or modify data.
  • Training or retrieval data: if your flows use retrieval-augmented generation or access training datasets, an attacker can read or steal that data.

Map where your company uses AI

Who is exposed

  • Teams running Langflow OSS versions 1.0.0 through 1.13.0 that are reachable from the internet or untrusted networks.
  • Deployments where Langflow is exposed without additional network access controls or a reverse proxy that enforces authentication.
  • Instances where Langflow is used to build or run AI workflows connected to sensitive systems, databases, or API keys.

Upgrades you need

SoftwareAffected versionsMove to
IBM Langflow OSSEvery version up to and including 1.13.0No fixed version recorded. Follow the steps below.

The fixed version here was taken from the wording of the official description, because the national database has not listed it yet.

Am I affected?

Enter the version you run. Nothing you type is stored.

SecurityElites Developer Brief: the technical picture

Where the attacker must beAnywhere that can reach it over a network, including the internet if it is exposed
Account neededNone. No login is needed
Does a person have to do somethingNo. It works without anyone clicking or opening anything
How hard it is to doHard. It depends on conditions the attacker does not control
Risk of: data being readHigh
Risk of: data or settings being changedHigh
Risk of: the service being taken downHigh

Read from the official severity rating: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Kind of coding mistake

  • CWE-862: a permission check is missing

What the vendor says

Fix: IBM strongly recommends addressing these vulnerabilities now by upgrading Langflow OSS installations to Langflow OSS 1.13.1. Review the Langflow OSS 1.13.1 release notes and follow the installation instructions for your deployment: Python package: install Langflow 1.13.1 from PyPI with pip install --upgrade "langflow==1.13.1", following the installation instructions. Docker: use langflowai/langflow:1.13.1 and follow the Docker upgrade instructions to pull the image and restart the deployment while preserving its persistent data. Some of these issues were first addressed in earlier Langflow OSS releases (1.11.2, 1.12.6, 1.12.7, and 1.13.0); those corrections are included in Langflow OSS 1.13.

If you cannot upgrade today

  • Until you can upgrade, restrict network access to Langflow to trusted IP addresses or networks only, using firewall rules or a reverse proxy.
  • If you have a reverse proxy or API gateway, ensure it enforces authentication on all endpoints, including public flow build endpoints.
  • Disable or remove public flow build functionality in the Langflow configuration if it is not required for your use case.

Signs it may already have been used against you

  • Review flow execution logs and audit logs for the past week. Look for flows that were created or executed by unknown or unauthenticated users, or at times when no legitimate activity was expected.
  • Check server process logs and system logs for new processes or commands that were started unexpectedly, especially Python code execution, shell commands, or access to files or environment variables.
  • Look for HTTP or API requests to public flow build endpoints from IP addresses that are not from your known users or systems.
  • Review any flows that use unusual code, shell commands, file I/O, or network calls, especially if they were created recently or by unknown users.

Log searches to start from

Flows created by unauthenticated or unknown usersSplunk

source=langflow_audit_log action=flow_created OR action=flow_executed | where user=null OR user="" OR user="anonymous" | table _time, user, action, flow_name

Unusual code execution on Langflow serverElastic

source:langflow AND (event.action:"exec" OR process.parent.name:*python* OR command_line:*subprocess*) AND NOT user:*trusted_user* | fields @timestamp, host, process, user

Written with AI as a starting point. Review them and change the index and field names to match your own logs before you rely on the result.

SecurityElites Fix Guide: step by step

  1. Find all Langflow OSS installationsSearch your infrastructure for running Langflow instances. Check Docker containers, Python virtual environments, and cloud deployments.
  2. Check the current versionFor Python installations, run `pip show langflow` and note the Version line. For Docker, run `docker inspect langflowai/langflow:latest | grep version` or check your deployment manifest to see which image tag you are using.
  3. Assess exposure before upgradeDetermine whether each Langflow instance is reachable from the internet, from untrusted networks, or only from internal trusted systems. Check firewall rules, reverse proxy settings, and network policies. Document any that are exposed or have public access enabled.
  4. Check logs for signs of exploitationReview server logs, authentication logs, and flow execution logs from the past week to see whether unusual code has been run or unexpected flows have been created or executed.
  5. Upgrade to Langflow OSS 1.13.1 (Python)If you use the Python package, run `pip install --upgrade "langflow==1.13.1"`. Follow any additional steps provided by your Python environment or container orchestration system.
  6. Upgrade to Langflow OSS 1.13.1 (Docker)If you use Docker, update your deployment manifest or docker-compose file to use the image `langflowai/langflow:1.13.1`. Pull the new image, then restart the container while preserving persistent data volumes.
  7. Verify the upgradeAfter restart, check that the version is now 1.13.1 using the same commands from the check step. Confirm that Langflow is running and responding to requests.
  8. Review and restrict accessIf the instance was exposed to the internet, restrict access using network policies, firewall rules, or a reverse proxy that enforces authentication. Consider whether public flow build functionality needs to be enabled; if not, disable it in Langflow configuration.

How to confirm it is fixed: Run `pip show langflow | grep Version` or `docker inspect langflowai/langflow | grep version` and confirm the output shows version 1.13.1 or later.

SecurityElites Quick Fixes: copy and paste

Check Langflow version (Python)for this issue

pip show langflow | grep Version

Check Langflow version (Docker)for this issue

docker inspect langflowai/langflow | grep -i version

Run the service in a locked-down containergeneral hardening

docker run --read-only --cap-drop ALL \
  --security-opt no-new-privileges --user 1000:1000 \
  -p 127.0.0.1:8080:8080 YOUR_IMAGE

Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.

SecurityElites Incident Drill: could your team handle this?

Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.

What versions of Langflow OSS are affected by this vulnerability, and what version fixes it?A good answer: Versions 1.0.0 through 1.13.0 are affected; version 1.13.1 fixes the issue.
What would an attacker be able to do if they found one of our vulnerable Langflow instances?A good answer: They could run arbitrary code on the server without logging in, allowing them to steal data, access connected systems, or take over the server.
What should we check in our logs to see if this vulnerability was already exploited?A good answer: Look for flows that were created or executed by unknown or unauthenticated users, or unexpected processes and code execution on the Langflow server.
If we cannot upgrade immediately, what can we do to reduce the risk?A good answer: Restrict network access to Langflow to trusted IP addresses only, use a reverse proxy with authentication, and disable public flow build functionality if it is not needed.

Run a full timed drill with your team

Ticket for your backlog

Paste into Jira, GitHub Issues or any tracker that reads Markdown.

Ready-made ticket

## Langflow OSS allows unauthenticated remote code execution via public flow build (CVE-2026-120068)

**Severity:** High 8.1  |  **SE Fix-First Score:** 45/100  |  **Fix window:** Within 30 days
**Record:** SE-AIV-02045 https://securityelites.com/ai-vulnerabilities/cve-2026-120068-langflow-oss-allows-unauthenticated-remote-code-execution-via-public/

### Why this matters
An attacker with network access to a Langflow server can run arbitrary code on the server without logging in. This could lead to data theft, server takeover, lateral movement into connected systems, and disruption of service.

### What to do
1. Find all Langflow OSS installations
2. Check the current version
3. Assess exposure before upgrade
4. Check logs for signs of exploitation
5. Upgrade to Langflow OSS 1.13.1 (Python)
6. Upgrade to Langflow OSS 1.13.1 (Docker)
7. Verify the upgrade
8. Review and restrict access

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-120068-langflow-oss-allows-unauthenticated-remote-code-execution-via-public/

### Done when
- [ ] The risk-reduction steps are applied and the vendor advisory is being watched for a fixed version
- [ ] Lock files, container images and CI configuration are updated
- [ ] Run `pip show langflow | grep Version` or `docker inspect langflowai/langflow | grep version` and confirm the output shows version 1.13.1 or later.
- [ ] Logs were checked for signs of earlier use

SecurityElites Fix Tracker

Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.

Sign in to track this fix

Change history

  • 3 Dec 2026: Made public
  • 3 Dec 2026: Fixed version added, from the vendor's own CVE record
  • 3 Dec 2026: Fixed version added, from the wording of the official description
  • 3 Dec 2026: Published
  • 3 Dec 2026: Fixed version added, from the wording of the official description

Official record

IBM Langflow OSS 1.0.0 through 1.13.0 could allow an unauthenticated attacker to execute arbitrary code on the server due to a missing authorization check in the public flow build functionality.

Weakness type: CWE-862

Use this record in your own tools

Get this record as JSON

curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-120068

For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker

The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 3 Dec 2026. Read the vendor advisory before changing a production system.