{"id":"CVE-2026-101861","state":"PUBLISHED","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.","publishedAt":"2026-09-28T15:49:14.349Z","updatedAt":"2026-10-01T15:19:46.570Z","severity":{"score":2.1,"label":"Low","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["langflow-ai langflow"],"affected":[{"vendor":"langflow-ai","product":"langflow","packageURL":"pkg:github/langflow-ai/langflow","defaultStatus":"unaffected","versions":[{"version":"1.0.16","status":"affected","lessThan":"1.12.0","versionType":"semver"},{"version":"0.0.94","status":"affected","lessThan":"1.12.0","versionType":"semver"}],"repo":"https://github.com/langflow-ai/langflow"}],"references":["https://github.com/langflow-ai/langflow/security/advisories/GHSA-33p4-w7j3-33mw","https://github.com/langflow-ai/langflow/releases#release-v1.12.0"],"weaknesses":["CWE-95","CWE-94"],"ingestedAt":"2026-10-29T20:10:13.529Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/101xxx/CVE-2026-101861.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-101861","state":"PUBLISHED","datePublished":"2026-09-28T15:49:14.349Z","dateUpdated":"2026-10-01T15:19:46.570Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-28T15:44:45.388Z"},"containers":{"cna":{"title":"Langflow Code Execution via eval() in Component Input Schema","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"langflow-ai","product":"langflow","packageURL":"pkg:github/langflow-ai/langflow","defaultStatus":"unaffected","versions":[{"version":"1.0.16","status":"affected","lessThan":"1.12.0","versionType":"semver"},{"version":"0.0.94","status":"affected","lessThan":"1.12.0","versionType":"semver"}],"repo":"https://github.com/langflow-ai/langflow"}],"references":[{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-33p4-w7j3-33mw","name":"GitHub Security Advisory (GHSA-33p4-w7j3-33mw)","tags":["vendor-advisory"]},{"url":"https://github.com/langflow-ai/langflow/releases#release-v1.12.0","name":"Release Notes","tags":["release-notes","patch"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"LOW","baseScore":2.1,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW","version":"3.1","baseSeverity":"MEDIUM","baseScore":4.1,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-95","lang":"en","description":"Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')","type":"CWE"},{"cweId":"CWE-94","lang":"en","description":"Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-01T15:19:46.570Z"},"tags":["x_open-source"],"datePublic":"2026-09-28T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*","versionStartIncluding":"1.0.16","versionEndExcluding":"1.12.0"},{"vulnerable":true,"criteria":"cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*","versionStartIncluding":"0.0.94","versionEndExcluding":"1.12.0"}]}]}],"credits":[{"lang":"en","value":"Weblover","type":"finder"},{"lang":"en","value":"VulnCheck","type":"coordinator"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-101861","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-09-30T19:02:25.893380Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-30T20:11:12.277Z"}}]}}}