Read the docs
TI-2025-24427 Aliases CVE-2025-34291GHSA-577h-p2hh-v4mv

Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE

Priority CRITICAL 100Exploited in the wildCWE-346Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-346.

Summary

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.

Why it matters now

Exploitation Active In CISA KEV since 2026-05-21CISA due date 2026-06-04
EPSS 0.93216 99th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA and NVD
Fix Fixed langflow (PyPI): 1.7.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Active
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
LangflowLangflowup to 1.6.9—No fix listedCNA
—langflow (PyPI)before 1.7.01.7.0Patch availableGHSA-577h-p2hh-v4mv
  • Langflow VendorLangflow Affected up to 1.6.9 Fixed in — No fix listed CNA
  • langflow (PyPI) Vendor— Affected before 1.7.0 Fixed in 1.7.0 Patch available GHSA-577h-p2hh-v4mv

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*up to 1.6.9VulnerableLangflow
  • cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:* Versions up to 1.6.9 Vulnerable ·Langflow

Remediation

  • Fix · GHSA-577h-p2hh-v4mv langflow (PyPI) Fixed in 1.7.0 Advisory →

Timeline

  1. 2026-05-21 Added to CISA KEV
  2. 2026-10-02 Threatist record created from CVE-2025-34291
  3. 2026-10-03 Alias added: GHSA-577h-p2hh-v4mv

References

  • TI-2026-08085 Unauthenticated Remote Code Execution via Auto-Login Bypass and Code Validation KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-00553 Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote… KEVCVSS 3.0CRITICAL 9.8
  • TI-2025-02845 Langflow < 1.3.0 Unauthenticated RCE via /api/v1/validate/code KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-25463 Langflow has Unauthenticated Remote Code Execution via Public Flow Build Endpoint KEVCVSS 4.0CRITICAL 9.3
  • TI-2026-39928 Authorization bypass in langflow KEVCVSS 3.1HIGH 8.4
  • TI-2026-22309 Langflow has Remote Code Execution in CSV Agent CVSS 3.1CRITICAL 9.8
See all 216 →

Sources