PoC Monitor
← All CVEs
CVE-2025-34291published 5 Dec 2025 22:27 UTCData: JSON · API

Langflow

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.

First public PoC Date pendingpublic PoC known, its date not yet looked up
Public PoCs10 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.4critical · scored by CNA · CWE-346
CISA KEV 21 May 2026167 days after publication

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

Langflow Langflow
  • <= 1.6.9
langflow (PyPI)
  • < 1.7.0

Fixed in 1.7.0

from GitHub Security Advisory GHSA-577h-p2hh-v4mv

Mitigation

Upgrade langflow to 1.7.0 or later.

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150CVE published5 Dec 2025 · t = 0Added to CISA KEV21 May 2026 · t+167d

Public PoC known, its date not yet looked up; added to CISA KEV 167 days after publication.

PoC repositories

Found on GitHub.

2 pending

Pending 2
RepositoryCreatedStarsAssessment
amnnrth/CVE-2025-34291_cors_security_scanner 18 May 2026 +164 d 0 Pending · mkdir /quarantine/amnnrth__CVE-2025-34291_cors_security_scanner-33c0cc93bf2d: permission denied
ridhinva/langflow-cors-scanner 22 May 2026 +168 d 0 Pending · mkdir /quarantine/ridhinva__langflow-cors-scanner-0580da5264a6: permission denied

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.