lfx@1.12.0rc4

Langflow Executor - A lightweight CLI tool for executing and serving Langflow AI flows

  • latest version

    1.14.0.dev4

  • first published

    1 years ago

  • latest version published

    21 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the lfx package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • L
    Eval Injection

    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.

    How to fix Eval Injection?

    Upgrade lfx to version 1.12.0 or higher.

    [,1.12.0)
    • M
    Arbitrary Command Injection

    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 Arbitrary Command Injection via the parse_callable_details() function in code_parser.py. An attacker can execute arbitrary system commands by supplying crafted input to this function remotely.

    How to fix Arbitrary Command Injection?

    There is no fixed version for lfx.

    [0,)