Skip to content
Heist/ feed
Medium

Langflow Code Execution via eval() in Component Input Schema

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-101861

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-101861

langflow

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/langflow-ai/langflow",
    "vendor": "langflow-ai",
    "product": "langflow",
    "versions": [
      {
        "status": "affected",
        "version": "1.0.16",
        "lessThan": "1.12.0",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "0.0.94",
        "lessThan": "1.12.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:github/langflow-ai/langflow",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-101861

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#5393 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement