CVE-2026-101861
published low CVSS 4.0 · 2.1Langflow Code Execution via eval() in Component Input Schema
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| langflow-ai | — | langflow1.0.16 to < 1.12.0 · 0.0.94 to < 1.12.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
Description
Langflow 1.0.16 before 1.12.0 and 0.0.94 before 1.12.0 contain an unsafe eval() vulnerability in schema.py that allows authenticated attackers to achieve code execution by placing a Python object with a malicious __repr__ method into component input options lists. The eval() sink is triggered when a component is converted into a LangChain tool via ComponentToolkit.get_tools(), including during custom component saves through the API, by interpolating options into a Literal type string that is passed directly to eval() without safe evaluation controls.
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
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.1 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| langflow-ai | langflow | 1.0.16 to < 1.12.0 (affected · semver)0.0.94 to < 1.12.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
2- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
2- Release Notes https://github.com/langflow-ai/langflow/releases#release-v1.12.0
- GitHub Security Advisory (GHSA-33p4-w7j3-33mw) https://github.com/langflow-ai/langflow/security/advisories/GHSA-33p4-w7j3-33mw
Provider assertions
2VulnCheck · cna
Langflow Code Execution via eval() in Component Input Schema
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a040cbca5245746faea989aaa18c006d89deae72ecefa18c29886c894ceeb7c1
- Ingested
- 01 Oct 2026, 18:31:22 UTC
- Source record
- Official CVE record