Langflow · Langflow · CVE-2026-33017
**Name of the Vulnerable Software and Affected Versions**
Langflow versions prior to 1.9.0
**Description**
Langflow contains a flaw in the 'POST /api/v1/build public tmp/{flow id}/flow' endpoint that allows unauthenticated remote code execution. The endpoint is designed to build public flows without authentication, but it incorrectly accepts an optional `data` parameter. When this parameter is provided, the system uses attacker-controlled flow data containing arbitrary Python code in node definitions instead of the data stored in the database. This code is processed by the `exec()` function without sandboxing, allowing an attacker to execute shell commands and exfiltrate sensitive information such as API keys, database credentials, and cloud metadata tokens. Real-world incidents have been reported where the Keyhunter botnet exploited this issue to perform LLMjacking by stealing credentials for OpenAI, Anthropic, and AWS.
**Recommendations**
Update Langflow to version 1.9.0.
As a temporary mitigation, restrict access to the 'POST /api/v1/build public tmp/{flow id}/flow' endpoint or ensure the `data` parameter is not processed for unauthenticated requests.