DEV Community

Cover image for CVE-2025-34291: Langflow Origin Validation Error Vulnerability
Freedom Coder
Freedom Coder

Posted on • Originally published at scyscan.com

CVE-2025-34291: Langflow Origin Validation Error Vulnerability

CVE ID

CVE-2025-34291

Vulnerability Name

Langflow Origin Validation Error Vulnerability

  • Project: Langflow
  • Product: Langflow

Date

  • Date Added: 2026-05-21
  • Due Date: 2026-06-04

Description

Langflow contains an origin validation error vulnerability in which an overly permissive CORS configuration 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. This could allow the attacker to execute arbitrary code and achieve full system compromise via obtained tokens that permit access to authenticated endpoints.

Known To Be Used in Ransomware Campaigns?

Unknown

Action

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Additional Notes

This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://github.com/langflow-ai/langflow ; https://github.com/langflow-ai/langflow/releases/tag/v1.9.3; https://github.com/langflow-ai/langflow/issues/11465#event-25774545848 ; https://nvd.nist.gov/vuln/detail/CVE-2025-34291

Related Security News

More CVEs Info

Common Vulnerabilities & Exposures (CVE) List

Top comments (0)