Langflow OSS allows arbitrary code execution through tool listing without admin check
What this means
An authenticated user without administrator rights can run arbitrary code on the server by creating a malicious flow. An attacker could read secrets, access stored data, and reach internal services connected to Langflow. This can lead to data theft, lateral movement into other systems, and complete compromise of the Langflow installation.
SecurityElites Manager Brief: the decision in one minute
Langflow OSS up to version 1.13.0 has a critical flaw that lets any logged-in user run code on the server. An attacker could steal secrets and access internal systems. Upgrade to 1.13.1 immediately.
| SecurityElites Fix-First Score | 48 of 100 Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity. |
|---|---|
| SecurityElites fix window | Within 30 days High severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | Platform engineering or DevOps team managing Langflow OSS infrastructure. |
| Likely effort | About 15 to 30 minutes per deployment: download the new version, run the upgrade command, and restart the service. Complexity depends on whether you use Docker, Python package, or a custom deployment. |
Questions to ask your team or supplier
- Do we have a complete inventory of all Langflow OSS deployments, including their current versions and the users who can access them?
- What secrets, credentials, and sensitive data does Langflow have access to, and how would exposure affect our operations and compliance obligations?
- Have we checked audit logs to see whether any non-admin users created or edited flows between the installation date and now?
Message you can forward to the owning team
Security notice: Langflow OSS allows arbitrary code execution through tool listing without admin check (CVE-2026-128876)
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-128876-langflow-oss-allows-arbitrary-code-execution-through-tool-listing/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-02053What is at stake in your AI setup
- Stored flows and components: an attacker can read, modify, or delete them.
- API keys and secrets for connected AI providers: an attacker can steal or misuse them, leading to unauthorized API calls and charges.
- Tools and systems connected to Langflow agents: an attacker can access or manipulate external services through the integration.
- Training and retrieval data loaded into Langflow: an attacker can read or exfiltrate sensitive data used to train or augment models.
Who is exposed
- Langflow OSS instances running version 1.13.0 or earlier with any authenticated users.
- Deployments where non-admin users can create or edit flows.
- Installations that hold secrets, API keys, or database credentials in environment or configuration.
- Systems connected to Langflow via tool integrations or internal services.
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| IBM Langflow OSS | Every version up to and including 1.13.0 | No 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 be | Anywhere that can reach it over a network, including the internet if it is exposed |
|---|---|
| Account needed | An ordinary user account |
| Does a person have to do something | No. It works without anyone clicking or opening anything |
| How hard it is to do | Easy. It works reliably once the attacker can reach it |
| Risk of: data being read | High |
| Risk of: data or settings being changed | High |
| Risk of: the service being taken down | High |
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-284: access is not controlled properly
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 https://github.com/langflow-ai/langflow/releases/tag/v1.13.1 and follow the installation instructions for your deployment:* Python package: install Langflow 1.13.1 from PyPI https://pypi.org/project/langflow/1.13.1/ with pip install --upgrade "langflow==1.13.1", following the installation instructions https://docs.langflow.org/get-started-installation . * Docker: use langflowai/langflow:1.13.1 and follow the Docker upgrade instructions https://docs.langflow.org/deployment-docker#upgrade-the-langflow-docker-i
If you cannot upgrade today
- Until the upgrade is complete, restrict authentication to Langflow to administrator users only. This prevents non-admin users from creating malicious flows.
- Disable or restrict access to the tool-listing interface (MCP tool-listing endpoint) if it is not actively used.
- If custom code or components must be used, manually audit all custom code before flows are listed or executed.
Signs it may already have been used against you
- Review authentication and audit logs for flows created or modified by non-administrator users between the installation date and the upgrade date.
- Look for flows containing custom code or components that were created by users without admin privileges.
- Check for unexpected network connections, file access, or process execution originating from the Langflow process around the time flows were listed or executed.
- Search for access to environment variables or configuration files that contain secrets in the Langflow process logs or system call traces.
Log searches to start from
Langflow flows created or modified by non-admin usersSplunk
source="langflow_audit" OR source="langflow_app" action="create" OR action="update" user_role!="admin" | table timestamp, user, action, flow_nameUnusual outbound connections or external resource access from Langflow processElastic
process.name:langflow* AND (network.direction:outbound OR file.access_type:read) AND NOT destination.ip:INTERNAL_RANGE | fields @timestamp, process.name, destination.ip, file.pathWritten 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
- Find all Langflow OSS installationsIdentify every server, container, and Python environment running Langflow OSS. Check deployment tools (Kubernetes manifests, Docker Compose files, Ansible playbooks, cloud dashboards) and ask teams managing AI or workflow automation tools.
- Check the current version of each installationFor Docker, run docker inspect on the container or check the image tag. Document which installations are version 1.13.0 or earlier.
- Review access control and user permissionsList all authenticated users who can access Langflow and create or edit flows. Check whether administrator-only controls for custom code are enabled. This tells you how many people could exploit the vulnerability.
- Back up Langflow data and configurationExport or snapshot the current state of flows, components, and configuration before upgrading. If using Docker, back up mounted volumes. If using a database, create a backup.
- Upgrade to Langflow OSS 1.13.1For Python package: follow the installation instructions at https://docs.langflow.org/get-started-installation and upgrade to version 1.13.1 using the package manager. For Docker: update the image tag to langflowai/langflow:1.13.1 and follow https://docs.langflow.org/deployment-docker#upgrade-the-langflow-docker-i. Restart the service after the upgrade.
- Verify the upgrade was successfulConfirm the output shows version 1.13.1 or later. Restart any services that did not automatically restart during the upgrade.
- Check for signs of prior exploitationReview audit logs and authentication logs for unusual flow creation or modification by non-admin users. Look for execution of custom code or unexpected outbound connections. If found, isolate the affected Langflow instance and investigate for data exposure or lateral movement.
- Reinforce access controlsReview and tighten permissions for who can create and edit flows. Enable administrator-only controls for custom code if available. Rotate any secrets or credentials that may have been readable in the Langflow configuration.
How to confirm it is fixed: Run the version check command on each Langflow installation and confirm the output shows version 1.13.1 or later.
SecurityElites Quick Fixes: copy and paste
Check Langflow OSS version (Python package)for this issue
python -c "import langflow; print(langflow.__version__)"Check Langflow OSS version (Docker container)for this issue
docker exec <container_id> python -c "import langflow; print(langflow.__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_IMAGETest 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.
Ticket for your backlog
Paste into Jira, GitHub Issues or any tracker that reads Markdown.
Ready-made ticket
## Langflow OSS allows arbitrary code execution through tool listing without admin check (CVE-2026-128876)
**Severity:** High 8.8 | **SE Fix-First Score:** 48/100 | **Fix window:** Within 30 days
**Record:** SE-AIV-02053 https://securityelites.com/ai-vulnerabilities/cve-2026-128876-langflow-oss-allows-arbitrary-code-execution-through-tool-listing/
### Why this matters
An authenticated user without administrator rights can run arbitrary code on the server by creating a malicious flow. An attacker could read secrets, access stored data, and reach internal services connected to Langflow. This can lead to data theft, lateral movement into other systems, and complete compromise of the Langflow installation.
### What to do
1. Find all Langflow OSS installations
2. Check the current version of each installation
3. Review access control and user permissions
4. Back up Langflow data and configuration
5. Upgrade to Langflow OSS 1.13.1
6. Verify the upgrade was successful
7. Check for signs of prior exploitation
8. Reinforce access controls
Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-128876-langflow-oss-allows-arbitrary-code-execution-through-tool-listing/
### 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 the version check command on each Langflow installation 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.
Related vulnerabilities
In the same software
- Langflow OSS can run arbitrary code via tool-call interface before admin check High · CVE-2026-128867
- Langflow OSS can be made to send requests to wrong servers High · CVE-2026-128877
- Langflow OSS allows authenticated users to access or change other users' flows High · CVE-2026-127067
- Langflow OSS allows authenticated users to run any command on the server High · CVE-2026-120601
- Langflow OSS allows remote code execution through improper code handling High · CVE-2026-127065
- Langflow OSS allows authenticated users to run arbitrary code High · CVE-2026-122088
The same kind of mistake in other AI tools
- Langflow OSS allows authenticated users to run code they should not be able to High · CVE-2026-120078
- Langflow OSS allows remote code execution through AST denylist bypass High · CVE-2026-120069
- Langflow OSS allows unauthenticated remote code execution via public flow build High · CVE-2026-120068
- Langflow OSS allows remote code execution through arbitrary module import Critical · CVE-2026-115555
- Langflow OSS allows authenticated users to run arbitrary code on the server Critical · CVE-2026-115550
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 Model Context Protocol (MCP) tool-listing interface is intended to advertise saved flows as tools, with custom component code restricted to administrators when that control is enabled. When generating tool schemas during listing, the interface instantiated stored components before verifying administrator permissions. An authenticated attacker without administrator rights could store a flow with custom code and request the tool list to execute arbitrary code in the server process. This could allow the attacker to access configured secrets and stored data, and to reach internal services.
Weakness type: CWE-284
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-128876For 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.