—
PYSEC-2026-380
Langflow Unauth RCE
Quick fix
PYSEC-2026-380 — langflow-base: upgrade to the fixed version with the command below.
pip install --upgrade 'langflow-base>=0.3.0'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-rvqx-wpfh-mfx7[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-3248[ADVISORY]
- https://github.com/langflow-ai/langflow/pull/6911[WEB]
- https://github.com/langflow-ai/langflow/commit/faac4db133de32fcb6d483fa9ff52f40ce42bdc0[WEB]
- https://github.com/langflow-ai/langflow[PACKAGE]
- https://github.com/langflow-ai/langflow/releases/tag/1.3.0[WEB]
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-3248[WEB]
- https://www.horizon3.ai/attack-research/disclosures/unsafe-at-any-speed-abusing-python-exec-for-unauth-rce-in-langflow-ai[WEB]
- https://www.vulncheck.com/advisories/langflow-unauthenticated-rce[WEB]
- https://pypi.org/project/langflow-base[PACKAGE]
- https://github.com/advisories/GHSA-rvqx-wpfh-mfx7[ADVISORY]