CVE-2026-33017: Langflow Code Injection Vulnerability
Langflow contains a code injection vulnerability that could allow building public flows without requiring authentication.
How it works
The weakness is classified under CWE-94, CWE-95, and CWE-306. These categories describe improper control of generated code, insufficient neutralization of directives in dynamically evaluated code, and missing authentication for critical functions.
An attacker can abuse the absence of authentication requirements on public flows to supply crafted input that results in code injection. The precise sequence of requests or parameters used depends on the implementation details of the affected flows.
Am I affected? How to find it in your systems
Langflow instances are the affected software. Locate all installations, including any running in cloud or containerized environments, by querying asset inventories, container registries, and network discovery tools for the product name.
- Review configuration files and settings that control flow visibility and authentication requirements.
- Identify any flows marked as public and confirm whether authentication is enforced before allowing modifications or executions.
- Examine application and access logs for entries showing flow creation or updates originating from unauthenticated sessions.
Exact version numbers and configuration flags that trigger the vulnerability must be confirmed against the vendor advisory.
How to remediate
Apply mitigations per the instructions provided in the vendor advisory. Where the deployment uses cloud services, follow applicable BOD 22-01 guidance for securing those services.
If the required mitigations cannot be implemented, discontinue use of the product. After applying updates, re-audit all public flows to verify that authentication is now required.
If you can't patch immediately
Until the vendor mitigations are in place, restrict network access to Langflow instances through segmentation so that only authorized management networks can reach them.
- Disable or remove public flow capabilities if the application permits it.
- Place an authentication proxy or gateway in front of the service to enforce login requirements on all endpoints that allow flow building.
- Enable detailed logging of flow-related actions and review those logs regularly for anomalies.
These steps reduce exposure while plans are made to apply the official fixes or migrate away from the product.
If your data may have been exposed
Code injection vulnerabilities that permit unauthenticated access have been used to facilitate breaches in other products. Organizations can run a free exposure scan of their email addresses against known breach data to check for signs of prior compromise.
AICompiled with AI assistance from public sources and published under our editorial standards.