ZDI-CAN-27497: ZDI-26-037: (0Day) Langflow PythonFunction Code Injection Remote Code Execution Vulnerability

Published Jan 9, 2026
·
Updated

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Attack vectors and exploitability will vary depending on the configuration of the product. The specific flaw exists within the handling of Python function components. Depending upon product configuration, an attacker may be able to introduce custom Python code into a workflow. An attacker can leverage this vulnerability to execute code in the context of the application.

Other sources

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Attack vectors and exploitability will vary depending on the configuration of the product. The ZDI has assigned a CVSS rating of 7.1. The following CVEs are assigned: CVE-2026-0771.

ZDI

Affected Software

1 affected component
pypi/langflow

Event History

Jan 9, 2026
Advisory Published
via ZDI·06:00 AM
Data Sourced
via ZDI·06:00 AM
Description
Mar 9, 2026
Advisory Published
via ZDI·07:33 PM
Data Sourced
via ZDI·07:33 PM
Affected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of ZDI-CAN-27497?

ZDI-CAN-27497 has been categorized as a critical vulnerability due to its potential for remote code execution.

2

How do I fix ZDI-CAN-27497?

To mitigate ZDI-CAN-27497, update Langflow to the latest version provided by the vendor as soon as it becomes available.

3

What systems are affected by ZDI-CAN-27497?

ZDI-CAN-27497 affects installations of Langflow that utilize PythonFunction functionality.

4

Can ZDI-CAN-27497 be exploited remotely?

Yes, ZDI-CAN-27497 can be exploited remotely by attackers, allowing them to execute arbitrary code.

5

What are the potential consequences of ZDI-CAN-27497?

The exploitation of ZDI-CAN-27497 could lead to unauthorized access, data breaches, or system compromise.

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