CVE-2025-3248: Langflow · Remote code execution
Exploitation: In the wild · CVSS 9.8 Critical · Unauthenticated · Published 2025-04-07
Description
Langflow versions prior to 1.3.0 are susceptible to code injection in the /api/v1/validate/code endpoint. A remote and unauthenticated attacker can send crafted HTTP requests to execute arbitrary code.
Enclave's analysis
Langflow before 1.3.0 lets anyone run code on the server through the /api/v1/validate/code endpoint. No login is needed, just crafted HTTP requests. It's on CISA's KEV list, flagged as actively exploited and used in ransomware campaigns, and EPSS is near the top of the scale. Upgrade to 1.3.0 or later. If you can't, take the instance off the internet and put authentication in front of it.
Fix
Upgrade to 1.3.0.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| langflow | 0 before 1.3.0 | 1.3.0 |
Affected packages
- pypi:langflow
- pypi:langflow-base
Seen in 6 sources
- CVE.org
- CISA KEV
- CIRCL
- Metasploit
- CSO Online
- Security Affairs