#VU108680 Code Injection in Langflow - CVE-2025-3248
Published: May 5, 2025 / Updated: January 4, 2026
Langflow
Langflow
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation within the /api/v1/validate/code endpoint. A remote non-authenticated attacker can send a specially crafted HTTP request to the affected endpoint and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Remediation
External links
- https://github.com/langflow-ai/langflow/pull/6911
- https://github.com/langflow-ai/langflow/releases/tag/1.3.0
- https://www.horizon3.ai/attack-research/disclosures/unsafe-at-any-speed-abusing-python-exec-for-unauth-rce-in-langflow-ai/
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-rvqx-wpfh-mfx7