CVE-2025-34291
HIGH KEV NUCLEILangflow <= 1.6.9 - Account Takeover and Remote Code Execution via CORS Misconfiguration
Title source: llmExploitation Summary
CVE-2025-34291 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added May 21, 2026. EIP tracks 2 public exploits from researchers including ridhinva, amnnrth. A Nuclei detection template is also available.
AI-analyzed exploit summary The repository contains a Python-based scanner for detecting potential exposure to CVE-2025-34291, a CORS misconfiguration vulnerability in Langflow. It checks for accessible endpoints but does not exploit the vulnerability.
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.
Exploits (2)
The repository contains a Python-based scanner for detecting potential exposure to CVE-2025-34291, a CORS misconfiguration vulnerability in Langflow. It checks for accessible endpoints but does not exploit the vulnerability.
This repository contains a Python-based scanner for detecting CORS misconfigurations, including wildcard policies, origin reflection, and credentialed CORS issues. It does not exploit CVE-2025-34291 but scans for potential vulnerabilities.
Nuclei Templates (1)
html:"Langflow"
body="Langflow"
References (5)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H