Langflow OSS allows authenticated users to run arbitrary code

High 8.8SE Fix-First Score 48/100CVE-2026-122088SE-AIV-02049Remote 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 can steal data, change configurations, install malware, or take over the entire system. The attacker does not need special permissions once they are logged in.

SecurityElites Manager Brief: the decision in one minute

Langflow OSS versions up to 1.13.0 let anyone with a login account run code on your server. You need to upgrade to 1.13.1 immediately. If you cannot upgrade today, restrict who can log in.

SecurityElites Fix-First Score48 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 OSS deployments.
Likely effortAbout 15 minutes per installation: download the new version, upgrade using pip or Docker, and restart. It may take longer if you have many deployments or custom configurations.

Questions to ask your team or supplier

  • Do we know which versions of Langflow OSS are running in production, test, and development? Who owns each one?
  • Have we checked audit logs to see if anyone with a login account has done anything suspicious since we installed Langflow OSS?
  • If Langflow OSS is connected to APIs, databases, or AI provider accounts, what data or keys could an attacker access through it, and do we need to rotate those credentials after we upgrade?

Message you can forward to the owning team

Security notice: Langflow OSS allows authenticated users to run arbitrary code (CVE-2026-122088)

Severity: High (8.8 of 10)
SecurityElites Fix-First Score: 48 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-122088-langflow-oss-allows-authenticated-users-to-run-arbitrary-code/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-02049

What is at stake in your AI setup

  • Prompts and flow definitions: attacker can read, modify, or steal proprietary workflow logic and system prompts used in AI agents.
  • API keys and credentials: secrets stored in Langflow OSS configuration or flows for external services could be extracted.
  • Chat history and input data: conversational data and user queries processed by Langflow OSS could be accessed.
  • Compute resources: attacker can run code that consumes CPU or cloud credits, increasing your operational costs.

Map where your company uses AI

Who is exposed

  • Teams running Langflow OSS versions 1.0.0 through 1.13.0 on any platform.
  • Systems where multiple users or contractors have login accounts.
  • Deployments connected to production data, APIs, or other critical systems.
  • Installations accessible from the internet or untrusted networks.

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:U/C:H/I:H/A:H

Kind of coding mistake

  • CWE-95: code can be injected through evaluation

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 OSS so only trusted users can reach it (firewall, VPN, or IP allow-list).
  • Disable user accounts that are not in active use and audit which accounts still exist.
  • If possible, run Langflow OSS in an isolated environment with minimal access to other systems, secrets, or production data.

Signs it may already have been used against you

  • Review login audit logs for all user accounts, especially those without recent activity or from unexpected locations.
  • Search Langflow OSS execution or flow logs for unusual code execution, file operations, or system commands within flows.
  • Check system-level logs (process lists, file access, network connections) on the Langflow OSS host for unexpected child processes or outbound connections at the time of suspected unauthorized access.
  • Look for changes to Langflow OSS configuration, new flows, or modifications to existing flows that occurred shortly after a login that looked suspicious.

Log searches to start from

Login events and surrounding flow execution (adapt field names for your logs)Splunk

source="langflow*" ("login" OR "authenticate") OR (source="langflow*" "flow_execution" after login_time) | stats count by user, action, timestamp | sort timestamp

Unusual child processes spawned during Langflow operation (adapt field names)Elastic

process.parent.name:langflow* AND process.name:* | exclude process.name:(python* OR java* OR node*) | stats count by host.name, process.name

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 machine, container, and cloud instance running Langflow OSS. Record the current version of each. Check deployment tools, container registries, and package managers you use.
  2. Check the version of each installationFor Docker, check the image tag in your running containers or deployment configuration.
  3. Back up data and configurationExport or snapshot your Langflow OSS database, flows, and settings. If you use Docker, ensure persistent volumes are backed up. This protects you if the upgrade fails.
  4. Upgrade Python installations to 1.13.1Run: pip install --upgrade 'langflow==1.13.1'. Restart any Langflow OSS services or applications that use it.
  5. Upgrade Docker deployments to 1.13.1Pull the new image: docker pull langflowai/langflow:1.13.1. Stop the old container, start a new one with the 1.13.1 image, and confirm the persistent data was restored. Verify the new version is running.
  6. Verify the fix is in placeConfirm that all Langflow OSS installations now run version 1.13.1 or later. Check both Python package version and Docker image tags.
  7. Review access logs and audit login historyCheck who logged in between the time you deployed Langflow OSS and when you upgraded. Look for suspicious activity in flow execution logs, system calls, or data access patterns that may indicate the vulnerability was exploited before the fix.
  8. Review and restrict login accessLimit who can log in to Langflow OSS to trusted users only. Remove old, unused, or contractor accounts. Consider using stronger authentication or single sign-on if available.

How to confirm it is fixed: Confirm all Langflow OSS installations report version 1.13.1 or later using the version check command and verify no instances are still running 1.13.0 or earlier.

SecurityElites Quick Fixes: copy and paste

Check installed Langflow version (Python)for this issue

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

Check running Docker image versionfor this issue

docker ps --filter ancestor=langflowai/langflow --format "table {{.Image}}\t{{.Status}}"

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 minimum version we need to upgrade to, and can we upgrade some systems before others?A good answer: We must upgrade to 1.13.1 or later; there is no security fix in earlier versions, and all versions up to 1.13.0 are vulnerable to the same attack.
If we find that someone with a login account accessed Langflow OSS in a suspicious way before we upgraded, what should we do?A good answer: We should assume the attacker ran code on the server, review what secrets or data it could have accessed, rotate credentials like API keys and database passwords, and check system and application logs for further compromise.
What does an attacker need in order to use this vulnerability?A good answer: They need a valid login account for Langflow OSS; they cannot attack it without authentication.
If we cannot upgrade Langflow OSS right now, what is the best temporary protection?A good answer: Restrict network access to Langflow OSS so only trusted internal users can reach it, disable unused login accounts, and monitor who logs in and what they do.

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 (CVE-2026-122088)

**Severity:** High 8.8  |  **SE Fix-First Score:** 48/100  |  **Fix window:** Within 30 days
**Record:** SE-AIV-02049 https://securityelites.com/ai-vulnerabilities/cve-2026-122088-langflow-oss-allows-authenticated-users-to-run-arbitrary-code/

### 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 can steal data, change configurations, install malware, or take over the entire system. The attacker does not need special permissions once they are logged in.

### What to do
1. Find all Langflow OSS installations
2. Check the version of each installation
3. Back up data and configuration
4. Upgrade Python installations to 1.13.1
5. Upgrade Docker deployments to 1.13.1
6. Verify the fix is in place
7. Review access logs and audit login history
8. Review and restrict login access

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-122088-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 all Langflow OSS installations report version 1.13.1 or later using the version check command and verify no instances are still running 1.13.0 or earlier.
- [ ] 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 an expression evaluation.

Weakness type: CWE-95

Use this record in your own tools

Get this record as JSON

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

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.