CVEs / CVE-2025-3248
CVE-2025-3248: Langflow Missing Authentication Vulnerability
- Known exploited in the CISA KEV catalog since 5 May 2025
- critical 9.8 CVSS 3.1 (NVD)
- EPSS 99.9% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2025-3248
Summary
Langflow contains a missing authentication vulnerability in the /api/v1/validate/code endpoint that allows a remote, unauthenticated attacker to execute arbitrary code via crafted HTTP requests.
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| langflow-ai langflow | before 1.3.0 | 1.3.0 |
| Product | Affected | Fixed in |
|---|---|---|
| langflow (PyPI) | before 1.3.0 | 1.3.0 |
| langflow-base (PyPI) | before 0.3.0 | 0.3.0 |
Package versions from GHSA-rvqx-wpfh-mfx7.
Exploitation
| In CISA KEV since | 5 May 2025 |
|---|---|
| Due date for US federal agencies | 26 May 2025 |
| Used in ransomware campaigns | Known |
| 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. |
Severity
| CVSS 3.1 | 9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-306, CWE-94 |
References
- CVE-2025-3248 on NVD
- CVE-2025-3248 in the CISA KEV catalog
- https://github.com/advisories/GHSA-c995-4fw3-j39m (cited by CISA)
- CVE-2025-3248 on OSV
- https://github.com/langflow-ai/langflow/pull/6911 Patch
- https://github.com/langflow-ai/langflow/releases/tag/1.3.0 Release Notes
- https://www.horizon3.ai/attack-research/disclosures/unsafe-at-any-speed-abusing-python-exec-for-unauth-rce-in-langflow-ai/ Exploit, Third Party Advisory
- https://www.vulncheck.com/advisories/langflow-unauthenticated-rce Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-3248 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.