Langflow versions prior to 1.3.0 are susceptible to code injection in the /api/v1/validate/code endpoint.
CVE-2025-3248 Exploited
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.
Being exploited in the wild
Catalogued 5 May 2025 · US federal remediation deadline 26 May 2025 · Known use in ransomware campaigns
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Exploit code is also public: Metasploit · Exploit-DB · Public PoC · Nuclei template
- Metasploitexploit/multi/http/langflow_unauth_rce_cve_2025_3248
- Exploit-DBLangflow 1.3.0 - Remote Code Execution (RCE)
- Exploit-DBLangflow 1.2.x - Remote Code Execution (RCE)
- NucleiLangflow AI - Unauthenticated Remote Code Execution
- Public PoCynsmroztas/CVE-2025-3248-Langflow-RCE18 stars
- Public PoCxuemian168/CVE-2025-324812 stars
- Public PoCverylazytech/CVE-2025-324810 stars
- Public PoC0-d3y/langflow-rce-exploit7 stars
- Public PoChideki233/CVE-2025-3248-Langflow-RCE4 stars
- Public PoCPuddinCat/CVE-2025-3248-POC3 stars
- Public PoCdennisec/Mass-CVE-2025-32483 stars
- Public PoCEQSTLab/CVE-2025-32483 stars
Part of the AI stack
This affects Langflow, in Agent frameworks.
Assessment
- CVSS
- 9.8 (v3.1)
- Severity
- Critical
- EPSS
- 99.99% chance of exploitation in the next 30 days
- Known exploited
- Yes — listed in the CISA KEV catalog
- Exploit availability
- CISA KEV, Metasploit, Exploit-DB, Public PoC, Nuclei template
- Published
- 7 April 2025
- Last updated
- 27 October 2026
- Affected
- Langflow · langflow-ai · Langflow · langflow · langflow · langflow-base
- Weakness
- CWE-306, CWE-94
- Assigner
- disclosure@vulncheck.com
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
At the source
References
- 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
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-rvqx-wpfh-mfx7
- https://nvd.nist.gov/vuln/detail/CVE-2025-3248
- https://github.com/langflow-ai/langflow/commit/faac4db133de32fcb6d483fa9ff52f40ce42bdc0
- https://www.horizon3.ai/attack-research/disclosures/unsafe-at-any-speed-abusing-python-exec-for-unauth-rce-in-langflow-ai
- https://github.com/pypa/advisory-database/tree/main/vulns/langflow-base/PYSEC-2026-380.yaml
- https://pypi.org/project/langflow-base
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2025-3248