Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-34291

CRITICAL 9.4ExploitedPoCEPSS 97%

Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE

Also known as GHSA-577h-p2hh-v4mv, PYSEC-2025-78

Mitigation

  • Upgrade langflow to 1.7.0 or later.

Who should check

  • Projects that depend on PyPI package langflow (< 1.7.0)
  • Anyone running Langflow <= 1.6.9

Vulnerability facts

Affected
langflow < 1.7.0
Fixed in
1.7.0
Exploited in the wild
Yes: in CISA KEV since 2026-05-21; federal due date 2026-06-04
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
9.4 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: Passive
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: High
  • Integrity impact on other systems: High
  • Availability impact on other systems: High
EPSS
14.54% chance of exploitation in 30 days (percentile 97, 2026-11-26)
CWE
CWE-346
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI langflow< 1.7.01.7.0osv
Langflow<= 1.6.9—cvelist

Timeline

  1. 2025-12-05 Published
  2. 2026-05-21 Added to CISA KEV (exploited in the wild)
  3. 2026-06-04 CISA remediation due date for US federal agencies
  4. 2026-10-15 Last modified

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-34291. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-34291.md
Affected: langflow < 1.7.0
Fixed in: 1.7.0

Steps:
1. Search this machine and project for langflow (PyPI), Langflow: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-34291 being exploited?

Yes. CISA lists CVE-2025-34291 in its Known Exploited Vulnerabilities catalog since 2026-05-21, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 14.54% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-34291?

Critical: CVSS 9.4 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2025-34291?

langflow < 1.7.0.

Is there a fix for CVE-2025-34291?

Yes. Fixed in 1.7.0. Upgrade langflow to 1.7.0 or later.

How do I check if I'm affected by CVE-2025-34291?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors