# CVE-2026-0768: Langflow - RCE

> Live exploitation tracking for CVE-2026-0768 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2026-0768

## Key facts

- **Exploitation phase:** Background Noise. Continuous low-level scanning or exploitation attempts are observed, mostly opportunistic and automated.
- **CVSS score:** 9.8
- **Public exploit available:** Yes
- **Affected products:** Langflow
- **Weaknesses:** CWE-94 (Improper Control of Generation of Code ('Code Injection'))
- **Tags:** python, web_application

## Description

Langflow code Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the handling of the code parameter provided to the validate endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of root.
. Was ZDI-CAN-27322.

## CrowdSec analysis

[CVE-2026-0768](https://euvd.enisa.europa.eu/vulnerability/CVE-2026-0768) is a critical code injection vulnerability in Langflow that allows unauthenticated remote attackers to execute arbitrary Python code through the validate endpoint. Successful exploitation can enable attackers to compromise affected systems with root-level privileges, potentially resulting in data theft, system modification, and complete loss of confidentiality, integrity, and availability.

CrowdSec has been tracking this vulnerability and its exploits since 17th of September 2026.

CrowdSec network data shows that most actors exploiting CVE-2026-0768 rely on broad, untargeted scans with minimal filtering. The activity is largely automated and opportunistic in nature.
Data from the CrowdSec community also indicates a gradual decrease in attacks targeting CVE-2026-0768. While still present in the wild, exploitation levels have dropped noticeably week-over-week. This may signal that the vulnerability is becoming less relevant or that defenses are improving fast enough for attackers to lose interest.

Attackers target the unauthenticated `/api/v1/validate/code` endpoint with a JSON `code` parameter containing Python code-injection payloads. The payload abuses default-argument evaluation to invoke `exec()` and execute arbitrary operating-system commands on the Langflow server.

## Timeline

- 2026-01-23: CVE Published. CVE-2026-0768 is published to NVD.
- 2026-09-17: Rule Released. CrowdSec releases a rule to detect CVE-2026-0768 exploitation attempts against the CrowdSec Network.
- 2026-10-07: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2026-0768 for the first time.

## References

- https://www.zerodayinitiative.com/advisories/ZDI-26-034/
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-0768.yaml

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2026-0768) follows observed exploitation activity for CVE-2026-0768. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
