CVE-2026-7873 — Langflow: Code Injection Vulnerability in langflow
Langflow: Code Injection Vulnerability in Code Validation Endpoint
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (5.08%). Schedule for your next planned update.
Does your project use an affected langflow version?
Paste your requirements.txt to check it for CVE-2026-7873 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
IBM Langflow OSS 1.0.0 through 1.10.0 allows authenticated attackers to execute arbitrary OS commands and read sensitive files including credentials, enabling complete system compromise and lateral movement.
Advisory Timeline
- First published June 30, 2026 (149 days ago).
- Last revised October 23, 2026 — 115 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "langflow>=1.10.1.rc0"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| langflow PyPI · Affected: 1.0.0, 1.0.1, 1.0.10, 1.0.11 (+76 more) | 1.10.1.rc0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-7873ADVISORY
- https://github.com/langflow-ai/langflow/pull/13696WEB
- https://github.com/langflow-ai/langflow/commit/e7c33dbaade20b5295c7fa26bf83cc1ff68fba02WEB
- https://github.com/langflow-ai/langflowPACKAGE
- https://github.com/langflow-ai/langflow/releases/tag/1.10.1.rc0WEB
- https://www.ibm.com/support/pages/node/7278441WEB
Frequently Asked Questions
- What is CVE-2026-7873?
- Langflow: Code Injection Vulnerability in Code Validation Endpoint. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2026-7873?
- CVE-2026-7873 affects langflow. It has a 5.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-7873 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 10% of EPSS-scored vulnerabilities — 93.1% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2026-55255CRITICAL
- CVE-2026-48519CRITICAL
- CVE-2026-27966CRITICAL
Langflow has Remote Code Execution in CSV Agent
- CVE-2026-42048CRITICAL
Langflow Knowledge Bases API is Vulnerable to Path Traversal
- CVE-2024-48061CRITICAL
Langflow vulnerable to remote code execution
- CVE-2026-21445CRITICAL
Langflow Missing Authentication on Critical API Endpoints
- CVE-2026-0770CRITICAL
Langflow affected by Remote Code Execution via validate_code() exec()
- CVE-2026-55450CRITICAL
Langflow: Unauthenticated file upload leads to DoS (space exhaustion) and information leak