Sovra Recon·Actively exploited

CVE-2025-34291Langflow Origin Validation Error Vulnerability

At a glance

CVE-2025-34291 is a critical-severity vulnerability (CVSS score 9.4) affecting Langflow (Langflow). CISA has confirmed that attackers have been exploiting it since May 21, 2026.

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.

Details

The vulnerability in detail

CVE ID
CVE-2025-34291
Vendor
Langflow
Product
Langflow
Severity (CVSS)
Critical · 9.4 / 10
Published
December 6, 2025
Actively exploited
Yes, confirmed by CISA on May 21, 2026
Used in ransomware
Not reported
Weakness type (CWE)
CWE-346

What to do

How to protect against CVE-2025-34291

  • Check whether you are affected: identify the installed versions of the product and compare them with the vendor's security advisory.
  • Apply the vendor's patch as a priority on Internet-facing systems, since this vulnerability is already being exploited.
  • If no patch is available, apply the published workarounds or take the service off the Internet.
  • Look for signs of compromise: a vulnerability exploited before you patched may already have been used. Review your logs and the indicators published by the vendor.

Sources

Official descriptions from NVD and CISA, in their original wording.

Patching a CVE is not enough.

The vulnerabilities specific to your application have no CVE. Our AI agents hunt for them by actually attacking your systems.