Skip to content
RedCVE

CVE-2025-34291Langflow CORS misconfiguration enabling account takeover

ExploitedLangflowPublished:

CVSS score

9.4

Critical

CVSS 4.0 from vulncheck.com

Exploit probability (EPSS)

93.2%

93.2% chance of exploitation in the next 30 days, higher than 99.8% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 21 May 2026.

US federal deadline to fix: 4 Jun 2026.

In plain words

A malicious webpage can make a logged-in user's browser request fresh session tokens from Langflow, because its CORS policy trusts any origin and the refresh cookie is sent cross-site. With those tokens, an attacker can reach authenticated features, including built-in code execution, and take over the system. Versions up to and including 1.6.9 are affected, and CISA reports active exploitation. No vendor patch reference is listed yet, so apply the vendor mitigations or stop using Langflow until a fix is confirmed.

Official description

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.

Source: NVD · CNA: disclosure@vulncheck.com

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 21 May 2026.

    US federal agencies must fix it by 4 Jun 2026. It's a sensible deadline for everyone else too.

    CISA's full instruction
    Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
  2. Check whether you're affected

    Find every system running Langflow and compare its version with the affected versions.

  3. Apply the vendor's fix

    The official record doesn't name a fixed version. The vendor's advisory describes the fix:

  4. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected products

Affected productsVersions
Langflow Langflow≤ 1.6.9

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2025-34291 being exploited?

Yes. CISA added CVE-2025-34291 to its Known Exploited Vulnerabilities catalog on 21 May 2026, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 93.2% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2025-34291?

CVE-2025-34291 has a CVSS 4.0 base score of 9.4 (critical).

Which versions are affected?

Langflow Langflow (≤ 1.6.9)

Is there a patch for CVE-2025-34291?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.