SB2026052629 - CORS misconfiguration leading to RCE in Langflow



SB2026052629 - CORS misconfiguration leading to RCE in Langflow

Published: May 26, 2026

Security Bulletin ID SB2026052629
CSH Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Overly permissive cross-domain whitelist (CVE-ID: CVE-2025-34291)

CWE-ID: CWE-942 - Overly Permissive Cross-domain Whitelist

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber


The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to improper access control in the CORS configuration and refresh token handling when processing cross-origin requests with credentials. A remote attacker can host a malicious webpage that triggers credentialed requests to obtain fresh session tokens and use authenticated code-execution functionality to execute arbitrary code.

User interaction is required to visit an attacker-controlled webpage while authenticated to the application.


Remediation

Install update from vendor's website.