Session hijacking and code execution via credentialed CORS
Published Dec 5, 2025 · Updated Jul 14, 2026
Origin validation errors in Langflow 1.6.9 and earlier allow remote attackers to hijack sessions and execute code through a malicious webpage. The /api/v1/refresh endpoint trusts a SameSite=None refresh_token_lf cookie while wildcard CORS permits credentialed cross-origin reads, exposing fresh access and refresh tokens to an attacker-controlled origin. A victim must have an active session and visit the malicious page; the stolen access token reaches authenticated code-validation functionality with server-process privileges.
Summary
What happened
Origin validation errors in Langflow 1.6.9 and earlier allow remote attackers to hijack sessions and execute code through a malicious webpage. The /api/v1/refresh endpoint trusts a SameSite=None refresh_token_lf cookie while wildcard CORS permits credentialed cross-origin reads, exposing fresh access and refresh tokens to an attacker-controlled origin. A victim must have an active session and visit the malicious page; the stolen access token reaches authenticated code-validation functionality with server-process privileges.
The record
- CVE
- CVE-2025-34291
- Published
- Dec 5, 2025
- Updated
- Jul 14, 2026
- Vendor
- Langflow
- Product
- Langflow
- Classifications
- CWE-346, T1189, T1078
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 5, 2025CVE publishedPublication date reported by the CVE source.
- Jul 14, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=1.6.9
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Browser-based Langflow CORS token-hijacking PoCfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities Catalog listingknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo