This vulnerability is being actively exploited in the wild, according to the CISA Known Exploited Vulnerabilities catalog. CISA added it on .
CVE-2025-34291: Langflow account takeover and remote code execution via CORS and refresh token
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-34291
- Published
- Record updated
- Affected
- langflow <= 1.6.9
- Fixed in
- 1.7.0
- released December 18, 2025, 12 days after disclosure
- EPSS
- 92.8%
Summary
Langflow versions up to and including 1.6.9 contain a chained flaw tracked as CVE-2025-34291. An overly permissive CORS configuration (allow_origins='*' with allow_credentials=True) combined with a refresh token cookie set to SameSite=None lets a malicious webpage call the refresh endpoint with the victim's credentials. The attacker obtains fresh access_token and refresh_token pairs, which grant access to authenticated endpoints, including built-in code-execution functionality, enabling arbitrary code execution and full system compromise.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- langflowPyPIReaches an LLM package through dependencies
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online