Skip to main content
← All vulnerabilities
CVE-2026-101861GHSA-33P4-W7J3-33MW

Langflow Code Execution via eval() in Component Input Schema

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.12.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • langflow-ai langflow

    From 1.0.16 · fixed in 1.12.0; From 0.0.94 · fixed in 1.12.0

References 2

GitHub · langflow-ai/langflow