CVE-2025-34291: Langflow Origin Validation Error Vulnerability

In short

CVE-2025-34291 is a vulnerability in Langflow Langflow that attackers are exploiting. 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… CISA added it to its Known Exploited Vulnerabilities catalog on 21 May 2026, and US federal agencies had to fix it by 4 Jun 2026. CISA has not linked it to ransomware campaigns.

What is CVE-2025-34291?

CISA describes it as: 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.

Weakness: CWE-346.

Is CVE-2025-34291 being exploited?

Yes. CISA adds a vulnerability to the catalog only when it has evidence of exploitation in the wild, and it added CVE-2025-34291 on . CISA has not linked it to ransomware campaigns.

FIRST's EPSS model puts the chance of exploitation in the next 30 days at 15%, higher than 97% of scored CVEs (as of 29 Nov 2026).

How severe is CVE-2025-34291?

NVD scores it 9.4 (critical) on CVSS 4.0. CVSS measures how bad a flaw is; EPSS and the KEV listing say how likely it is to be used.

How do you fix CVE-2025-34291?

CISA's 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.

Vendor guidance: github.com, github.com, github.com.

US federal agencies had until . For everyone else that date is a ceiling, not a target.

Which versions are affected?

CISA's catalog does not list version numbers. The vendor advisory and the NVD record list the affected and fixed versions.

Sources

  1. CISA Known Exploited Vulnerabilities catalog: CVE-2025-34291
  2. NIST National Vulnerability Database: CVE-2025-34291
  3. CVE record
  4. FIRST Exploit Prediction Scoring System (EPSS)
  5. github.com
  6. github.com
  7. github.com

Data last updated · Compiled by Rokkhe Research from CISA, FIRST and NVD. This page uses the NVD API and is not endorsed or certified by the NVD.

Put your attack surface on the record.

Agree the scope, see a real finding, leave with a quote.

Scope approved first. Evidence with every finding.