CVE-2025-3248: Langflow Vulnerable to Code Injection via the `/api/v1/validate/code` endpoint
(updated )
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.
References
- github.com/advisories/GHSA-c995-4fw3-j39m
- github.com/langflow-ai/langflow
- github.com/langflow-ai/langflow/pull/6911
- github.com/langflow-ai/langflow/releases/tag/1.3.0
- nvd.nist.gov/vuln/detail/CVE-2025-3248
- www.horizon3.ai/attack-research/disclosures/unsafe-at-any-speed-abusing-python-exec-for-unauth-rce-in-langflow-ai
Code Behaviors & Features
Detect and mitigate CVE-2025-3248 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →