Eval Injection Affecting lfx package, versions [,1.12.0)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.2% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Eval Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LFX-21693632
  • published24 Oct 2026
  • disclosed28 Sept 2026
  • creditUnknown

Introduced: 28 Sep 2026

NewCVE-2026-101861  (opens in a new tab)
CWE-95  (opens in a new tab)

How to fix?

Upgrade lfx to version 1.12.0 or higher.

Overview

lfx is a lfx is a command-line tool for running Langflow workflows. It provides two main commands: serve and run.

Affected versions of this package are vulnerable to Eval Injection via eval() calls in create_input_schema() and create_input_schema_from_dict() in schema.py, which construct Literal types from user-provided dropdown options using f-string interpolation. An attacker who can upload or control component templates can inject arbitrary Python code through malicious option values, achieving code execution on the server.

CVSS Base Scores

version 4.0
version 3.1