Home / Langflow / Langflow / CVE-2025-34291
CVE-2025-34291: is it exploited, and which versions of Langflow are affected and fixed?
CVE-2025-34291 is an origin not validated vulnerability in Langflow, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on May 21, 2026, with a federal due date of June 4, 2026. Affected: langflow before 1.7.0 (GitHub advisory GHSA-577h-p2hh-v4mv). Fixed in 1.7.0 (GitHub advisory GHSA-577h-p2hh-v4mv). Severity: Critical (9.4, CVSS 4.0, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-34291?
Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE
Langflow versions up to and including 1.6.9 contain a chained vulnerability that enables account takeover and remote code execution. An overly permissive CORS configuration (allow_origins='*' with allow_credentials=True) 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. An attacker-controlled origin can therefore obtain fresh access_token / refresh_token pairs for a victim session. Obtained tokens permit access to authenticated endpoints — including built-in code-execution functionality — allowing the attacker to execute arbitrary code and achieve full system compromise.
From the CVE record by VulnCheck, last updated October 8, 2026, 15:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Langflow | Langflow | through 1.6.9 |
As the CVE record by VulnCheck states it, last updated October 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | langflow | < 1.7.0 | 1.7.0 | GHSA-577h-p2hh-v4mv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 29, 2026. Summary: Langflow CORS misconfiguration enables Account Takeover and RCE.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| langflow | langflow | through 1.6.9 | application |
NVD analysis (status Analyzed), last modified October 15, 2026, 21:10 UTC.
How severe is CVE-2025-34291?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.4 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | VulnCheck |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-34291 exploited in the wild?
- CISA KEV
- Listed as Langflow Origin Validation Error Vulnerability, added May 21, 2026; federal agencies must act by June 4, 2026
- Required action
- Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Ransomware use
- Unknown
- CISA's summary
- 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.
- CISA SSVC
- Exploitation: active; automatable: no; technical impact: total (CISA ADP, May 21, 2026)
- EPSS
- 93.7% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-346 Origin Validation Error
Where are the vendor advisories and references?
- https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform technical-description, exploit
- https://github.com/langflow-ai/langflow product
- https://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce third-party-advisory
- https://www.crowdsec.net/vulntracking-report/cve-2025-34291 third-party-advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291 government-resource
Who found and reported it?
- Fenix Qiao (aka 13ph03nix) from Obsidian Security (finder)
- Shuyang Wang from Obsidian Security (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 15, 2025
- Published
- December 5, 2025, 22:27 UTC
- CVE record updated
- October 8, 2026, 15:21 UTC by VulnCheck
- NVD
- Analyzed, last modified October 15, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Langflow?
- Jan 23, 2026CVE-2026-0770 Langflow: inclusion of code from an untrusted source exploited
- Jan 23, 2026CVE-2026-0772 Langflow: deserialization of untrusted data
- Jan 23, 2026CVE-2026-0771 Langflow: code injection (remote code execution)
- Jan 23, 2026CVE-2026-0769 Langflow: code injection through eval
- Jan 23, 2026CVE-2026-0768 Langflow: code injection (remote code execution)
- Nov 4, 2024CVE-2024-48061 Langflow: code injection (remote code execution)
- Oct 31, 2024CVE-2024-42835 Langflow: n/a
- Sep 27, 2024CVE-2024-9277 Langflow: regular expression denial of service (ReDoS)
Questions about CVE-2025-34291
Is CVE-2025-34291 exploited in the wild?
Yes. CISA added CVE-2025-34291 to its Known Exploited Vulnerabilities catalog on May 21, 2026 and set federal agencies a due date of June 4, 2026. FIRST's EPSS gives it a 93.7% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Langflow are affected by CVE-2025-34291?
langflow before 1.7.0, per the GitHub advisory GHSA-577h-p2hh-v4mv. The tables above give every range the sources list.
Which version fixes CVE-2025-34291?
1.7.0, per the GitHub advisory GHSA-577h-p2hh-v4mv. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-34291?
Critical (9.4, CVSS 4.0, from VulnCheck). The severity table above shows each score with its source.
Where is the official record of CVE-2025-34291?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.