Servers and applications
GHSA-33p4-w7j3-33mw
Langflow 1.0.16 - 1.11.6: unsafe eval() on Tool-Mode input options in schema.py
- Severity
- Low 2.1
- Published
- 28 Sept 2026
- Last changed
- 28 Sept 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 1.12.0
- Attack
- Over the network · Only under certain conditions · Needs an administrator account · No user action needed
- Attacker can
- Read some data · Change some data · Slow it down
- CVSS vector
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- Sources
- Project advisories (GitHub)
Description
From Langflow 1.0.16 through 1.11.6, create_input_schema() and create_input_schema_from_dict() in schema.py built a typing.Literal type for inputs with an options list (for example DropdownInput) by interpolating the list into a string and passing it to eval():
The sink runs whenever a component is converted into a LangChain tool (ComponentToolkit.get_tools()), for example when a custom component with tool_mode=True is saved through Check & Save (POST /api/v1/custom_component), or when a Tool-Mode component or flow-as-tool is built.
This was fixed in Langflow 1.12.0 by #14502, which replaces eval() with Literal[tuple(options)].
- POST /api/v1/custom_component (src/backend/base/langflow/api/v1/endpoints.py) builds the frontend node and calls Component.run_and_validate_update_outputs(field_name="tool_mode", ...).
- When tool_mode is true, run_and_validate_update_outputs() calls _build_tools_metadata_input() (src/lfx/src/lfx/custom/custom_component/component.py).
Affected software
| Software | Affected versions |
|---|---|
LangflowServers and applications · github:langflow-ai/langflow |
|
About Langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
- Weekly downloads (PyPI)
- 8,374PyPI Stats, 15 Nov 2026
- Docker Hub pulls
- 4,731,179Docker Hub, 15 Nov 2026
- GitHub stars
- 156,656GitHub, 15 Nov 2026
- Forks
- 10,412GitHub, 15 Nov 2026
- Latest release
- v1.13.2GitHub, 15 Nov 2026
- Released
- 10 Nov 2026GitHub
- License
- MITGitHub
- First published on GitHub
- 8 Feb 2023GitHub
Source code Website Docker image Package
Vulnerabilities in Langflow
- In our list
- 228
- Published in the last 12 months
- 221
- Critical, last 12 months
- 60
- High, last 12 months
- 101
- Known exploited
- 6
- CVE-2026-97677Langflow OSS is affected by multiple vulnerabilitiesHigh 8.1 8 Nov 2026
- GHSA-qvqp-mxh4-f27wLangflow URL component: unbounded response size allows denial of service via memory exhaustionMedium 6.5 5 Nov 2026
- CVE-2026-18894Langflow OSS is affected by multiple vulnerabilitiesCritical 9.8 29 Oct 2026
- CVE-2026-77817Langflow OSS is affected by multiple vulnerabilitiesMedium 6.5 29 Oct 2026
- CVE-2026-77819Langflow OSS is affected by multiple vulnerabilitiesMedium 6.5 29 Oct 2026
- CVE-2026-90991Langflow OSS is affected by multiple vulnerabilitiesMedium 6.5 29 Oct 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-33p4-w7j3-33mw
- github.com https://github.com/langflow-ai/langflow/security/advisories/GHSA-33p4-w7j3-33mw