CVE-2025-3248 — Vulnerability in langflow — CVE Details
Langflow Unauth RCE
What Should I Do?
Patch Immediately
This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.
Does your project use an affected langflow version?
Paste your requirements.txt to check it for CVE-2025-3248 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published June 17, 2025 (527 days ago).
- Last revised October 27, 2026 — 497 days after initial publication.
- Added to CISA's Known Exploited Vulnerabilities catalog 44 days before publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "langflow>=1.3.0"
pip install "langflow-base>=0.3.0"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: PyPI (2).
| Package | Fixed In |
|---|---|
| langflow PyPI · Affected: 0.0.31, 0.0.32, 0.0.33, 0.0.40 (+249 more) | 1.3.0 |
| langflow-base PyPI · Affected: 0.0.13, 0.0.14, 0.0.15, 0.0.16 (+89 more) | 0.3.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A
References
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-rvqx-wpfh-mfx7WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-3248ADVISORY
- https://github.com/langflow-ai/langflow/pull/6911WEB
- https://github.com/langflow-ai/langflow/commit/faac4db133de32fcb6d483fa9ff52f40ce42bdc0WEB
- https://github.com/langflow-ai/langflowPACKAGE
- https://github.com/langflow-ai/langflow/releases/tag/1.3.0WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/langflow-base/PYSEC-2026-380.yamlWEB
- https://pypi.org/project/langflow-baseWEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-3248WEB
- https://www.horizon3.ai/attack-research/disclosures/unsafe-at-any-speed-abusing-python-exec-for-unauth-rce-in-langflow-aiWEB
- https://www.vulncheck.com/advisories/langflow-unauthenticated-rceWEB
Frequently Asked Questions
- What is CVE-2025-3248?
- Langflow Unauth RCE. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-3248?
- CVE-2025-3248 affects langflow and langflow-base. It has a 80.6% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-3248 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 99.7% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.
Added to KEV catalog: May 5, 2025
Remediation deadline: May 26, 2025
Also Known As
Related CVEs
- CVE-2026-33309CRITICAL
- CVE-2026-33017CRITICAL
Unauthenticated Remote Code Execution in Langflow via Public Flow Build Endpoint
- CVE-2026-10561CRITICAL
Langflow: PythonREPLComponent executes unsandboxed Python code, enabling authenticated RCE and privilege escalation
- CVE-2026-8505CRITICAL
Langflow: Unauthenticated Flow Execution via Webhook Authentication Bypass
- CVE-2026-105697CRITICAL
Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
- CVE-2026-105697CRITICAL
Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
- CVE-2026-105697CRITICAL
Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
- CVE-2026-21445HIGH
Langflow Missing Authentication on Critical API Endpoints