Code Injection in Langflow - CVE-2025-3248
Published: May 5, 2025 / Updated: January 4, 2026
Vulnerability details
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.
Affected software
How to mitigate CVE-2025-3248
Links to Public Exploits and PoC-codes
- Exploit #12223 - CVE-2025-3248-POC (January 4, 2026)
- Exploit #12154 - cve-2025-3248-exploit (November 28, 2025)
- Exploit #11961 - CVE-2025-3248 (September 17, 2025)
- Exploit #11960 - CVE-2025-3248 (September 17, 2025)
- Exploit #11945 - CVE-2025-3248 (September 12, 2025)
- Exploit #11678 - CVE-2025-3248 (CVE-2025-3248 — Langflow RCE Exploit) (June 20, 2025)
- Exploit #11674 - CVE-2025-3248 (Exploit for Langflow AI Remote Code Execution (Unauthenticated)) (June 20, 2025)
- Exploit #11668 - CVE-2025-3248 (June 20, 2025)
- Exploit #11659 - CVE-2025-3248-Langflow-RCE (June 20, 2025)
- Exploit #11630 - CVE-2025-3248 (June 13, 2025)
- Exploit #11464 - RCE-CVE-2025-3248 (This Python script exploits CVE-2025-3248 to execute arbitrary commands or spawn a reverse shell on a vulnerable system. Authentication is required to use this exploit.) (June 6, 2025)
- Exploit #11436 - CVE-2025-3248 (May 30, 2025)
- Exploit #11404 - CVE-2025-3248 (May 16, 2025)
- Exploit #11365 - CVE-2025-3248 (Scanner and exploit for CVE-2025-3248) (May 9, 2025)
- Exploit #11357 - Langflow AI RCE (May 6, 2025)
External References
- 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