CVE-2026-101861: Langflow Code Execution via eval() in Component Input Schema

Published Sep 28, 2026
·
Updated

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.gettools(), 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 Software

1 affected component
Langflow Langflow>=1.0.16<1.12.0, >=0.0.94<1.12.0

Event History

Sep 28, 2026
CVE Published
via MITRE·03:49 PM
Data Sourced
via MITRE·03:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker must be authenticated and have high privileges. Exploitation requires placing a Python object with a malicious __repr__ method into a component input options list.

2

What action triggers the vulnerable eval() path?

The path is triggered when a component is converted into a LangChain tool through ComponentToolkit.get_tools(). It can also be reached while saving custom components through the API.

3

Which versions are affected?

Langflow versions 1.0.16 through before 1.12.0, and versions 0.0.94 through before 1.12.0, are affected. Version 1.12.0 is identified in the release reference as the fixed release.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203