{"id":"CVE-2026-101861","summary":"Langflow Code Execution via eval() in Component Input Schema","details":"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.","aliases":["GHSA-33p4-w7j3-33mw"],"modified":"2026-09-30T03:47:07.743269728Z","published":"2026-09-28T15:49:14.349Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-94","CWE-95"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/101xxx/CVE-2026-101861.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/101xxx/CVE-2026-101861.json"},{"type":"ADVISORY","url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-33p4-w7j3-33mw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-101861"},{"type":"FIX","url":"https://github.com/langflow-ai/langflow/releases#release-v1.12.0"},{"type":"PACKAGE","url":"https://github.com/langflow-ai/langflow"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/langflow-ai/langflow","events":[{"introduced":"2eca4d9e32367d752fd906449d567ae0433dede5"},{"fixed":"38c5df331b73bd0fc644da5e288b7a6a0e8eef9b"},{"introduced":"0"},{"fixed":"38c5df331b73bd0fc644da5e288b7a6a0e8eef9b"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"1.0.16"},{"fixed":"1.12.0"},{"introduced":"0.0.94"}]}}],"versions":["v1.11.0","1.10.0","1.9.6","1.9.5","1.9.4","1.9.3","v1.9.2","v1.9.1","1.9.0","1.8.3","1.8.2","1.8.1","1.8.0.rc6","1.8.0.rc5","1.8.0.rc4","1.8.0.rc3","1.8.0.rc2","1.8.0.rc1","1.8.0.rc0","1.5.0.post1","1.4.2","1.4.1","1.4.0","1.3.4","1.3.3","1.3.2","1.3.1","1.3.0","1.2.0","1.1.4","1.1.3","1.1.2","v1.1.1","v1.1.0","v1.0.19","v1.0.18","v1.0.17","v1.0.16"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-101861.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}