{"description":"Trending threats, MITRE ATT\u0026CK coverage, and detection metadata. Fed continuously.","favicon":"https://feed.craftedsignal.io/favicon-32x32.png","feed_url":"https://feed.craftedsignal.io/tags/cve-2025-34291/feed.json","home_page_url":"https://feed.craftedsignal.io/","icon":"https://feed.craftedsignal.io/apple-touch-icon.png","items":[{"_cs_actors":[],"_cs_cpes":["cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*"],"_cs_cves":[{"cvss":8.8,"id":"CVE-2025-34291"}],"_cs_exploited":true,"_cs_has_poc":true,"_cs_poc_references":["https://sploitus.com/exploit?id=5AB85FC2-7A7B-5CF1-ABF2-AC44C5026986\u0026utm_source=rss\u0026utm_medium=rss"],"_cs_products":["Langflow","Langflow \u003c 1.3.5"],"_cs_severities":["critical"],"_cs_tags":["cve-2025-34291","cors","csrf","langflow","cloud","origin validation"],"_cs_type":"threat","_cs_vendors":["Langflow","Palo Alto Networks"],"content_html":"\u003ch2 id=\"overview\"\u003eOverview\u003c/h2\u003e\n\u003cp\u003eLangflow is vulnerable to an origin validation error (CVE-2025-34291) stemming from a misconfiguration of Cross-Origin Resource Sharing (CORS). This, combined with the use of a refresh token cookie lacking proper SameSite restrictions (SameSite=None), allows attackers to bypass standard browser security mechanisms.  A malicious actor can craft a webpage that, when visited by an authenticated Langflow user, can make unauthorized cross-origin requests to the Langflow server. This vulnerability allows an attacker to call the refresh endpoint and obtain tokens to access authenticated endpoints. The attacker can then leverage these tokens to perform actions as the compromised user, potentially leading to complete system compromise and data exfiltration. This vulnerability affects installations of Langflow prior to version 1.9.3.\u003c/p\u003e\n\u003ch2 id=\"attack-chain\"\u003eAttack Chain\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eAttacker identifies a Langflow instance with a vulnerable CORS configuration and SameSite=None refresh token cookie.\u003c/li\u003e\n\u003cli\u003eAttacker crafts a malicious webpage designed to exploit the CORS misconfiguration.\u003c/li\u003e\n\u003cli\u003eThe attacker distributes the malicious webpage via phishing or other social engineering tactics.\u003c/li\u003e\n\u003cli\u003eVictim, an authenticated Langflow user, visits the malicious webpage.\u003c/li\u003e\n\u003cli\u003eThe malicious webpage executes JavaScript code that initiates a cross-origin request to the Langflow server, including the refresh token cookie.\u003c/li\u003e\n\u003cli\u003eDue to the permissive CORS policy and missing SameSite attribute, the Langflow server processes the request and returns a valid access token to the malicious webpage.\u003c/li\u003e\n\u003cli\u003eThe attacker uses the obtained access token to access authenticated endpoints on the Langflow server, performing actions as the compromised user.\u003c/li\u003e\n\u003cli\u003eThe attacker leverages the compromised access to execute arbitrary code and gain full system compromise, potentially exfiltrating sensitive data.\u003c/li\u003e\n\u003c/ol\u003e\n\u003ch2 id=\"impact\"\u003eImpact\u003c/h2\u003e\n\u003cp\u003eSuccessful exploitation of CVE-2025-34291 can lead to complete compromise of a Langflow installation. An attacker can gain unauthorized access to sensitive data, execute arbitrary code on the server, and potentially pivot to other systems within the network. The lack of proper origin validation makes Langflow instances highly susceptible to cross-site request forgery (CSRF) attacks, where authenticated users are tricked into performing actions without their knowledge or consent. This could affect any Langflow deployment, including cloud-based and on-premise installations.\u003c/p\u003e\n\u003ch2 id=\"recommendation\"\u003eRecommendation\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003eApply the mitigations as documented in the vendor advisory (\u003ca href=\"https://github.com/langflow-ai/langflow\"\u003ehttps://github.com/langflow-ai/langflow\u003c/a\u003e).\u003c/li\u003e\n\u003cli\u003eUpgrade Langflow to version 1.9.3 or later, which addresses the CORS misconfiguration (\u003ca href=\"https://github.com/langflow-ai/langflow/releases/tag/v1.9.3\"\u003ehttps://github.com/langflow-ai/langflow/releases/tag/v1.9.3\u003c/a\u003e).\u003c/li\u003e\n\u003cli\u003eImplement stricter CORS policies to restrict cross-origin requests to only trusted domains.\u003c/li\u003e\n\u003cli\u003eConfigure refresh token cookies with the \u003ccode\u003eSameSite=Strict\u003c/code\u003e or \u003ccode\u003eSameSite=Lax\u003c/code\u003e attribute to prevent them from being sent with cross-origin requests.\u003c/li\u003e\n\u003cli\u003eDeploy the Sigma rule \u003ccode\u003eDetect Langflow CVE-2025-34291 Exploitation Attempt via Malicious Referer\u003c/code\u003e to identify potential exploitation attempts based on the Referer header.\u003c/li\u003e\n\u003cli\u003eApply applicable BOD 22-01 guidance for cloud services as recommended by CISA.\u003c/li\u003e\n\u003c/ul\u003e\n","date_modified":"2026-11-19T22:16:04Z","date_published":"2026-05-21T18:58:51Z","id":"https://feed.craftedsignal.io/briefs/2026-05-langflow-cors/","summary":"Langflow contains an origin validation error vulnerability (CVE-2025-34291) due to an overly permissive CORS configuration combined with a refresh token cookie configured as SameSite=None, allowing malicious webpages to perform cross-origin requests and potentially leading to arbitrary code execution and full system compromise.","title":"Langflow Origin Validation Error Vulnerability (CVE-2025-34291)","url":"https://feed.craftedsignal.io/briefs/2026-05-langflow-cors/"}],"language":"en","title":"CraftedSignal Threat Feed - Cve-2025-34291","version":"https://jsonfeed.org/version/1.1"}