# Langflow Langflow: Langflow Origin Validation Error Vulnerability · pwn.watch > Langflow contains an origin validation error vulnerability in which an overly permissive CORS configuration combined with a refresh token cookie configured as SameSite=None allows a malicious webpage to perform cross-origin requests that include credentials and successfully call the refresh endpoint. This could allow the attacker to execute arbitrary code and achieve full system compromise via obtained tokens that permit access to authenticated endpoints. Added to CISA KEV on 2026-05-21. Page: https://pwn.watch/i/langflow-langflow-cve-2025-34291 · generated 2026-12-06T19:58:06.567Z ## Status - Severity: high · status: closed · patch: patched - Product: Langflow Langflow - Started: 2026-05-21 · closed: 2026-05-21 - CVEs: CVE-2025-34291 - Affected: See vendor advisory / CISA notes (versions not always listed in KEV feed) - Fixed in: See vendor advisory linked in sources ## Follow this incident - RSS (one item per update): https://pwn.watch/i/langflow-langflow-cve-2025-34291/feed.xml - JSON Feed: https://pwn.watch/i/langflow-langflow-cve-2025-34291/feed.json - Full data (timeline, sources, posts, agentBrief): https://pwn.watch/i/langflow-langflow-cve-2025-34291.json - This file: https://pwn.watch/i/langflow-langflow-cve-2025-34291/llms.txt ## Updates (newest first) - 2026-05-21: CISA added CVE-2025-34291 to the KEV catalog (due 2026-06-04). ## Fix brief # Security brief: Langflow Langflow: Langflow Origin Validation Error Vulnerability Source: https://pwn.watch/i/langflow-langflow-cve-2025-34291 · status: closed (closed May 21, 2026) · severity: high · updated May 21, 2026 ## Patch status **PATCHED: fixed releases exist. Upgrade to a fixed version.** ## What it is Langflow contains an origin validation error vulnerability in which an overly permissive CORS configuration combined with a refresh token cookie configured as SameSite=None allows a malicious webpage to perform cross-origin requests that include credentials and successfully call the refresh endpoint. This could allow the attacker to execute arbitrary code and achieve full system compromise via obtained tokens that permit access to authenticated endpoints. Added to CISA KEV on 2026-05-21. Severity detail: Actively exploited (CISA KEV) - Product: Langflow Langflow - CVE / advisory ids: CVE-2025-34291 ## Affected versions - See vendor advisory / CISA notes (versions not always listed in KEV feed) ## Check whether you're affected No generic command applies (the product is a hosted service, appliance or desktop app). Check the installed version in its admin UI / About screen and compare with the versions above. ## Fix Upgrade to one of these fixed versions (or later on the same branch): - See vendor advisory linked in sources After upgrading, re-run the checks above and redeploy/restart the affected services. ## Secrets to rotate This incident involves possible credential exposure. Rotate any credentials (API keys, tokens, env vars, SSH keys) that were present on affected systems or in affected builds while vulnerable/compromised versions were installed, and review access logs. ## Latest updates - May 21, 2026: CISA added CVE-2025-34291 to the KEV catalog (due 2026-06-04). ## Advisories - [NVD: CVE-2025-34291](https://nvd.nist.gov/vuln/detail/CVE-2025-34291) (NVD) - [CISA Known Exploited Vulnerabilities Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog) (CISA) ## Write-ups & news - [Langflow Langflow — CVE-2025-34291](https://github.com/langflow-ai/langflow) ## Caveats Derived from CISA KEV JSON feed catalogVersion 2026.10.21. Exact affected/fixed version strings are not always in the KEV record — verify against the vendor advisory URL. startedAt uses dateAdded (exploitation may have begun earlier). --- Machine-readable: https://pwn.watch/i/langflow-langflow-cve-2025-34291.json · all incidents: https://pwn.watch/incidents.json. Verify against the vendor advisory before changing production systems.