{"id":"CVE-2026-101861","revision":"c1bf98b369df42dca08642949a0466f4","records":[{"revision":"c1bf98b369df42dca08642949a0466f4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-101861","aliases":[],"title":"Langflow Code Execution via eval() in Component Input Schema","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.","state":0,"publishedAt":"2026-09-28T15:49:14.349+00:00","modifiedAt":"2026-10-01T15:19:46.57+00:00","affected":[{"ecosystem":"Vendor product","name":"langflow","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"vendor\": \"langflow-ai\",\n                    \"product\": \"langflow\",\n                    \"packageURL\": \"pkg:github/langflow-ai/langflow\",\n                    \"repo\": \"https://github.com/langflow-ai/langflow\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"1.0.16\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"1.12.0\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0.0.94\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"1.12.0\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":2.1,"severity":"LOW"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L","score":4.1,"severity":"MEDIUM"}],"references":["https://github.com/langflow-ai/langflow/security/advisories/GHSA-33p4-w7j3-33mw","https://github.com/langflow-ai/langflow/releases#release-v1.12.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-101861","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-101861","identifiers":["CVE-2026-101861"]},"retained":false,"historicalAffected":[]}],"coverage":[]}