Langflow OSS allows authenticated users to run arbitrary code on the server

Critical 9.9SE Fix-First Score 54/100CVE-2026-115550SE-AIV-02039Remote code executionAI apps and chat interfacesMade public 3 Dec 2026

Download as PDF

What this means

An attacker with a valid login to Langflow OSS can run any code they want on the server where Langflow runs. This means they could steal data, change workflows, take over other accounts, or use the server to attack other systems on the network.

SecurityElites Manager Brief: the decision in one minute

Langflow OSS versions 1.13.0 and earlier have a critical flaw that lets logged-in users run arbitrary code on your server. You must upgrade to version 1.13.1 immediately to close this hole.

SecurityElites Fix-First Score54 of 100
Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity.
SecurityElites fix windowWithin 7 days
Critical severity. This is our suggestion from common practice; your own policy comes first.
Who should own the fixPlatform or infrastructure team responsible for Langflow OSS deployments.
Likely effortAbout 15 to 30 minutes per deployment: download the new version, run the upgrade command, verify it works, and restart the service. If you use Docker and have multiple instances, it may take longer.

Questions to ask your team or supplier

  • Do we have a complete list of all Langflow OSS deployments, and do we know the version running on each one?
  • What user accounts have access to our Langflow instances, and do they all need to have full access, or should we restrict permissions?
  • Are there any keys, API credentials, or sensitive data stored in Langflow that an attacker with code execution could access or abuse?

Message you can forward to the owning team

Security notice: Langflow OSS allows authenticated users to run arbitrary code on the server (CVE-2026-115550)

Severity: Critical (9.9 of 10)
SecurityElites Fix-First Score: 54 of 100
SecurityElites fix window: Within 7 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-115550-langflow-oss-allows-authenticated-users-to-run-arbitrary-code/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-02039

What is at stake in your AI setup

  • Keys and credentials for AI providers (OpenAI, Anthropic, etc.) stored in Langflow configuration could be stolen or used to run up your bill.
  • Langflow flows that contain sensitive business logic, prompts, or instructions could be modified to change how the AI behaves or to exfiltrate data.
  • Tools, integrations, and external systems connected to Langflow agents could be used by an attacker to access or modify data outside of Langflow.

Map where your company uses AI

Who is exposed

  • Teams running Langflow OSS version 1.13.0 or earlier with any user accounts.
  • Deployments where Langflow runs with access to sensitive data, APIs, or other systems.
  • Instances exposed to internal networks where employees or contractors have login access.
  • Langflow connected to external data sources, databases, or AI provider 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 neededAn ordinary user account
Does a person have to do somethingNo. It works without anyone clicking or opening anything
How hard it is to doEasy. It works reliably once the attacker can reach it
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:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Kind of coding mistake

  • CWE-94: code can be injected

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 login access to Langflow OSS to only trusted administrators. Remove or disable any user accounts that are not actively needed.
  • Isolate the Langflow server on a network segment with no access to sensitive systems, databases, or external APIs. This limits what an attacker can do if they gain code execution.
  • Monitor Langflow logs and process activity closely for any unexpected code execution or unusual system calls.

Log searches to start from

Unusual process creation or shell commands from Langflow processSplunk

process.parent=langflow OR process.parent=python source="langflow" (process_name=cmd.exe OR process_name=bash OR process_name=sh OR process_name=/bin/*) | table _time, user, process_name, process_command_line

New or modified flows and unusual module imports during suspected exploitation windowElastic

source:langflow* (message:*import* OR message:*__import__* OR event.action:flow_modified OR event.action:flow_created) | table @timestamp, user.name, message

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 installationsList every server, container, or cloud instance where Langflow OSS is deployed. Check your deployment records, container registries, and infrastructure management tools to get the full picture.
  2. Check the version of each installationLog into each Langflow instance and check the version number in the settings or by running a version check command. Note which installations are at version 1.13.0 or earlier.
  3. Back up your Langflow data and configurationIf Langflow stores flows, settings, or other data, export or snapshot them before upgrading. This protects you if the upgrade goes wrong.
  4. Upgrade to Langflow OSS 1.13.1 or laterIf you use the Python package via pip, run: pip install --upgrade "langflow==1.13.1". If you use Docker, pull the image langflowai/langflow:1.13.1, stop the old container, and start the new one using your deployment method (Compose, Kubernetes, etc.), making sure to preserve any persistent storage.
  5. Restart Langflow and verify it startsAfter upgrading, start Langflow and confirm it loads without errors. Test a basic workflow or login to make sure the upgrade succeeded.
  6. Confirm the new version is runningCheck the version number in Langflow settings or via a version check command and confirm it shows 1.13.1 or later.
  7. Review user activity before the upgradeCheck logs for any unusual behavior or commands run by users in the days or weeks before you applied the patch. Look for suspicious activity that could indicate the flaw was exploited.
  8. Revoke and reset user credentials if neededIf you suspect any account was compromised, reset passwords and review which users have access to Langflow. Consider revoking API keys or provider credentials that were accessible via Langflow.

How to confirm it is fixed: Confirm that the installed version of Langflow OSS is 1.13.1 or later by checking the version number in the Langflow user interface or by running the version check command.

SecurityElites Quick Fixes: copy and paste

Check Langflow version via Python packagefor this issue

python -c "import langflow; print(langflow.__version__)"

Check Docker image version via container inspectfor this issue

docker inspect langflowai/langflow:latest | 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 is the attack surface for this flaw, and who can exploit it?A good answer: Only someone with a valid username and password to Langflow can exploit this flaw; random internet users cannot unless your Langflow is public and has weak login credentials.
What is the worst-case outcome if this flaw is exploited?A good answer: An attacker with Langflow login can run arbitrary code on the server, potentially stealing data, modifying workflows, accessing connected systems, or using the server to attack other parts of your network.
How do we know if someone has already exploited this before we upgrade?A good answer: Look for unusual processes, shell commands, or file operations in logs from before the upgrade, and check for new flows or components that look suspicious or were created by users who should not have done so.
What should we do with user accounts after we patch?A good answer: If you suspect any account was used to exploit this flaw, reset that user's password immediately and review what they accessed; also reset any API keys or provider credentials Langflow had access to.

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 authenticated users to run arbitrary code on the server (CVE-2026-115550)

**Severity:** Critical 9.9  |  **SE Fix-First Score:** 54/100  |  **Fix window:** Within 7 days
**Record:** SE-AIV-02039 https://securityelites.com/ai-vulnerabilities/cve-2026-115550-langflow-oss-allows-authenticated-users-to-run-arbitrary-code/

### Why this matters
An attacker with a valid login to Langflow OSS can run any code they want on the server where Langflow runs. This means they could steal data, change workflows, take over other accounts, or use the server to attack other systems on the network.

### What to do
1. Find all Langflow OSS installations
2. Check the version of each installation
3. Back up your Langflow data and configuration
4. Upgrade to Langflow OSS 1.13.1 or later
5. Restart Langflow and verify it starts
6. Confirm the new version is running
7. Review user activity before the upgrade
8. Revoke and reset user credentials if needed

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-115550-langflow-oss-allows-authenticated-users-to-run-arbitrary-code/

### 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
- [ ] Confirm that the installed version of Langflow OSS is 1.13.1 or later by checking the version number in the Langflow user interface or by running the version check command.
- [ ] 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 a remote authenticated attacker to execute arbitrary code due to improper neutralization of special elements used in code ('code injection') related to an in-process sandbox escape via AST filter bypass.

Weakness type: CWE-94

Use this record in your own tools

Get this record as JSON

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

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.