Langflow OSS allows remote code execution through arbitrary module import

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

Download as PDF

What this means

An attacker with login access to Langflow OSS can run any code on the server where it is installed. This means they could steal data, change workflows, take over the entire system, or use it to attack other systems on the network.

SecurityElites Manager Brief: the decision in one minute

Langflow OSS up to version 1.13.0 lets anyone with a login password run code on your server. Upgrade to 1.13.1 immediately.

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 fixInfrastructure or platform team
Likely effortAbout 15 minutes per deployment: download the new version, upgrade using pip or Docker, and restart. Downtime depends on your setup; Docker upgrades can preserve data if done correctly.

Questions to ask your team or supplier

  • Do we have a current inventory of all Langflow OSS deployments, including version numbers and what data or systems they can access?
  • Who has login access to each Langflow OSS instance, and have we reviewed those accounts recently for unused or shared credentials?
  • What authentication logs do we retain, and can we review them from before the upgrade to detect any unauthorized access?

Message you can forward to the owning team

Security notice: Langflow OSS allows remote code execution through arbitrary module import (CVE-2026-115555)

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-115555-langflow-oss-allows-remote-code-execution-through-arbitrary-module/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-02040

What is at stake in your AI setup

  • Keys for external AI providers: an attacker could use them to make API calls at your expense or extract them for reuse.
  • Tools and systems the agent is connected to: an attacker could query or modify connected databases, APIs, or cloud services.
  • Prompts and chat history: an attacker could read sensitive instructions, user queries, or business logic stored in workflows.
  • Training or retrieval data: an attacker could read or exfiltrate documents, embeddings, or other data used to build or fine-tune models.

Map where your company uses AI

Who is exposed

  • Teams running Langflow OSS versions 1.0.0 through 1.13.0 in production or development.
  • Any deployment accessible to multiple users or used in shared environments.
  • Systems where Langflow connects to databases, APIs, or other internal tools.

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

  • Restrict access to Langflow OSS to trusted users only. Remove or disable accounts that are not actively used.
  • If upgrade is delayed, block unauthenticated access and monitor login attempts closely. Upgrade as soon as possible.

Signs it may already have been used against you

  • Review authentication logs for successful logins, especially from unfamiliar IP addresses or at unusual times.
  • Search application logs for imports of unexpected Python modules or code execution statements that do not match known workflows.
  • Check system process logs for unexpected child processes spawned by the Langflow service, particularly shells or interpreters.
  • Look for unusual network connections initiated from the Langflow process to external hosts or internal services.

SecurityElites Fix Guide: step by step

  1. Find all Langflow OSS installationsCheck all servers, containers, and development machines where Langflow OSS is running. Note the deployment method (Python pip or Docker) and the current version for each.
  2. Check the current versionFor pip installations, run `pip show langflow` and check the Version field. For Docker, run `docker images | grep langflow` and note the tag. Any version up to and including 1.13.0 is affected.
  3. Back up data before upgradingIf Langflow stores flows or configuration locally, make a backup. For Docker, ensure you know where persistent data is stored (volumes or bind mounts) so it is not lost during the upgrade.
  4. Upgrade to Langflow OSS 1.13.1 (pip)On systems using pip, run `pip install --upgrade "langflow==1.13.1"` and follow any on-screen prompts. Then restart the Langflow service or application.
  5. Upgrade to Langflow OSS 1.13.1 (Docker)Pull the new image with `docker pull langflowai/langflow:1.13.1`. Stop the old container, then start a new one using the 1.13.1 image while mounting the same volumes to preserve data. Verify the container starts cleanly.
  6. Verify the upgradeCheck that Langflow OSS is running and accessible. For pip, run `pip show langflow` and confirm Version is 1.13.1. For Docker, run `docker ps` and confirm the container is using the 1.13.1 tag and is healthy.
  7. Review access logs for suspicious activityCheck authentication and application logs from the period before the upgrade. Look for logins by unusual accounts, imports of unexpected Python modules, or execution of unfamiliar code. Note any suspicious sessions for investigation.
  8. Rotate credentials if exposedIf logs suggest unauthorized access occurred, treat all API keys, database passwords, and service credentials used by Langflow as compromised. Rotate them immediately and monitor for misuse.

How to confirm it is fixed: Run `pip show langflow` or `docker ps` and confirm the installed version is 1.13.1 or later.

SecurityElites Quick Fixes: copy and paste

Check installed version (pip)for this issue

pip show langflow | grep Version

Check installed version (Docker)for this issue

docker ps --filter "ancestor=langflowai/langflow" --format "{{.Image}}"

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?A good answer: All versions from 1.0.0 through 1.13.0 are affected; 1.13.1 and later fix the issue.
What must an attacker have to exploit this vulnerability?A good answer: An attacker must have login credentials for Langflow OSS; they cannot attack it without authentication.
What is the worst thing an attacker could do after exploiting this?A good answer: They can run any code on the server where Langflow OSS is installed, including stealing data, changing systems, or using it to attack other systems.
What is the first step to protect ourselves?A good answer: Upgrade all Langflow OSS installations to version 1.13.1 or later and review logs for signs of unauthorized access.

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 remote code execution through arbitrary module import (CVE-2026-115555)

**Severity:** Critical 9.9  |  **SE Fix-First Score:** 54/100  |  **Fix window:** Within 7 days
**Record:** SE-AIV-02040 https://securityelites.com/ai-vulnerabilities/cve-2026-115555-langflow-oss-allows-remote-code-execution-through-arbitrary-module/

### Why this matters
An attacker with login access to Langflow OSS can run any code on the server where it is installed. This means they could steal data, change workflows, take over the entire system, or use it to attack other systems on the network.

### What to do
1. Find all Langflow OSS installations
2. Check the current version
3. Back up data before upgrading
4. Upgrade to Langflow OSS 1.13.1 (pip)
5. Upgrade to Langflow OSS 1.13.1 (Docker)
6. Verify the upgrade
7. Review access logs for suspicious activity
8. Rotate credentials if exposed

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-115555-langflow-oss-allows-remote-code-execution-through-arbitrary-module/

### 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` or `docker ps` and confirm the installed version is 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 a remote authenticated attacker to execute arbitrary code due to improper control of code generation during the import of arbitrary Python modules.

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-115555

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.