id: CVE-2025-34291 info: name: "Langflow - Remote Code Execution" author: vedas-arpsyndicate severity: critical 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. reference: - https://www.exploit.observer/?keyword=CVE-2025-34291&match=exact - https://subdomain.center/?engine=ammonites&keyword=langflow&match=exact classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H cvss-score: 9.4 cve-id: CVE-2025-34291 cwe-id: CWE-942 metadata: verified: false tags: cve,cve2025,langflow,cors,misconfig,vuln,oss,vkev,kev flow: http(1) && http(2) http: - raw: - | GET / HTTP/1.1 Host: {{Hostname}} matchers: - type: word part: body words: - "Langflow" internal: true - raw: - | OPTIONS /api/v1/refresh HTTP/1.1 Host: {{Hostname}} Origin: https://scanme.sh Access-Control-Request-Method: POST Access-Control-Request-Headers: content-type matchers-condition: and matchers: - type: word part: header words: - "Access-Control-Allow-Origin: https://scanme.sh" - "Access-Control-Allow-Credentials: true" condition: and - type: status part: header status: - 200