All vulnerabilities
CVE-2026-101861GHSA-33p4-w7j3-33mw

Langflow Code Execution via eval() in Component Input Schema

langflow-ai langflowApplications & CMS
CVSS
2.1Low
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.20%Chance of exploitation activity in the next 30 days, higher than 8% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in1.12.0Fixed versionCVE List
Published28 Sep 2026Updated 1 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 2

  • langflowaffected: 1.0.16 before 1.12.0CVE List
  • langflowaffected: 0.0.94 before 1.12.0CVE List

References 2