Skip to content

This vulnerability is being actively exploited in the wild, according to the CISA Known Exploited Vulnerabilities catalog. CISA added it on .

CriticalVulnerability

GHSA-vwmf-pq79-vjvx: Unauthenticated Remote Code Execution in Langflow via Public Flow Build Endpoint

Published
Record updated
View JSON
Affected
  • langflow <= 1.8.1
Fixed in
No fixed version was stated when the source was last read.
EPSS
96.2%

Summary

The POST /api/v1/build_public_tmp/{flow_id}/flow endpoint in Langflow builds public flows without authentication. When the optional data parameter is supplied, the endpoint uses attacker-controlled flow data instead of the stored flow, and node definitions containing arbitrary Python code reach exec() in prepare_global_scope (src/lfx/src/lfx/custom/validate.py) with no sandboxing. The source states this is distinct from CVE-2025-3248, which added authentication to /api/v1/validate/code. Preconditions are at least one public flow and its UUID; the source notes that with AUTO_LOGIN=true, the default, these can be met by an unauthenticated attacker.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.