CVE-2026-12940
published critical CVSS 3.1 · 9.8Langflow is affected by remote code execution due to multiple unauthenticated and insufficiently authorized API endpoints
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| IBM | — | Langflow OSS1.0.0 through 1.10.1 | Affected | Not stated | ibm |
Description
IBM Langflow OSS 1.0.0 through 1.10.1 are vulnerable to unauthenticated remote code execution via environment variable injection in the MCP (Model Context Protocol) stdio launcher. The vulnerability exists in src/lfx/src/lfx/base/mcp/util.py where the DANGEROUS_ENV_VARS blocklist fails to include SHELLOPTS , BASHOPTS , and PS4 environment variables.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- ibm · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| IBM | Langflow OSS | 1.0.0 through 1.10.1 (affected · semver) | ibm · cna |
Weaknesses
1- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
1Provider assertions
2ibm · cna
Langflow is affected by remote code execution due to multiple unauthenticated and insufficiently authorized API endpoints
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8c484f6544847ebc35b44086fa872f4a24096ba6ea3c3dc99b5b1adfd24ce1e2
- Ingested
- 23 Sep 2026, 09:01:12 UTC
- Source record
- Official CVE record