| Component | Langflow |
| Severity | critical (CVSS 9.8) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published (NVD) | 2025-04-07 |
| Last modified | 2026-10-08 |
| Affected versions | < 1.3.0 from the GitHub-reviewed advisory GHSA-rvqx-wpfh-mfx7 |
| Fixed in | 1.3.0 |
| Weakness | CWE-306CWE-94 |
| CISA KEV | listed 2025-05-05 |
Versions, checked against NVD
NVD's analysis gives the same ranges as the GitHub-reviewed advisory GHSA-rvqx-wpfh-mfx7.
NVD 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.
CISA required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
What to do
- Upgrade Langflow to
1.3.0or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
- It is exploited in the wild: treat unpatched hosts as compromised, rotate the secrets they hold and review their logs.
Sources
- NVD: CVE-2025-3248
- 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://www.vulncheck.com/advisories/langflow-unauthenticated-rce
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-3248