CVE-2025-3248
Langflow < 1.3.0 Unauthenticated RCE via /api/v1/validate/code
Also known as EDB-52262, EDB-52364, GHSA-rvqx-wpfh-mfx7, PYSEC-2025-36, PYSEC-2026-380
Mitigation
- Upgrade langflow to 1.3.0 or later.
- Upgrade langflow-base to 0.3.0 or later.
Who should check
- Projects that depend on PyPI package langflow (< 1.3.0)
- Projects that depend on PyPI package langflow-base (< 0.3.0)
- Anyone running langflow-ai langflow < 1.3.0
Vulnerability facts
- Affected
- langflow < 1.3.0; langflow-base < 0.3.0
- Fixed in
- 1.3.0, 0.3.0
- Exploited in the wild
- Yes: in CISA KEV since 2025-05-05; federal due date 2025-05-26; known ransomware use
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 80.63% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-306
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI langflow | < 1.3.0 | 1.3.0 | osv |
| PyPI langflow-base | < 0.3.0 | 0.3.0 | osv |
| langflow-ai langflow | < 1.3.0 | — | cvelist |
Timeline
- 2025-04-07 Published
- 2025-05-05 Added to CISA KEV (exploited in the wild)
- 2025-05-26 CISA remediation due date for US federal agencies
- 2026-11-08 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-3248. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-3248.md Affected: langflow < 1.3.0; langflow-base < 0.3.0 Fixed in: 1.3.0, 0.3.0 Steps: 1. Search this machine and project for langflow (PyPI), langflow-base (PyPI), langflow-ai langflow: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Exploits and PoCs
Other
- https://github.com/langflow-ai/langflow/releases/tag/1.3.0
- https://www.vulncheck.com/advisories/langflow-unauthenticated-rce
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-3248
- https://github.com/langflow-ai/langflow
- https://github.com/pypa/advisory-database/tree/main/vulns/langflow-base/PYSEC-2026-380.yaml
- https://pypi.org/project/langflow-base
- https://www.horizon3.ai/attack-research/disclosures/unsafe-at-any-speed-abusing-python-exec-for-unauth-rce-in-langflow-ai
FAQ
Is CVE-2025-3248 being exploited?
Yes. CISA lists CVE-2025-3248 in its Known Exploited Vulnerabilities catalog since 2025-05-05, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 80.63% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-3248?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-3248?
langflow < 1.3.0; langflow-base < 0.3.0.
Is there a fix for CVE-2025-3248?
Yes. Fixed in 1.3.0, 0.3.0. Upgrade langflow to 1.3.0 or later. Upgrade langflow-base to 0.3.0 or later.
How do I check if I'm affected by CVE-2025-3248?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.